fix typo (#9723)
This commit is contained in:
parent
3aa8b66bc3
commit
612651cb5d
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ def load_gguf_mixtral(loader: GGUFFileLoader, dtype: torch.dtype = torch.float):
|
|||
model = MixtralForCausalLM(mixtral_config)
|
||||
|
||||
for name, weight in state_dict.items():
|
||||
set_module_tensor_to_device(model, name, "cpu", weight, dytype=dtype)
|
||||
set_module_tensor_to_device(model, name, "cpu", weight, dtype=dtype)
|
||||
|
||||
model = model.cpu()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue