mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-04-18 01:53:31 +00:00
Use correct v list
This commit is contained in:
parent
a220e5ca80
commit
ff050275ab
@ -90,7 +90,7 @@ class LoRAAdapter(WeightAdapterBase):
|
|||||||
intermediate_dtype=torch.float32,
|
intermediate_dtype=torch.float32,
|
||||||
original_weight=None,
|
original_weight=None,
|
||||||
):
|
):
|
||||||
v = self.weights[1]
|
v = self.weights
|
||||||
mat1 = comfy.model_management.cast_to_device(
|
mat1 = comfy.model_management.cast_to_device(
|
||||||
v[0], weight.device, intermediate_dtype
|
v[0], weight.device, intermediate_dtype
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user