Repository navigation
Document Pi0.5 JAX FP4 Thor validation - #100
Merged
LiangSu8899 merged 2 commits intoJun 21, 2026
Merged
Conversation
Align README, USAGE, stable API, and load_model docstring with the existing Pi0.5 JAX NVFP4 Thor route. The docs now distinguish torch safetensors from JAX Orbax checkpoints and keep the Thor benchmark numbers scoped to correctness and availability evidence instead of a broad performance claim. Add a CPU-only load_model routing regression that injects fake FP4/JAX frontend modules and verifies config='pi05', framework='jax', hardware='thor', use_fp4=True selects Pi05JaxFrontendThorFP4 with the production preset kwargs. This PR does not include Orbax loader, kernel, CMake, pybind, or runtime kernel changes.
LiangSu8899
approved these changes
Jun 21, 2026
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.
Summary
load_model()docs with the existing Pi0.5 JAX NVFP4 Thor route.use_fp4=Trueas not wired up / FP8-only.load_model(config="pi05", framework="jax", hardware="thor", use_fp4=True)selectsPi05JaxFrontendThorFP4and forwards the production preset kwargs.Dependency
This docs / route-test PR depends on the Orbax StepMetadata loader fix in #99 for full Thor JAX Orbax checkpoint validation in the current CUDA13-era JAX / Orbax stack.
This PR itself does not include the loader changes from #99.
Validation
Local static check:
Local route regression:
Whitespace:
Thor validation performed during development with #99 applied:
Same-origin PyTorch reference:
The reference was generated from the same
pi05_libero_jaxOrbax checkpoint used on Thor via the upstream OpenPI conversion script andPI0Pytorch.sample_actions; it is not the separate HF / LeRobot safetensors checkpoint.Thor replay-latency / precision checks:
Limits / Notes
tests/test_thor_calibrate_matrix.py --models pi05_jax_fp4 --n 8were not rerun for this docs PR.