Add README
Browse files
README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
# render_package — 3D Render + Latent Encoding Pipeline
|
| 6 |
+
|
| 7 |
+
Self-contained portable archive for rendering 3D assets with Blender and encoding them into latent representations (DINOv2, UniLat, TRELLIS SLAT, TRELLIS SS).
|
| 8 |
+
|
| 9 |
+
## Download & Deploy
|
| 10 |
+
|
| 11 |
+
```bash
|
| 12 |
+
# Download
|
| 13 |
+
huggingface-cli download Dennis0626/render_package render_package_portable.tar.gz --local-dir .
|
| 14 |
+
|
| 15 |
+
# Extract & setup
|
| 16 |
+
tar xzf render_package_portable.tar.gz
|
| 17 |
+
cd render_package
|
| 18 |
+
bash setup.sh # extract bundled conda env
|
| 19 |
+
source envs/env/bin/activate # activate
|
| 20 |
+
vi config/default.yaml # set your data paths
|
| 21 |
+
```
|
| 22 |
+
|
| 23 |
+
## Requirements
|
| 24 |
+
|
| 25 |
+
- Linux x86_64
|
| 26 |
+
- NVIDIA GPU with CUDA 12.x drivers (>= 525)
|
| 27 |
+
- No conda/pip/internet needed after extraction
|
| 28 |
+
|
| 29 |
+
## What's inside (~6.9 GiB compressed)
|
| 30 |
+
|
| 31 |
+
| Component | Size |
|
| 32 |
+
|---|---|
|
| 33 |
+
| Python pipeline code | ~50K |
|
| 34 |
+
| Blender 3.5.1 binary | ~1.2G |
|
| 35 |
+
| Model weights (UniLat + TRELLIS + DINOv2) | ~2.1G |
|
| 36 |
+
| Third-party model code | ~16M |
|
| 37 |
+
| Pre-built conda environment (PyTorch, flash-attn, spconv, open3d, X11/GL) | ~4.5G |
|
| 38 |
+
|
| 39 |
+
## Usage
|
| 40 |
+
|
| 41 |
+
```bash
|
| 42 |
+
# Multi-GPU encode
|
| 43 |
+
SPCONV_ALGO=native python encode_all.py --render_root /path/to/renders --num_gpus 4
|
| 44 |
+
|
| 45 |
+
# Render .tar.zst shards
|
| 46 |
+
python render_github.py --num_shards 10
|
| 47 |
+
|
| 48 |
+
# Full interleaved pipeline
|
| 49 |
+
SPCONV_ALGO=native python run_pipeline.py --render_gpus 0,1 --encode_gpus 2,3
|
| 50 |
+
```
|