Update loader.py
This commit is contained in:
parent
d4c0668448
commit
ff968e01dd
1 changed files with 1 additions and 1 deletions
|
|
@ -460,7 +460,7 @@ class FastModel(FastBaseModel):
|
|||
*args, **kwargs,
|
||||
):
|
||||
if token is None: token = get_token()
|
||||
assert (dtype is None or dtype == torch.float16 or dtype == torch.bfloat16)
|
||||
assert (dtype is None or dtype in (torch.float16, torch.bfloat16, torch.float32))
|
||||
|
||||
patch_compiled_autograd()
|
||||
patch_compiling_bitsandbytes()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue