Skip to content

Instantly share code, notes, and snippets.

@DuckersMcQuack
DuckersMcQuack / override-clip-cpu.py
Last active May 17, 2025 15:14 — forked from city96/ComfyBootlegOffload.py
Edited to be fully multithreaded for up to 16 cores.
# Force model to always use specified device
# Place in `ComfyUI\custom_nodes` to use
# City96 [Apache2]
#
import types
import torch
import comfy.model_management
import os
import time