Delete README.md
Browse files
README.md
DELETED
|
@@ -1,105 +0,0 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc-by-nc-4.0
|
| 3 |
-
base_model:
|
| 4 |
-
- yyfz233/Pi3X
|
| 5 |
-
tags:
|
| 6 |
-
- gguf
|
| 7 |
-
- lux3d
|
| 8 |
-
- pi3x
|
| 9 |
-
- point-cloud
|
| 10 |
-
- image-to-3d
|
| 11 |
-
library_name: lux3d
|
| 12 |
-
---
|
| 13 |
-
|
| 14 |
-
# Pi3X — GGUF quantizations (Lux3D)
|
| 15 |
-
|
| 16 |
-
Standalone GGUF builds of the **Pi3X** point-cloud reconstruction model,
|
| 17 |
-
quantized from the canonical [oxide-lab/Pi3X](https://huggingface.co/oxide-lab/Pi3X)
|
| 18 |
-
F32 package by [Lux3D](https://github.com/oxide-lab/Lux3d).
|
| 19 |
-
|
| 20 |
-
Each file is a complete package: `resolved_config.json` is embedded in the
|
| 21 |
-
GGUF metadata, so `--model-path` accepts the file directly. No sibling
|
| 22 |
-
`manifest.json`, `checksums.json` or safetensors file is required.
|
| 23 |
-
|
| 24 |
-
## Files
|
| 25 |
-
|
| 26 |
-
| file | dtype | size | status |
|
| 27 |
-
|---|---|---|---|
|
| 28 |
-
| `pi3x-q8_0.gguf` | Q8_0, F16 fallback | 1.365 GiB | recommended |
|
| 29 |
-
| `pi3x-q6_k.gguf` | Q6_K, F16 fallback | 1.064 GiB | not recommended |
|
| 30 |
-
| `pi3x-q5_k.gguf` | Q5_K, F16 fallback | 0.898 GiB | not recommended |
|
| 31 |
-
| `pi3x-q4_k.gguf` | Q4_K, F16 fallback | 0.742 GiB | not recommended |
|
| 32 |
-
|
| 33 |
-
Canonical F32 package size: 5.07 GiB. SHA-256 and exact byte sizes are in
|
| 34 |
-
[`checksums.json`](checksums.json). Quantized matrices: 466 per variant.
|
| 35 |
-
|
| 36 |
-
## Evaluation
|
| 37 |
-
|
| 38 |
-
Reference: the same CUDA backend running the canonical F32 package. Input: the
|
| 39 |
-
three 512x512 synthetic frames in the Lux3D test assets. Metrics are drift
|
| 40 |
-
against F32, not ground-truth accuracy: Chamfer-L1 relative to the reference
|
| 41 |
-
bbox diagonal and symmetric F-score at 0.5%/1% of that diagonal.
|
| 42 |
-
|
| 43 |
-
| variant | CD rel | F@0.5% | F@1% | F@2% |
|
| 44 |
-
|---|---|---|---|---|
|
| 45 |
-
| q8_0 | 0.081% | 0.99999 | 1.000 | 1.000 |
|
| 46 |
-
| q6_k | 0.873% | 0.129 | 0.598 | 1.000 |
|
| 47 |
-
| q5_k | 2.279% | 0.000 | 0.000 | 0.195 |
|
| 48 |
-
| q4_k | 0.789% | 0.274 | 0.719 | 0.986 |
|
| 49 |
-
|
| 50 |
-
Q8_0 is stable across backends: F@1% is 1.000 on CUDA, Vulkan, WGPU and CPU.
|
| 51 |
-
The lower-bit results are not monotonic because the model is highly sensitive
|
| 52 |
-
to small weight perturbations. The image `encoder.` is the main hotspot: with
|
| 53 |
-
that module kept in F16, Q6_K recovers F@1% from 0.598 to 0.99996, but the
|
| 54 |
-
resulting package is 1.40 GiB versus 1.37 GiB for all-Q8_0, so Q8_0 is the
|
| 55 |
-
better choice. Publish Q8_0 only for production use.
|
| 56 |
-
|
| 57 |
-
## Usage
|
| 58 |
-
|
| 59 |
-
```bash
|
| 60 |
-
# download
|
| 61 |
-
hf download oxide-lab/Pi3X-GGUF pi3x-q8_0.gguf --local-dir .
|
| 62 |
-
|
| 63 |
-
# point cloud from a frame directory
|
| 64 |
-
lux3d-cli run pi3x --device cuda \
|
| 65 |
-
--model-path pi3x-q8_0.gguf \
|
| 66 |
-
--source ./frames \
|
| 67 |
-
--output cloud.ply
|
| 68 |
-
|
| 69 |
-
# optional conditions file (depth/pose/ray/intrinsic injection)
|
| 70 |
-
lux3d-cli run pi3x --device cuda \
|
| 71 |
-
--model-path pi3x-q8_0.gguf \
|
| 72 |
-
--source ./frames \
|
| 73 |
-
--conditions ./condition.npz \
|
| 74 |
-
--output cloud.ply
|
| 75 |
-
|
| 76 |
-
# VO mode
|
| 77 |
-
lux3d-cli run pi3x --device cuda \
|
| 78 |
-
--model-path pi3x-q8_0.gguf \
|
| 79 |
-
--source ./video.mp4 --vo \
|
| 80 |
-
--chunk-size 8 --overlap 4 --conf-threshold 0.05 \
|
| 81 |
-
--output cloud.ply
|
| 82 |
-
```
|
| 83 |
-
|
| 84 |
-
The result is an ASCII PLY with positions and RGB colors. `.xyz` is also
|
| 85 |
-
accepted as a plain-text alternative.
|
| 86 |
-
|
| 87 |
-
## Conversion
|
| 88 |
-
|
| 89 |
-
```bash
|
| 90 |
-
lux3d-cli weights quantize pi3x \
|
| 91 |
-
--source /path/to/canonical-pi3x/model.safetensors \
|
| 92 |
-
--output pi3x-q8_0.gguf \
|
| 93 |
-
--dtype q8_0 --fallback-dtype f16
|
| 94 |
-
```
|
| 95 |
-
|
| 96 |
-
Only rank-2 `*.weight` matrices are quantized; norms, biases, embeddings,
|
| 97 |
-
convolutions and rows that do not divide into the dtype block stay in F16.
|
| 98 |
-
Quantized linears run through `QMatMul`.
|
| 99 |
-
|
| 100 |
-
## License
|
| 101 |
-
|
| 102 |
-
Pi3X weights are distributed under the **Creative Commons
|
| 103 |
-
Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)** license; see
|
| 104 |
-
[`LICENSE`](LICENSE). Commercial use requires a separate license from the
|
| 105 |
-
rights holder. The Lux3D conversion does not change the upstream terms.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|