1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-03 23:49:57 +08:00

Satisfy ruff linting

This commit is contained in:
Jedrzej Kosinski
2025-03-03 23:08:29 -06:00
parent 5080105c23
commit 6dca17bd2d
5 changed files with 10 additions and 12 deletions

View File

@@ -30,7 +30,6 @@ import gc
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from comfy.model_patcher import ModelPatcher
from comfy.model_base import BaseModel
class VRAMState(Enum):
DISABLED = 0 #No vram present: no need to move models to vram

View File

@@ -1,5 +1,4 @@
from __future__ import annotations
import logging
from inspect import cleandoc
from typing import TYPE_CHECKING