mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-28 18:21:48 +00:00
move file
This commit is contained in:
@@ -306,7 +306,7 @@ class ModelPatcher:
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
if gguf_cls is not None:
|
if gguf_cls is not None:
|
||||||
from backend.utils import ParameterGGUF
|
from backend.operations_gguf import ParameterGGUF
|
||||||
weight = gguf_cls.quantize_pytorch(weight, gguf_real_shape)
|
weight = gguf_cls.quantize_pytorch(weight, gguf_real_shape)
|
||||||
utils.set_attr_raw(self.model, key, ParameterGGUF.make(
|
utils.set_attr_raw(self.model, key, ParameterGGUF.make(
|
||||||
data=weight,
|
data=weight,
|
||||||
|
|||||||
Reference in New Issue
Block a user