Instructions to use tonera/Chroma1-HD-SVDQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use tonera/Chroma1-HD-SVDQ with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("tonera/Chroma1-HD-SVDQ", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Does this work yet or we have to wait for nunchaku?
#3
by klionclinkz - opened
Based on the other discussion thread and your last reply it looks like we have to wait for nunchaku to update and release. Or am i incorrect and this svdq version works? Do i have to download any particular release to make nunchaku work?
Note: I am pushing for the official Nunchaku PR to be merged: https://github.com/nunchaku-ai/nunchaku/pull/928 Until then, if you want to try it out, you can copy transformer_chroma.py from the repository to nunchaku/models/transformers/transformer_chroma.py. Usage like this:
from nunchaku.models.transformers.transformer_chroma import NunchakuChromaTransformer2dModel