From bcaec30e8208fd991f25307d0e813673c25a21c7 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Tue, 29 Apr 2025 23:53:13 -0700 Subject: [PATCH] Update synthetic.py --- unsloth/dataprep/synthetic.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/unsloth/dataprep/synthetic.py b/unsloth/dataprep/synthetic.py index 8fcbc1bef1..f76e170c59 100644 --- a/unsloth/dataprep/synthetic.py +++ b/unsloth/dataprep/synthetic.py @@ -71,9 +71,12 @@ def async_load_vllm( for key, value in engine_args.items(): flag = "--" + key.replace("_", "-") which = str(value).lower().replace("torch.", "") - subprocess_commands += [flag, which,] + if which == "true" or which == "false": + # Ignore --enforce-eager True / False + subprocess_commands += [flag,] + else: + subprocess_commands += [flag, which,] pass - print(subprocess_commands) vllm_process = subprocess.Popen( subprocess_commands, stdout = subprocess.PIPE,