Repository navigation
Fix GROOT N1.7 calibration public API signature - #101
Merged
LiangSu8899 merged 1 commit intoJun 21, 2026
Merged
LiangSu8899 merged 1 commit into
LiangSu8899 merged 1 commit into
Conversation
Align GrootN17TorchFrontendThor.calibrate with the public VLAModel.calibrate keyword set by accepting max_samples and applying it before sample counting. Refresh the implicit_calibrate shim wording now that native Thor multi-sample paths exist, and document VLAModel.calibrate in the stable API. Add CPU-only calibration API contract tests for max_samples forwarding, GROOT N1.7 signature compatibility, and the single-sample shim error contract. Validation: py_compile targeted modules; pytest tests/test_calibration_api.py tests/test_calibration_helpers.py -q; git diff --check.
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
GrootN17TorchFrontendThor.calibrate()with the publicVLAModel.calibrate(..., max_samples=...)keyword setmax_samplesbefore GROOT N1.7 calibration sample counting, matching the other calibration frontendsVLAModel.calibrate(...)indocs/stable_api.mdand refresh the public wrapper docstringimplicit_calibrate()message so it describes the shim as single-sample only instead of saying Thor multi-sample support is future workValidation
Result:
Notes