mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-04-16 08:33:29 +00:00
lint
This commit is contained in:
parent
c40686eb42
commit
84317474fd
@ -10,4 +10,4 @@ adapters: list[type[WeightAdapterBase]] = [
|
|||||||
LoHaAdapter,
|
LoHaAdapter,
|
||||||
LoKrAdapter,
|
LoKrAdapter,
|
||||||
GLoRAAdapter,
|
GLoRAAdapter,
|
||||||
]
|
]
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
from typing import Optional
|
|
||||||
import torch
|
import torch
|
||||||
import torch.nn as nn
|
import torch.nn as nn
|
||||||
import torch.nn.functional as F
|
|
||||||
|
|
||||||
|
|
||||||
class WeightAdapterBase:
|
class WeightAdapterBase:
|
||||||
|
@ -1,9 +1,4 @@
|
|||||||
import logging
|
|
||||||
import torch
|
import torch
|
||||||
import comfy.utils
|
|
||||||
import comfy.model_management
|
|
||||||
import comfy.model_base
|
|
||||||
from comfy.lora import weight_decompose, pad_tensor_to_shape
|
|
||||||
|
|
||||||
from .base import WeightAdapterBase
|
from .base import WeightAdapterBase
|
||||||
|
|
||||||
|
@ -1,9 +1,4 @@
|
|||||||
import logging
|
|
||||||
import torch
|
import torch
|
||||||
import comfy.utils
|
|
||||||
import comfy.model_management
|
|
||||||
import comfy.model_base
|
|
||||||
from comfy.lora import weight_decompose, pad_tensor_to_shape
|
|
||||||
|
|
||||||
from .base import WeightAdapterBase
|
from .base import WeightAdapterBase
|
||||||
|
|
||||||
|
@ -1,9 +1,4 @@
|
|||||||
import logging
|
|
||||||
import torch
|
import torch
|
||||||
import comfy.utils
|
|
||||||
import comfy.model_management
|
|
||||||
import comfy.model_base
|
|
||||||
from comfy.lora import weight_decompose, pad_tensor_to_shape
|
|
||||||
|
|
||||||
from .base import WeightAdapterBase
|
from .base import WeightAdapterBase
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user