mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-04-18 22:42:35 +08:00
Merge upstream/master, keep local README.md
This commit is contained in:
commit
b47ba5035a
@ -1230,6 +1230,8 @@ def convert_old_quants(state_dict, model_prefix="", metadata={}):
|
|||||||
out_sd = {}
|
out_sd = {}
|
||||||
layers = {}
|
layers = {}
|
||||||
for k in list(state_dict.keys()):
|
for k in list(state_dict.keys()):
|
||||||
|
if k == scaled_fp8_key:
|
||||||
|
continue
|
||||||
if not k.startswith(model_prefix):
|
if not k.startswith(model_prefix):
|
||||||
out_sd[k] = state_dict[k]
|
out_sd[k] = state_dict[k]
|
||||||
continue
|
continue
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user