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
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -52,8 +52,12 @@ pip install https://github.com/nunchaku-ai/nunchaku/releases/download/vX.Y.Z/nun
|
|
| 52 |
- **Tip (RTX 50 series GPUs)**: usually `CUDA >= 12.8` is recommended, and FP4 models are preferred for better compatibility and performance (follow the official docs).
|
| 53 |
|
| 54 |
## Usage example (Diffusers + Nunchaku Transformer)
|
| 55 |
-
Note: I am pushing for the official Nunchaku PR to be merged: https://github.com/nunchaku-ai/nunchaku/pull/
|
| 56 |
-
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`.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
|
| 58 |
```python
|
| 59 |
import torch
|
|
|
|
| 52 |
- **Tip (RTX 50 series GPUs)**: usually `CUDA >= 12.8` is recommended, and FP4 models are preferred for better compatibility and performance (follow the official docs).
|
| 53 |
|
| 54 |
## Usage example (Diffusers + Nunchaku Transformer)
|
| 55 |
+
Note: I am pushing for the official Nunchaku PR to be merged: https://github.com/nunchaku-ai/nunchaku/pull/928
|
| 56 |
+
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`.
|
| 57 |
+
Usage like this:
|
| 58 |
+
```
|
| 59 |
+
from nunchaku.models.transformers.transformer_chroma import NunchakuChromaTransformer2dModel
|
| 60 |
+
```
|
| 61 |
|
| 62 |
```python
|
| 63 |
import torch
|