Skip to content

Instantly share code, notes, and snippets.

# Force model to always use specified device
# Place in `ComfyUI\custom_nodes` to use
# City96 [Apache2]
#
import types
import torch
import comfy.model_management
class OverrideDevice:
@classmethod
@DuckersMcQuack
DuckersMcQuack / gist:67df362add574f67758d8038c1d46853
Last active July 27, 2017 00:17
Black Pearl Main Gaming Rig

CPU: Intel i7 4790k

GPU: NVIDIA GTX 1080SC

Motherboard: MSI Z97A gaming 7

Case: Fractal design define R4 Black Pearl

CPU Cooler: Corsair H60 AIO Cooler