| --- |
| tags: [backup] |
| --- |
| |
| # vgp_models_code_tar |
| |
| Backup of `/pfss/mlde/workspaces/mlde_wsp_IAS_SAMMerge/VLA/doanh/video_world/.hf_stage/models_code` from the `video_gen_physics` workspace. The tree has too many |
| small files to commit individually (the Hub allows 128 commits/hour/repo), so it is |
| stored as **independent tar shards** of ~8GB under |
| `shards/`. Files too large to bundle are stored verbatim under `large/`. |
| `manifest.txt` lists how many files each shard holds. |
| |
| Paths inside every tar are relative to `/pfss/mlde/workspaces/mlde_wsp_IAS_SAMMerge/VLA/doanh/video_world/.hf_stage/models_code`, so extract all shards into one |
| directory that plays the role of `/pfss/mlde/workspaces/mlde_wsp_IAS_SAMMerge/VLA/doanh/video_world/.hf_stage/models_code`. |
| |
| Excluded: `__pycache__`, `*.pyc`, `.git`, `.venv*`, `.cache/huggingface`, `.env`, |
| symlinks. Credentials found in text files were redacted before upload. |
| |
| ## Restore |
| |
| ```bash |
| hf download doanh25032004/vgp_models_code_tar --repo-type model --local-dir ./dl |
| DEST=./models_code; mkdir -p "$DEST" |
| for t in ./dl/shards/*.tar; do tar -xf "$t" -C "$DEST"; done |
| [ -d ./dl/large ] && cp -a ./dl/large/. "$DEST"/ |
| ``` |
| |