Publish evaluation image after clean build and CPU checks
Browse files- README.md +83 -0
- container-check.json +28 -0
- robodemo-evaluation-cu124-amd64.tar.gz +3 -0
README.md
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: upstream-component-licenses
|
| 4 |
+
license_link: https://github.com/robodemo-2027/RoboDemo/blob/main/NOTICE.md
|
| 5 |
+
tags:
|
| 6 |
+
- robotics
|
| 7 |
+
- docker
|
| 8 |
+
- evaluation
|
| 9 |
+
---
|
| 10 |
+
# RoboDemo Evaluation Image
|
| 11 |
+
|
| 12 |
+
A Linux **amd64** Docker image shared by all five RoboDemo checkpoints.
|
| 13 |
+
It contains the pinned Python/CUDA/PyTorch environment and Imitator Game
|
| 14 |
+
simulator source. Dataset assets and model weights are mounted separately.
|
| 15 |
+
|
| 16 |
+
## 1. Load The Image
|
| 17 |
+
|
| 18 |
+
On a Linux x86-64 GPU host with Docker and NVIDIA Container Toolkit:
|
| 19 |
+
|
| 20 |
+
```bash
|
| 21 |
+
curl -fL https://huggingface.co/mxk1998/RoboDemo-Docker/resolve/main/robodemo-evaluation-cu124-amd64.tar.gz \
|
| 22 |
+
| gzip -d | docker load
|
| 23 |
+
docker run --rm --gpus all robodemo-evaluation:cu124
|
| 24 |
+
```
|
| 25 |
+
|
| 26 |
+
The streaming command avoids keeping a second copy of the image archive.
|
| 27 |
+
Docker still needs disk space for the unpacked image.
|
| 28 |
+
|
| 29 |
+
## 2. Mount Data And Models
|
| 30 |
+
|
| 31 |
+
Clone [RoboDemo](https://github.com/robodemo-2027/RoboDemo) and follow its
|
| 32 |
+
[data and encoder setup](https://github.com/robodemo-2027/RoboDemo/blob/main/docs/quickstart.md#3-prepare-the-benchmark-and-encoders).
|
| 33 |
+
The shared asset directory contains `IG-10K-Dataset/`, `maniskill/`,
|
| 34 |
+
`Qwen3-VL-4B-Instruct/`, `vjepa2/`, and `vjepa2-ac-vitg.pt`.
|
| 35 |
+
Put a released checkpoint in `checkpoints/RoboDemo-c15/pytorch_model.pt`.
|
| 36 |
+
|
| 37 |
+
```bash
|
| 38 |
+
cd RoboDemo
|
| 39 |
+
export ROBODEMO_HOST_ASSETS=/data/robodemo-assets
|
| 40 |
+
export ROBODEMO_HOST_OUTPUTS="$PWD/outputs"
|
| 41 |
+
export ROBODEMO_GPU=0
|
| 42 |
+
mkdir -p "$ROBODEMO_HOST_OUTPUTS"
|
| 43 |
+
|
| 44 |
+
docker compose -f environments/docker-compose.yml run --rm evaluation \
|
| 45 |
+
python environments/check_environment.py --assets
|
| 46 |
+
```
|
| 47 |
+
|
| 48 |
+
## 3. Evaluate A Checkpoint
|
| 49 |
+
|
| 50 |
+
```bash
|
| 51 |
+
docker compose -f environments/docker-compose.yml run --rm evaluation \
|
| 52 |
+
bash scripts/evaluate/c15-single.sh \
|
| 53 |
+
--checkpoint checkpoints/RoboDemo-c15/pytorch_model.pt \
|
| 54 |
+
--data-root /assets/IG-10K-Dataset --workers-per-gpu 1 --max-episodes 1 \
|
| 55 |
+
--output /outputs/c15-smoke
|
| 56 |
+
```
|
| 57 |
+
|
| 58 |
+
Replace `c15` with `full50`, `c30`, `c45` or `c15-wo` and its checkpoint.
|
| 59 |
+
Remove `--max-episodes` for the complete trial plan.
|
| 60 |
+
[GPU sizing](https://github.com/robodemo-2027/RoboDemo/blob/main/docs/evaluation-scaling.md)
|
| 61 |
+
recommends one worker on 32 GB or two on 80 GB, based on H200 process-memory
|
| 62 |
+
measurements. The Compose example allocates one GPU.
|
| 63 |
+
|
| 64 |
+
For driver setup and diagnostics, use the
|
| 65 |
+
[environment guide](https://github.com/robodemo-2027/RoboDemo/tree/main/environments).
|
| 66 |
+
The reproducible [Dockerfile](https://github.com/robodemo-2027/RoboDemo/blob/main/environments/Dockerfile)
|
| 67 |
+
is maintained in GitHub.
|
| 68 |
+
|
| 69 |
+
## Validation
|
| 70 |
+
|
| 71 |
+
The image completed a clean build and CPU import/package checks.
|
| 72 |
+
`container-check.json` contains those results. This build job has no GPU:
|
| 73 |
+
it does **not** establish GPU rendering compatibility. Run the documented
|
| 74 |
+
GPU/asset checks and a complete episode on the deployment host.
|
| 75 |
+
|
| 76 |
+
The host supplies its NVIDIA driver, NVIDIA Container Toolkit, Vulkan
|
| 77 |
+
discovery and matching OptiX runtime. Do not install a kernel driver inside
|
| 78 |
+
the image.
|
| 79 |
+
|
| 80 |
+
## Licenses
|
| 81 |
+
|
| 82 |
+
Bundled CUDA, Python, simulator and dependency packages retain their upstream
|
| 83 |
+
licenses. RoboDemo code is distributed separately under the MIT license.
|
container-check.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"python": "3.10.20",
|
| 3 |
+
"packages": {
|
| 4 |
+
"torch": "2.6.0+cu124",
|
| 5 |
+
"torchvision": "0.21.0+cu124",
|
| 6 |
+
"transformers": "4.57.6",
|
| 7 |
+
"flash-attn": "2.7.4.post1",
|
| 8 |
+
"sapien": "3.0.3",
|
| 9 |
+
"gymnasium": "0.29.1",
|
| 10 |
+
"numpy": "1.26.4",
|
| 11 |
+
"av": "12.3.0",
|
| 12 |
+
"triton": "3.2.0",
|
| 13 |
+
"pytorch-kinematics": "0.7.5",
|
| 14 |
+
"fast-kinematics": "0.2.2",
|
| 15 |
+
"mplib": "0.1.1"
|
| 16 |
+
},
|
| 17 |
+
"checks": {
|
| 18 |
+
"import_torch": true,
|
| 19 |
+
"import_transformers": true,
|
| 20 |
+
"import_sapien": true,
|
| 21 |
+
"import_gymnasium": true,
|
| 22 |
+
"import_pytorch_kinematics": true,
|
| 23 |
+
"import_fast_kinematics": true,
|
| 24 |
+
"import_mani_skill.envs": true
|
| 25 |
+
},
|
| 26 |
+
"errors": [],
|
| 27 |
+
"passed": true
|
| 28 |
+
}
|
robodemo-evaluation-cu124-amd64.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ea9074a8bb886698f0b549377f70619a6deb0690752be32daa9a371cab9e6043
|
| 3 |
+
size 11723560187
|