|
Download README.md from tokenintelligence/livecodebench-venv-portable-bundle: direct link, hf CLI and curl.
- Browser
- Download file 2.16 kB
-
https://huggingface.co/datasets/tokenintelligence/livecodebench-venv-portable-bundle/resolve/main/README.md
- Command line
-
hf download hf://datasets/tokenintelligence/livecodebench-venv-portable-bundle/README.md
-
curl -L -o README.md https://huggingface.co/datasets/tokenintelligence/livecodebench-venv-portable-bundle/resolve/main/README.md
2.16 kB
| # LiveCodeBench Portable Venv Bundle | |
| This directory contains a portable transfer bundle for the LiveCodeBench Python environment. | |
| ## Files | |
| - `LiveCodeBench-venv-portable-20260407.tar.zst` | |
| Portable environment archive. | |
| - `LiveCodeBench-venv-portable-20260407.tar.zst.sha256` | |
| SHA256 checksum file for archive verification. | |
| - `restore_livecodebench_venv.sh` | |
| Restore the environment on the target server and rewrite internal absolute paths. | |
| - `send_livecodebench_venv_to_server.sh` | |
| Copy the bundle to a remote server with `scp`. | |
| ## Recommended Workflow | |
| Run from this directory on the source server: | |
| ```bash | |
| cd ~/LiveCodeBench-venv-portable-bundle | |
| bash ./send_livecodebench_venv_to_server.sh user@your-server ~ /data/repos/LiveCodeBench/.venv | |
| ``` | |
| Then restore on the target server: | |
| ```bash | |
| ssh user@your-server 'bash ~/restore_livecodebench_venv.sh ~/LiveCodeBench-venv-portable-20260407.tar.zst /data/repos/LiveCodeBench/.venv' | |
| ``` | |
| ## Manual Workflow | |
| If you prefer to copy files yourself: | |
| ```bash | |
| scp LiveCodeBench-venv-portable-20260407.tar.zst \ | |
| LiveCodeBench-venv-portable-20260407.tar.zst.sha256 \ | |
| restore_livecodebench_venv.sh \ | |
| user@your-server:~ | |
| ``` | |
| Restore manually on the target server: | |
| ```bash | |
| bash ~/restore_livecodebench_venv.sh \ | |
| ~/LiveCodeBench-venv-portable-20260407.tar.zst \ | |
| /data/repos/LiveCodeBench/.venv | |
| ``` | |
| ## What The Restore Script Does | |
| - Verifies the archive checksum when the `.sha256` file is present. | |
| - Extracts the environment. | |
| - Rewrites shebangs and `pyvenv.cfg` for the target path. | |
| - Uses the bundled `.python-home` runtime so the venv does not depend on the original source machine's `uv` Python location. | |
| ## Notes | |
| - The target server should have a compatible Linux userspace. | |
| - Native wheels may still require compatible CPU architecture, `glibc`, `libstdc++`, and CUDA driver/runtime versions. | |
| - The default target path is `/data/repos/LiveCodeBench/.venv`, but you can restore to a different path by passing a different second argument to `restore_livecodebench_venv.sh`. | |
| ## Checksum | |
| Current archive SHA256: | |
| ```text | |
| da52c6e9200a7f14b8fba8d733b0b168f4cdf42c69f328986405b0a53fe5a0a0 | |
| ``` | |