Update vision.py

This commit is contained in:
Daniel Han 2025-08-07 16:19:31 -07:00
commit 09f3663ed3

View file

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