fix: prefer default dtype

This commit is contained in:
drbh 2025-01-23 15:07:19 +00:00
parent 7ab99bc6b3
commit eef3c7bdf2

View File

@ -1362,7 +1362,8 @@ def get_model(
revision=revision,
quantize=quantize,
speculator=speculator,
dtype=torch.bfloat16,
dtype=dtype,
default_dtype=torch.bfloat16,
kv_cache_dtype=kv_cache_dtype,
trust_remote_code=trust_remote_code,
lora_adapter_ids=lora_adapter_ids,