Instructions to use wiikoo/ComfyUI-Models-Backup-20250821 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use wiikoo/ComfyUI-Models-Backup-20250821 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("wiikoo/ComfyUI-Models-Backup-20250821", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Upload custom_nodes/ComfyUI-GGUF/__init__.py with huggingface_hub
Browse files
custom_nodes/ComfyUI-GGUF/__init__.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# only import if running as a custom node
|
| 2 |
+
try:
|
| 3 |
+
import comfy.utils
|
| 4 |
+
except ImportError:
|
| 5 |
+
pass
|
| 6 |
+
else:
|
| 7 |
+
from .nodes import NODE_CLASS_MAPPINGS
|
| 8 |
+
NODE_DISPLAY_NAME_MAPPINGS = {k:v.TITLE for k,v in NODE_CLASS_MAPPINGS.items()}
|
| 9 |
+
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']
|