Skip to content

Commit 9560258

Browse files
authored
Fix
1 parent 05c8a51 commit 9560258

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/mmirage/core/process/processors/llm

src/mmirage/core/process/processors/llm/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class SGLangServerArgs:
2828
"""
2929

3030
model_path: str = "none"
31-
tp_size: int = field(default_factory=lambda: os.environ.get("SLURM_GPUS_ON_NODE") or 1)
31+
tp_size: int = field(default_factory=lambda: int(os.environ.get("SLURM_GPUS_ON_NODE") or 1))
3232
trust_remote_code: bool = True
3333
disable_custom_all_reduce: bool = False
3434

0 commit comments

Comments
 (0)