[Bugfix] Fix boolean conversion for OpenVINO env variable (#13615)
This commit is contained in:
committed by
GitHub
parent
8354f6640c
commit
382f66fb08
@@ -125,7 +125,8 @@ class OpenVINOCausalLM(nn.Module):
|
||||
"as-is, all possible options that may affect model conversion "
|
||||
"are ignored.")
|
||||
|
||||
load_in_8bit = envs.VLLM_OPENVINO_ENABLE_QUANTIZED_WEIGHTS
|
||||
load_in_8bit = (envs.VLLM_OPENVINO_ENABLE_QUANTIZED_WEIGHTS
|
||||
if export else False)
|
||||
pt_model = OVModelForCausalLM.from_pretrained(
|
||||
model_config.model,
|
||||
export=export,
|
||||
|
||||
Reference in New Issue
Block a user