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
- .ci
- .github
- alembic_db
- api_server
- app
- blueprints
- comfy
- comfy_api
- comfy_api_nodes
- comfy_config
- comfy_execution
- comfy_extras
- custom_nodes
- middleware
- models
- script_examples
- tests-unit
- tests
- utils
- 3.88 kB
- 14.5 kB
- 359 Bytes
- 47 Bytes
- 1.88 kB
- 35.1 kB
- 7.7 kB
- 29 kB
- 3.23 kB
- 128 Bytes
- 3.77 kB
- 57 kB
- 1.89 kB
- 18.6 kB
- 366 Bytes
- 5.76 kB
- 21.7 kB
- 21 Bytes
- 1.26 kB
- 3.2 kB
- 104 kB
- 129 Bytes
- 2.02 kB
- 227 Bytes
- 509 Bytes
- 54.9 kB