Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion app/assets/services/metadata_extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
Tier 2: Safetensors header metadata (fast JSON read only)
"""

from __future__ import annotations

import json
import logging
Expand Down
2 changes: 0 additions & 2 deletions app/custom_node_manager.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import os
import folder_paths
import glob
Expand Down
1 change: 0 additions & 1 deletion app/frontend_management.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import annotations
import argparse
import logging
import os
Expand Down
2 changes: 0 additions & 2 deletions app/model_manager.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import os
import base64
import json
Expand Down
1 change: 0 additions & 1 deletion app/user_manager.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import annotations
import json
import os
import re
Expand Down
1 change: 0 additions & 1 deletion comfy/comfy_types/node_typing.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Comfy-specific type hinting"""

from __future__ import annotations
from typing import Literal, TypedDict, Optional
from typing_extensions import NotRequired
from abc import ABC, abstractmethod
Expand Down
1 change: 0 additions & 1 deletion comfy/ldm/lightricks/vae/causal_audio_autoencoder.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import annotations
import torch
from torch import nn
from torch.nn import functional as F
Expand Down
1 change: 0 additions & 1 deletion comfy/ldm/lightricks/vae/causal_video_autoencoder.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import annotations
import threading
import torch
from torch import nn
Expand Down
1 change: 0 additions & 1 deletion comfy/ldm/lumina/model.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Code from: https://github.com/Alpha-VLLM/Lumina-Image-2.0/blob/main/models/model.py
from __future__ import annotations

from typing import List, Optional, Tuple

Expand Down
1 change: 0 additions & 1 deletion comfy/ldm/moge/geometry.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Pure-torch + scipy geometry helpers for MoGe inference and mesh export."""

from __future__ import annotations

from typing import Optional, Tuple

Expand Down
1 change: 0 additions & 1 deletion comfy/ldm/moge/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
V2: DINOv2 encoder + neck + per-output heads (points, mask, normal, optional metric-scale MLP).
"""

from __future__ import annotations

from numbers import Number
from typing import Any, Dict, List, Optional, Tuple, Union
Expand Down
1 change: 0 additions & 1 deletion comfy/ldm/moge/modules.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Building blocks for MoGe: residual conv stack, resamplers, MLP, DINOv2 encoder, v1 head."""

from __future__ import annotations

from typing import List, Optional, Sequence, Tuple, Union

Expand Down
1 change: 0 additions & 1 deletion comfy/ldm/moge/panorama.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
Image sampling uses F.grid_sample (GPU); the sparse solve uses lsmr (CPU).
"""

from __future__ import annotations

from typing import Callable, List, Optional, Tuple

Expand Down
1 change: 0 additions & 1 deletion comfy/lora.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""

from __future__ import annotations
import comfy.memory_management
import comfy.utils
import comfy.model_management
Expand Down
1 change: 0 additions & 1 deletion comfy/patcher_extension.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import annotations
from typing import Callable

class CallbacksMP:
Expand Down
1 change: 0 additions & 1 deletion comfy/sd.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import annotations
import json
import torch
from enum import Enum
Expand Down
2 changes: 0 additions & 2 deletions comfy_api/latest/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

from abc import ABC, abstractmethod
from typing import TYPE_CHECKING
from comfy_api.internal import ComfyAPIBase
Expand Down
1 change: 0 additions & 1 deletion comfy_api/latest/_input_impl/video_types.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import annotations
from av.container import InputContainer
from av.subtitles.stream import SubtitleStream
from fractions import Fraction
Expand Down
1 change: 0 additions & 1 deletion comfy_api/latest/_util/video_types.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import annotations
from dataclasses import dataclass
from enum import Enum
from fractions import Fraction
Expand Down
1 change: 0 additions & 1 deletion comfy_api_nodes/apis/__init__.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions comfy_api_nodes/apis/bfl.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

from enum import Enum
from typing import Any, Dict, Optional

Expand Down
2 changes: 0 additions & 2 deletions comfy_api_nodes/apis/stability.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

from enum import Enum
from typing import Optional

Expand Down
1 change: 0 additions & 1 deletion comfy_execution/graph.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import annotations
from typing import Type, Literal

import nodes
Expand Down
2 changes: 0 additions & 2 deletions comfy_execution/progress.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

from typing import TypedDict, Dict, Optional, Tuple
from typing_extensions import override
from PIL import Image
Expand Down
1 change: 0 additions & 1 deletion comfy_execution/validation.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import annotations
from comfy_api.latest import IO


Expand Down
1 change: 0 additions & 1 deletion comfy_extras/mediapipe/face_geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
+ weighted Procrustes solver. Computes the 4x4 facial transformation matrix.
"""

from __future__ import annotations

import math
import numpy as np
Expand Down
1 change: 0 additions & 1 deletion comfy_extras/mediapipe/face_landmarker.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""Pure-PyTorch port of MediaPipe's face_landmarker_v2_with_blendshapes.task:
BlazeFace detector → FaceMesh v2 → ARKit-52 blendshapes."""

from __future__ import annotations

import math
from functools import lru_cache
Expand Down
2 changes: 0 additions & 2 deletions comfy_extras/nodes_audio.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import av
import torchaudio
import torch
Expand Down
1 change: 0 additions & 1 deletion comfy_extras/nodes_context_windows.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import annotations
from comfy_api.latest import ComfyExtension, io
import comfy.context_windows
import nodes
Expand Down
2 changes: 0 additions & 2 deletions comfy_extras/nodes_curve.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import numpy as np

from comfy_api.latest import ComfyExtension, io
Expand Down
2 changes: 0 additions & 2 deletions comfy_extras/nodes_images.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import nodes
import folder_paths

Expand Down
1 change: 0 additions & 1 deletion comfy_extras/nodes_logic.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import annotations
from typing import TypedDict
from typing_extensions import override
from comfy_api.latest import ComfyExtension, io
Expand Down
1 change: 0 additions & 1 deletion comfy_extras/nodes_math.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
against dynamically-grown numeric inputs.
"""

from __future__ import annotations

import math
import string
Expand Down
1 change: 0 additions & 1 deletion comfy_extras/nodes_mediapipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
MediaPipeFaceLandmarker also emits the core BOUNDING_BOX type — pair with DrawBBoxes.
"""

from __future__ import annotations

import numpy as np
import torch
Expand Down
1 change: 0 additions & 1 deletion comfy_extras/nodes_moge.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""ComfyUI nodes for the native MoGe (Monocular Geometry Estimation) integration."""

from __future__ import annotations

import torch

Expand Down
1 change: 0 additions & 1 deletion comfy_extras/nodes_number_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
inputs into FLOAT and INT outputs.
"""

from __future__ import annotations

import math

Expand Down
2 changes: 0 additions & 2 deletions comfy_extras/nodes_painter.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import hashlib
import os

Expand Down
1 change: 0 additions & 1 deletion comfy_extras/nodes_resolution.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import annotations
import math
from enum import Enum
from typing_extensions import override
Expand Down
1 change: 0 additions & 1 deletion comfy_extras/nodes_toolkit.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import annotations
from typing_extensions import override
from comfy_api.latest import ComfyExtension, io

Expand Down
2 changes: 0 additions & 2 deletions comfy_extras/nodes_video.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import os
import av
import torch
Expand Down
2 changes: 0 additions & 2 deletions folder_paths.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import annotations

import os
import time
import mimetypes
Expand Down
1 change: 0 additions & 1 deletion nodes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import annotations
import torch


Expand Down
Loading