mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-04 08:37:06 +08:00
linting
This commit is contained in:
parent
bffbed8940
commit
68c9e79bc8
@ -114,4 +114,4 @@ def tucker_weight_from_conv(up, down, mid):
|
|||||||
|
|
||||||
def tucker_weight(wa, wb, t):
|
def tucker_weight(wa, wb, t):
|
||||||
temp = torch.einsum("i j ..., j r -> i r ...", t, wb)
|
temp = torch.einsum("i j ..., j r -> i r ...", t, wb)
|
||||||
return torch.einsum("i j ..., i r -> r j ...", temp, wa)
|
return torch.einsum("i j ..., i r -> r j ...", temp, wa)
|
||||||
|
|||||||
@ -4,10 +4,10 @@ from typing import Optional
|
|||||||
import torch
|
import torch
|
||||||
import comfy.model_management
|
import comfy.model_management
|
||||||
from .base import (
|
from .base import (
|
||||||
WeightAdapterBase,
|
WeightAdapterBase,
|
||||||
WeightAdapterTrainBase,
|
WeightAdapterTrainBase,
|
||||||
weight_decompose,
|
weight_decompose,
|
||||||
pad_tensor_to_shape,
|
pad_tensor_to_shape,
|
||||||
tucker_weight_from_conv,
|
tucker_weight_from_conv,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user