Update vision.py

This commit is contained in:
Daniel Han 2025-06-26 08:54:51 -07:00
commit 88604df119

View file

@ -408,6 +408,7 @@ class FastBaseModel:
torch_dtype = dtype
if do_forced_float32: torch_dtype = torch.bfloat16
print(kwargs)
model = auto_model.from_pretrained(
model_name,
device_map = device_map,