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
- input
- middleware
- models
- output
- script_examples
- tests-unit
- tests
- user
- utils
- 3.88 kB
- 17.4 kB
- 389 Bytes
- 3.44 kB
- 148 Bytes
- 1.88 kB
- 35.1 kB
- 7.73 kB
- 30.2 kB
- 3.52 kB
- 3.23 kB
- 128 Bytes
- 3.77 kB
- 718 Bytes
- 59 kB
- 1.89 kB
- 19.2 kB
- 366 Bytes
- 5.76 kB
- 22.2 kB
- 23 Bytes
- 1.26 kB
- 3.19 kB
- 105 kB
- 206 kB
- 129 Bytes
- 2.02 kB
- 227 Bytes