Delete full
Browse files- full/README.md +0 -152
- full/render_package_full.tar.gz +0 -3
full/README.md
DELETED
|
@@ -1,152 +0,0 @@
|
|
| 1 |
-
# render\_package — Full Self-Contained Bundle
|
| 2 |
-
|
| 3 |
-
This directory (`full/`) contains the **fully self-contained** distribution of
|
| 4 |
-
`render_package`: a 3D render + multi-stage latent encoding pipeline.
|
| 5 |
-
|
| 6 |
-
Everything needed to run on a fresh Linux + NVIDIA machine is bundled:
|
| 7 |
-
|
| 8 |
-
- Python source (renderer + encoder pipeline)
|
| 9 |
-
- Blender 3.5.1 Linux bundle (~1.2 GiB)
|
| 10 |
-
- Pre-packed conda environment via `conda-pack` (~4.5 GiB, `envs/env.tar.gz`)
|
| 11 |
-
- Model weights (UniLat, TRELLIS SLAT, TRELLIS SS, DINOv2 ViT-L/14+reg, ~2.1 GiB)
|
| 12 |
-
- Third-party model code (TRELLIS, UniLat3D, DINOv2)
|
| 13 |
-
|
| 14 |
-
**No conda / pip / internet is required on the target machine.**
|
| 15 |
-
|
| 16 |
-
---
|
| 17 |
-
|
| 18 |
-
## Artifact
|
| 19 |
-
|
| 20 |
-
| File | Size | SHA-256 |
|
| 21 |
-
|---|---|---|
|
| 22 |
-
| `full/render_package_full.tar.gz` | ~6.9 GiB | `09343e336454da3cebe49fb0858ba0d8b38df99b3061e2bf4bac9f5feb3163fa` |
|
| 23 |
-
|
| 24 |
-
Verify after download:
|
| 25 |
-
|
| 26 |
-
```bash
|
| 27 |
-
sha256sum render_package_full.tar.gz
|
| 28 |
-
# expected: 09343e336454da3cebe49fb0858ba0d8b38df99b3061e2bf4bac9f5feb3163fa
|
| 29 |
-
```
|
| 30 |
-
|
| 31 |
-
---
|
| 32 |
-
|
| 33 |
-
## Host Requirements
|
| 34 |
-
|
| 35 |
-
- Linux x86\_64
|
| 36 |
-
- NVIDIA GPU with driver **>= 525** (CUDA 12.x compatible)
|
| 37 |
-
- ~25 GiB free disk (tarball + extracted tree + extracted env)
|
| 38 |
-
- No conda / pip / internet needed
|
| 39 |
-
|
| 40 |
-
---
|
| 41 |
-
|
| 42 |
-
## Download
|
| 43 |
-
|
| 44 |
-
Using the Hugging Face CLI:
|
| 45 |
-
|
| 46 |
-
```bash
|
| 47 |
-
# (auth once if the repo is private or for higher rate limits)
|
| 48 |
-
hf auth login
|
| 49 |
-
|
| 50 |
-
# Download just the full bundle
|
| 51 |
-
hf download Dennis0626/render_package full/render_package_full.tar.gz \
|
| 52 |
-
--local-dir . \
|
| 53 |
-
--local-dir-use-symlinks False
|
| 54 |
-
```
|
| 55 |
-
|
| 56 |
-
Or with `wget` / `curl` (public repo only):
|
| 57 |
-
|
| 58 |
-
```bash
|
| 59 |
-
wget https://huggingface.co/Dennis0626/render_package/resolve/main/full/render_package_full.tar.gz
|
| 60 |
-
```
|
| 61 |
-
|
| 62 |
-
---
|
| 63 |
-
|
| 64 |
-
## Deploy
|
| 65 |
-
|
| 66 |
-
```bash
|
| 67 |
-
tar xzf render_package_full.tar.gz
|
| 68 |
-
cd render_package
|
| 69 |
-
|
| 70 |
-
# Extracts envs/env.tar.gz into envs/env/, runs conda-unpack, verifies torch/open3d/spconv
|
| 71 |
-
bash setup.sh
|
| 72 |
-
|
| 73 |
-
# Activate the single bundled env (used for both render and encode)
|
| 74 |
-
source envs/env/bin/activate
|
| 75 |
-
|
| 76 |
-
# Edit data paths for your machine
|
| 77 |
-
vi config/default.yaml
|
| 78 |
-
```
|
| 79 |
-
|
| 80 |
-
> Blender links X11/GL at startup. If you see missing-lib errors, ensure:
|
| 81 |
-
>
|
| 82 |
-
> ```bash
|
| 83 |
-
> export LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH
|
| 84 |
-
> ```
|
| 85 |
-
|
| 86 |
-
---
|
| 87 |
-
|
| 88 |
-
## Quick Run
|
| 89 |
-
|
| 90 |
-
```bash
|
| 91 |
-
source envs/env/bin/activate
|
| 92 |
-
export LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH
|
| 93 |
-
|
| 94 |
-
# 1) Render a small test batch
|
| 95 |
-
python render_github.py --benchmark
|
| 96 |
-
|
| 97 |
-
# 2) Encode (multi-GPU, auto-detect)
|
| 98 |
-
SPCONV_ALGO=native python encode_all.py \
|
| 99 |
-
--config config/default.yaml \
|
| 100 |
-
--render_root /path/to/renders
|
| 101 |
-
|
| 102 |
-
# 3) Interleaved render + encode
|
| 103 |
-
SPCONV_ALGO=native python run_pipeline.py \
|
| 104 |
-
--config config/default.yaml \
|
| 105 |
-
--render_gpus 0,1 \
|
| 106 |
-
--encode_gpus 2,3
|
| 107 |
-
```
|
| 108 |
-
|
| 109 |
-
See the in-repo `README.md` (inside the extracted tree) for the full CLI
|
| 110 |
-
reference, NPZ schema, stage dependencies, and troubleshooting.
|
| 111 |
-
|
| 112 |
-
---
|
| 113 |
-
|
| 114 |
-
## Layout (after extraction)
|
| 115 |
-
|
| 116 |
-
```
|
| 117 |
-
render_package/
|
| 118 |
-
├── config/default.yaml # edit per machine
|
| 119 |
-
├── encoders/ # Python encoder pipeline
|
| 120 |
-
├── dataset_toolkits/ # Blender render helpers
|
| 121 |
-
├── third_party/{trellis,unilat3d,dinov2}
|
| 122 |
-
├── weights/{unilat,trellis,dinov2} # real files, no symlinks
|
| 123 |
-
├── blender-3.5.1-linux-x64/blender # bundled executable
|
| 124 |
-
├── envs/env.tar.gz # conda-packed env
|
| 125 |
-
├── render_github.py / render_only.py
|
| 126 |
-
├── encode_all.py / encode_shard.py / run_pipeline.py
|
| 127 |
-
├── setup.sh / pack.sh / verify_install.py
|
| 128 |
-
└── README.md # full documentation
|
| 129 |
-
```
|
| 130 |
-
|
| 131 |
-
---
|
| 132 |
-
|
| 133 |
-
## Rebuild / Re-pack
|
| 134 |
-
|
| 135 |
-
If you modify the source or environment and want to rebuild this bundle:
|
| 136 |
-
|
| 137 |
-
```bash
|
| 138 |
-
# Rebuild the conda-pack env (inside an active conda that has the env "vinedresser3d")
|
| 139 |
-
conda-pack -n vinedresser3d -o envs/env.tar.gz --ignore-editable-packages --force
|
| 140 |
-
|
| 141 |
-
# Repack everything into a new tarball
|
| 142 |
-
bash pack.sh /path/to/render_package_full.tar.gz
|
| 143 |
-
```
|
| 144 |
-
|
| 145 |
-
Then re-upload to the `full/` path:
|
| 146 |
-
|
| 147 |
-
```bash
|
| 148 |
-
hf upload Dennis0626/render_package \
|
| 149 |
-
/path/to/render_package_full.tar.gz \
|
| 150 |
-
full/render_package_full.tar.gz \
|
| 151 |
-
--commit-message "Rebuild full bundle"
|
| 152 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
full/render_package_full.tar.gz
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:09343e336454da3cebe49fb0858ba0d8b38df99b3061e2bf4bac9f5feb3163fa
|
| 3 |
-
size 7313973933
|
|
|
|
|
|
|
|
|
|
|
|