Skip to content

Commit 613bcf9

Browse files
matthambrechtMatthew Hambrecht
andauthored
fix: enable_sleep_mode -> vllm_enable_sleep_mode (#3225)
Co-authored-by: Matthew Hambrecht <[email protected]>
1 parent 383f220 commit 613bcf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/axolotl/core/trainers/grpo/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def set_training_args_kwargs(cls, cfg: DictDefault) -> dict[str, Any]:
5252
if trl.vllm_mode:
5353
grpo_args_kwargs["vllm_mode"] = trl.vllm_mode
5454
if trl.vllm_mode == "colocate":
55-
grpo_args_kwargs["enable_sleep_mode"] = trl.vllm_enable_sleep_mode # type: ignore[attr-defined]
55+
grpo_args_kwargs["vllm_enable_sleep_mode"] = trl.vllm_enable_sleep_mode # type: ignore[attr-defined]
5656
grpo_args_kwargs["vllm_gpu_memory_utilization"] = (
5757
vllm_cfg.gpu_memory_utilization
5858
)

0 commit comments

Comments
 (0)