docs(wsl): add end-to-end LIBERO eval on WSL2#17
Open
VatsalyaBhadaurya wants to merge 2 commits into
Open
Conversation
Document running the full serving stack (vla-server + LIBERO client) inside a single WSL2 distro, so the sim reset/render -> preprocess -> inference -> action -> video loop runs on one Windows machine with no separate Linux host. Key WSL-specific findings: work from the Linux filesystem (not /mnt) for uv/venv reliability; add the user to the 'render' group so MuJoCo EGL can open /dev/dri/renderD128 instead of falling back to software rendering; set UV_LINK_MODE=copy + a home cache. Verified on Ubuntu 24.04 + RTX 4050: libero_object task 0 succeeds end-to-end (is_success: True) with a rendered MP4. Also drops the stale patches/patch.sh reference (CMake now fetches llama.cpp automatically).
Wraps vla-server startup + one client run + cleanup for the WSL2 serving stack. Takes task-id and episode count as args, or prompts for them interactively; model/suite/output overridable via env. Repo-relative paths and preflight checks for the server binary, LIBERO venv, and GGUF. Referenced from docs/backend/wsl.md. Verified on Ubuntu 24.04 + RTX 4050: libero_object task 0 succeeds end-to-end.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds
Follow-up to #12. Documents running the full serving stack (
vla-server+ LIBERO client) inside a single WSL2 distro, so the complete loop — sim reset/render → client preprocess →vla-serverinference → action → sim step → video — runs on one Windows machine with no separate Linux host.docs/backend/wsl.md, plus a SmolVLA / RTX 4050 result table.eval/run_libero_wsl.sh— a one-command runner that startsvla-server, waits for ready, drives one client run, and stops the server on exit. Takes task-id and episode count as args, or prompts for them; model/suite/output overridable via env.patches/patch.shreference (CMake fetches llama.cpp automatically now).Key WSL-specific findings
/mnt—uv/venv installs are unreliable on drvfs; clone into~and run there.rendergroup so MuJoCo EGL can open/dev/dri/renderD128instead of falling back to software rendering (Permission denied -> kms_swrast).UV_LINK_MODE=copy+ a home-dir cache souvdoes not hardlink across filesystems.Usage
Smoke episode
wsl_smoke_episode.mp4