Skip to content

Document Thor GROOT N1.7 multi-sample calibration - #98

Merged
LiangSu8899 merged 1 commit into
flashrt-project:mainfrom
heiheiha798:docs/thor-groot-n17-calibration
Jun 21, 2026
Merged

LiangSu8899 merged 1 commit into
flashrt-project:mainfrom
heiheiha798:docs/thor-groot-n17-calibration

Conversation

@heiheiha798

Copy link
Copy Markdown
Contributor

Summary

  • Document the validated GROOT N1.7 Thor N=8 multi-sample percentile calibration path in the public calibration docs and support table.
  • Clarify that GROOT N1.7 Thor calibration is aux-list driven: set_prompt(aux=deployment_aux) selects the deployment prompt, while calibrate(aux_list, percentile=99.9) uses pre-captured aux samples for FP8 scale headroom.
  • Add Jetson AGX Thor calibration evidence for the focused tests/test_thor_groot_n17_calibrate.py --ns 1,8 regression.

Validation Environment

  • Hardware: Jetson AGX Thor / SM110
  • CUDA capability: (11, 0)
  • NVIDIA driver: 580.65.06
  • CUDA toolkit: 13.0.0 (nvcc V13.0.48)
  • cuBLASLt runtime: 130100
  • Python: 3.12.0
  • PyTorch: 2.10.0
  • PyTorch CUDA: 13.0
  • Conda env: /home/nvidia/tianjianyang/conda/envs/flashrt-thor
  • Test checkout: /home/nvidia/tianjianyang/FlashRT
  • Build flags from build-thor-sm110/CMakeCache.txt: GPU_ARCH=110, FA2_ARCH_NATIVE_ONLY=OFF, CMAKE_CUDA_ARCHITECTURES=75
  • Source-built extension imports used by this validation: flash_rt.flash_rt_kernels and flash_rt.flash_rt_fp4 imported from /home/nvidia/tianjianyang/FlashRT/flash_rt/*.so
  • GROOT N1.7 checkpoint: /home/nvidia/tianjianyang/models/vla/gr00t_n17/checkpoints/GR00T-N1.7-3B
  • Aux/reference fixtures: /home/nvidia/tianjianyang/models/vla/gr00t_n17/fixtures
  • Isaac-GR00T dependency: /home/nvidia/tianjianyang/Isaac-GR00T

Validation Command

cd /home/nvidia/tianjianyang/FlashRT
bash scripts/run_thor_test.sh bash -lc '
set -euo pipefail
export USE_TF=0
export TRANSFORMERS_NO_TF=1
export USE_FLAX=0
export TRANSFORMERS_NO_FLAX=1
export HF_HOME=/home/nvidia/tianjianyang/.cache/huggingface
export GROOT_N17_CKPT=/home/nvidia/tianjianyang/models/vla/gr00t_n17/checkpoints/GR00T-N1.7-3B
export GROOT_N17_FX=/home/nvidia/tianjianyang/models/vla/gr00t_n17/fixtures/gr00t_n17_ref_oxe_droid_relative_eef_relative_joint_2v_traj1_step0_seed0.pt
export GROOT_N17_AUX=/home/nvidia/tianjianyang/models/vla/gr00t_n17/fixtures/gr00t_n17_ref_oxe_droid_relative_eef_relative_joint_2v_traj1_step0_seed0_llm_aux.pt
export GROOT_N17_AUX_LIST=/home/nvidia/tianjianyang/models/vla/gr00t_n17/fixtures/gr00t_n17_aux_list_n8.pt
export PYTHONPATH=/home/nvidia/tianjianyang/Isaac-GR00T:${PYTHONPATH:-}
export GROOT_HF_LOCAL_FIRST=1
export GROOT_PATCH_MISTRAL=1
export TRANSFORMERS_OFFLINE=1
export HF_HUB_OFFLINE=1
export NO_ALBUMENTATIONS_UPDATE=1
python tests/test_thor_groot_n17_calibrate.py --ns 1,8
'

Validation Results

N=1    [PASS]  cos=0.99998  calibrate_ms=3.2
N=8    [PASS]  cos=0.99998  calibrate_ms=7356.7

Detailed rows:

N=1: cos_vs_ref=0.99998 maxdiff=0.0244 calibrate_ms=3.2    wall_clock_pipe_infer_P50=35.1ms spec_entries=206
N=8: cos_vs_ref=0.99998 maxdiff=0.0244 calibrate_ms=7356.7 wall_clock_pipe_infer_P50=34.7ms spec_entries=206

The N=8 run wrote a precision_spec with calibration_method=percentile, positive finite scales, and 206 entries. The reported P50 is warm wall-clock pipe.infer(...) latency over 10 iterations from the regression script, not CUDA Graph replay-only latency.

Limitations / Not Covered

  • This is a documentation and validation-evidence PR only. It does not change runtime code, kernels, CMake, pybind bindings, or fallback behavior.
  • This validates groot_n17_thor with aux-list samples only.
  • This does not validate the older GROOT N1.6 groot_thor N>=2 path; that still needs tests/test_thor_groot_calibrate.py --ns 1,8 with N1.6 assets before being used as deployment evidence.
  • This does not add new validation for non-FP4 JAX Thor frontends.
  • This does not make an SM89 or RTX claim.
  • This does not validate real-robot deployment behavior.

CONTRIBUTING.md Checklist

  • Docs updated for a supported-hardware / calibration-support claim: USAGE.md, docs/calibration.md.
  • Exact hardware, driver/toolkit versions, build flags, runtime environment, command line, precision, and wall-clock latency evidence are included above.
  • CMake / kernel binding build+import matrix: not applicable for this diff because no CMake, pybind, or kernel source changed. The validation did run in a source-built Thor env with GPU_ARCH=110; the runtime extensions used by the test imported successfully as listed above.
  • Unsupported / unverified areas are listed above.

@heiheiha798
heiheiha798 requested a review from LiangSu8899 as a code owner June 21, 2026 09:52
Copilot AI review requested due to automatic review settings June 21, 2026 09:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@LiangSu8899 LiangSu8899 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool

@LiangSu8899
LiangSu8899 merged commit a3fda9f into flashrt-project:main Jun 21, 2026
@heiheiha798
heiheiha798 deleted the docs/thor-groot-n17-calibration branch June 21, 2026 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants