Update README.md
Browse files
README.md
CHANGED
|
@@ -13,6 +13,22 @@ library_name: torchao
|
|
| 13 |
pipeline_tag: text-to-3d
|
| 14 |
---
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
# Cube3D v0.5 — RTN W4A16 INT4 (torchao)
|
| 17 |
|
| 18 |
Post-training quantized version of [Roblox/cube3d-v0.5](https://huggingface.co/Roblox/cube3d-v0.5), a text-to-3D mesh generative model.
|
|
@@ -31,15 +47,7 @@ The BF16 GPT weights (`shape_gpt.safetensors`) are **not** included here — the
|
|
| 31 |
|
| 32 |
## Benchmark (NVIDIA A100-SXM4-40GB, 15-categories)
|
| 33 |
|
| 34 |
-
|
| 35 |
-
|--------|-------------|-----------|------------|
|
| 36 |
-
| BF16 + Engine (baseline) | 90.9 s | 21.7 GB | 19.4 s |
|
| 37 |
-
| BF16 + EngineFast | 15.0 s | 25.4 GB | 206.9 s |
|
| 38 |
-
| **INT4 + EngineFast** | **14.2 s (84%↓)** | **14.3 GB (44%↓)** | **25.1 s (88%↓)** |
|
| 39 |
-
|
| 40 |
-
INT4 EngineFast vs BF16 Engine: **84% faster inference**, **44% less peak VRAM**, **88% faster loading**.
|
| 41 |
-
|
| 42 |
-
## Shape quality (Chamfer Distance, 15 categories, 170 prompts)
|
| 43 |
|
| 44 |
Median CD: 67.9 × 10⁻³
|
| 45 |
|
|
|
|
| 13 |
pipeline_tag: text-to-3d
|
| 14 |
---
|
| 15 |
|
| 16 |
+
## 🚀 First INT4 Quantized Cube3D — Run on Half the VRAM
|
| 17 |
+
|
| 18 |
+
-brightgreen)
|
| 19 |
+

|
| 20 |
+

|
| 21 |
+
|
| 22 |
+
Presenting the **first INT4 quantized version** of [Cube3D v0.5](https://huggingface.co/Roblox/cube3d-v0.5), a text-to-3D mesh generative model. Quantized via **RTN W4A16** (group_size=128) using [torchao](https://github.com/pytorch/ao), it cuts peak VRAM from **25.4 GB → 14.3 GB (44%↓)** while maintaining the same inference speed and comparable shape fidelity — enabling 3D shape generation on much smaller, more accessible GPUs.
|
| 23 |
+
|
| 24 |
+
| | BF16 + Engine | BF16 + EngineFast | **INT4 + EngineFast** |
|
| 25 |
+
|---|:-:|:-:|:-:|
|
| 26 |
+
| ⏱️ Latency | 90.9 s | 15.0 s | **14.2 s** |
|
| 27 |
+
| 🎮 Peak VRAM | 21.7 GB | 25.4 GB | **14.3 GB (44%↓)** ✨ |
|
| 28 |
+
| 📦 Setup time | 19.4 s | 206.9 s | **25.1 s (88%↓)** |
|
| 29 |
+
|
| 30 |
+
> 💡 The 44% VRAM reduction means this model now fits on a single 16 GB GPU (e.g. NVIDIA L4, A10 etc.), bringing high-quality text-to-3D generation to individual researchers and end-user hardware.
|
| 31 |
+
|
| 32 |
# Cube3D v0.5 — RTN W4A16 INT4 (torchao)
|
| 33 |
|
| 34 |
Post-training quantized version of [Roblox/cube3d-v0.5](https://huggingface.co/Roblox/cube3d-v0.5), a text-to-3D mesh generative model.
|
|
|
|
| 47 |
|
| 48 |
## Benchmark (NVIDIA A100-SXM4-40GB, 15-categories)
|
| 49 |
|
| 50 |
+
### Shape Quality (Chamfer Distance, 15 categories, 170 prompts):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
|
| 52 |
Median CD: 67.9 × 10⁻³
|
| 53 |
|