[CI/Build] Fix tensorizer test for load_format change (#22583)

Signed-off-by: 22quinn <33176974+22quinn@users.noreply.github.com>
This commit is contained in:
22quinn
2025-08-10 19:30:00 -07:00
committed by GitHub
parent 06da44f0cb
commit b799f4b9ea
3 changed files with 3 additions and 4 deletions

View File

@@ -166,7 +166,7 @@ def test_load_without_tensorizer_load_format(vllm_runner, capfd, model_ref):
combined_output = out + err
assert ("ValueError: Model loader extra config "
"is not supported for load "
"format LoadFormat.AUTO") in combined_output
"format auto") in combined_output
finally:
del model
gc.collect()
@@ -186,7 +186,7 @@ def test_raise_value_error_on_invalid_load_format(vllm_runner, capfd,
combined_output = out + err
assert ("ValueError: Model loader extra config is not supported "
"for load format LoadFormat.SAFETENSORS") in combined_output
"for load format safetensors") in combined_output
finally:
del model
gc.collect()