mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-09 22:00:49 +08:00
ruff
This commit is contained in:
parent
e30298dda2
commit
5b0c80a093
@ -1,10 +1,8 @@
|
|||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
from typing import Optional, Tuple, Union, List, Dict, Any, Callable
|
from typing import Optional, Tuple, Union, List, Dict, Any, Callable
|
||||||
import einops
|
import einops
|
||||||
from einops import rearrange, repeat
|
from einops import rearrange
|
||||||
import comfy.model_management
|
import comfy.model_management
|
||||||
from torch import nn
|
|
||||||
import torch.nn.utils.rnn as rnn_utils
|
|
||||||
import torch.nn.functional as F
|
import torch.nn.functional as F
|
||||||
from math import ceil, pi
|
from math import ceil, pi
|
||||||
import torch
|
import torch
|
||||||
@ -15,7 +13,6 @@ from comfy.rmsnorm import RMSNorm
|
|||||||
from torch.nn.modules.utils import _triple
|
from torch.nn.modules.utils import _triple
|
||||||
from torch import nn
|
from torch import nn
|
||||||
import math
|
import math
|
||||||
import logging
|
|
||||||
|
|
||||||
class Cache:
|
class Cache:
|
||||||
def __init__(self, disable=False, prefix="", cache=None):
|
def __init__(self, disable=False, prefix="", cache=None):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user