mirror of
https://github.com/unslothai/unsloth
synced 2026-04-21 13:37:39 +00:00
Update save.py
This commit is contained in:
parent
917ce15861
commit
36829b7ec4
1 changed files with 2 additions and 1 deletions
|
|
@ -80,7 +80,8 @@ def _merge_lora(layer, name):
|
|||
if quant_state is not None:
|
||||
dtype = quant_state.dtype if type(quant_state) is not list else quant_state[2]
|
||||
W = fast_dequantize(W, quant_state)
|
||||
pass
|
||||
else:
|
||||
dtype = W.dtype
|
||||
W = W.to(torch.float32).t()
|
||||
|
||||
if A is not None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue