worker fix: float16 in server DTYPE map (GPU pods); tarball refresh

This commit is contained in:
E committed 2026-10-01 09:41:32 -04:00
1 parent 09a2b35740
commit 695bd890b0
3 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -19,7 +19,8 @@ from fastapi.responses import StreamingResponse, JSONResponse
MODEL_ID = os.environ.get("CHAMBER_MODEL", "Qwen/Qwen3-4B")
LAYER = int(os.environ.get("CHAMBER_LAYER", "18"))
DTYPE = {"float32": torch.float32, "bfloat16": torch.bfloat16}[
DTYPE = {"float32": torch.float32, "bfloat16": torch.bfloat16,
"float16": torch.float16}[
os.environ.get("CHAMBER_DTYPE", "bfloat16")]
DEVICE = os.environ.get("CHAMBER_DEVICE", "cpu")
MAX_NEW = int(os.environ.get("CHAMBER_MAX_NEW", "110"))