Instructions to use mhnakif/comfy2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mhnakif/comfy2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("mhnakif/comfy2", 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
Ctrl+K
- audio_encoders
- cldm
- comfy_types
- extra_samplers
- image_encoders
- k_diffusion
- ldm
- sd1_tokenizer
- t2i_adapter
- taesd
- text_encoders
- weight_adapter
- 17.8 kB
- 524 Bytes
- 16.3 kB
- 7.67 kB
- 419 Bytes
- 419 Bytes
- 424 Bytes
- 423 Bytes
- 453 Bytes
- 336 Bytes
- 314 Bytes
- 314 Bytes
- 4.52 kB
- 34 kB
- 44.6 kB
- 6.8 kB
- 1.44 kB
- 9.11 kB
- 10.8 kB
- 32.8 kB
- 30.5 kB
- 21.9 kB
- 1.93 kB
- 4.87 kB
- 92 kB
- 63.9 kB
- 58.2 kB
- 78.1 kB
- 13.8 kB
- 2.44 kB
- 52.9 kB
- 111 Bytes
- 6.81 kB
- 1.67 kB
- 528 Bytes
- 7.68 kB
- 366 Bytes
- 4.32 kB