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:
parent
e160305b66
commit
5cd191b520
1 changed files with 3 additions and 0 deletions
|
|
@ -97,6 +97,9 @@ class SyntheticDataKit:
|
|||
elif which == "False":
|
||||
# Ignore flag
|
||||
pass
|
||||
elif which == "None":
|
||||
# Ignore flag
|
||||
pass
|
||||
else:
|
||||
subprocess_commands += ["--" + flag, which,]
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue