Diffusers
Safetensors
OrbitQuantComponentArtifact
orbitquant
quantized
diffusion-transformer
8-bit precision
Instructions to use WaveCut/Z-Image-Turbo-OrbitQuant-W2A3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use WaveCut/Z-Image-Turbo-OrbitQuant-W2A3 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("WaveCut/Z-Image-Turbo-OrbitQuant-W2A3", 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
Refresh OrbitQuant model cards
Browse files- README.md +1 -1
- SHA256SUMS +1 -1
README.md
CHANGED
|
@@ -35,9 +35,9 @@ artifact_dir = snapshot_download(artifact_id, repo_type="model")
|
|
| 35 |
pipe = load_quantized_pipeline_from_artifact(
|
| 36 |
artifact_dir,
|
| 37 |
torch_dtype=torch.bfloat16,
|
| 38 |
-
device="cuda",
|
| 39 |
runtime_mode="auto_fused",
|
| 40 |
)
|
|
|
|
| 41 |
|
| 42 |
image = pipe(
|
| 43 |
prompt="A precise product photo of a red ceramic mug on a wooden desk",
|
|
|
|
| 35 |
pipe = load_quantized_pipeline_from_artifact(
|
| 36 |
artifact_dir,
|
| 37 |
torch_dtype=torch.bfloat16,
|
|
|
|
| 38 |
runtime_mode="auto_fused",
|
| 39 |
)
|
| 40 |
+
pipe.enable_model_cpu_offload(device="cuda")
|
| 41 |
|
| 42 |
image = pipe(
|
| 43 |
prompt="A precise product photo of a red ceramic mug on a wooden desk",
|
SHA256SUMS
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
|
| 2 |
87f719a534ba76c19031c82ca761c2fea4e40615f0d1a23f37dd29556ee102aa assets/image_generation_comparison_matrix.webp
|
| 3 |
2bda4afcd7266fbe4e0d184690605dd63f9546fc3a1ec0ca88e117387bf6bdbe benchmark/summary.json
|
| 4 |
aea099a0445d60c272a2c45a8c4e88fd4b3cedf7181a4b3600873104eb7a7941 model.safetensors
|
|
|
|
| 1 |
+
0ccb2cbee8bf87fff9b604ae7db0eb9e9a821d0cfc21ceeef0ded4bb6107b374 README.md
|
| 2 |
87f719a534ba76c19031c82ca761c2fea4e40615f0d1a23f37dd29556ee102aa assets/image_generation_comparison_matrix.webp
|
| 3 |
2bda4afcd7266fbe4e0d184690605dd63f9546fc3a1ec0ca88e117387bf6bdbe benchmark/summary.json
|
| 4 |
aea099a0445d60c272a2c45a8c4e88fd4b3cedf7181a4b3600873104eb7a7941 model.safetensors
|