Ignore None to Subprocess_Commands (#2680)

Ignores none params when building the subprocess_command for vllm. As none values stop vllm from deploying properly, as --quantize will be passed with none if quantization type isn't specified in the model name.
This commit is contained in:
Salpingopharyngeus 2025-06-05 01:25:12 -07:00 committed by GitHub
commit 5cd191b520

View file

@ -97,6 +97,9 @@ class SyntheticDataKit:
elif which == "False":
# Ignore flag
pass
elif which == "None":
# Ignore flag
pass
else:
subprocess_commands += ["--" + flag, which,]
pass