Update vision.py
This commit is contained in:
parent
64d8a7fa3a
commit
416b7768e7
1 changed files with 1 additions and 0 deletions
|
|
@ -441,6 +441,7 @@ class FastBaseModel:
|
|||
if do_forced_float32: torch_dtype = torch.bfloat16
|
||||
|
||||
raise_handler = RaiseUninitialized()
|
||||
print(model_name, kwargs)
|
||||
model = auto_model.from_pretrained(
|
||||
model_name,
|
||||
device_map = device_map,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue