mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-04-15 16:13:29 +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,
|
||||
original_weight=None,
|
||||
):
|
||||
v = self.weights[1]
|
||||
v = self.weights
|
||||
mat1 = comfy.model_management.cast_to_device(
|
||||
v[0], weight.device, intermediate_dtype
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user