Skip to content

fix(metasim): a wheel installed anywhere scores a suite; no TorchScript warning on start; release notes - #904

Merged
geng-haoran merged 6 commits into
mainfrom
feat/package-paths
Nov 30, 2026
Merged

geng-haoran merged 6 commits into
mainfrom
feat/package-paths

Conversation

@geng-haoran

Copy link
Copy Markdown
Collaborator

From checking the built wheels in a fresh virtual environment (the lock installed with pip, both wheels on top), run from a directory outside the repository:

  • Instance sets resolve from any directory. The sets are roboverse_pack/suites/instances/..., relative to the repository root; a wheel installed elsewhere found none and bench suite run reported every task missing. A relative path whose first segment is an importable package (not roboverse_data) is now also looked up next to that package's installed location (metasim.utils.hf_util.shipped_path, used by the asset, directory and demo-file resolvers) and is never fetched from the Hub. With the fixed wheel, all five tasks score on their sets from /tmp: pool 50, notes.demos recorded, manifest clean.
  • No FutureWarning on every start. torch 2.15 deprecates torch.jit.script and warned at import from metasim/utils/math.py; the 32 decorators are gone (the functions run as plain Python with the same results: a two-episode pick_cube replay gives the same outcome and step counts). A test imports the bench with warnings as errors.
  • Docs: how the lock installs (pip; uv needs --index-strategy unsafe-best-match), the episode caps of the frozen sets (lift_peg_upright is now 738), the results README aligned with the gate and the verifier, and the release checklist names both changelogs, the manifest and lock checks, and the wheel check.

Verified: MetaSim general 972 passed; suite, leaderboard, release-tool and verifier tests 29 passed; pre-commit clean; Sphinx builds; the fresh-venv suite run above.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG

geng-haoran and others added 6 commits November 30, 2026 02:47
… any directory

The instance sets are `roboverse_pack/suites/instances/...`, relative to the
repository root. A checkout run from its root finds them in the working
directory; a wheel installed elsewhere did not, and `bench suite run` from
another directory reported every task missing. A relative path whose first
segment is an importable package (not roboverse_data) is now also looked up
next to that package's installed location, by the asset, directory and
demo-file resolvers, and is never fetched from the Hub. Verified with the
built wheels in a fresh venv from a directory outside the repository: all
five tasks score on their sets.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…e-best-match)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…FutureWarning

torch >= 2.15 deprecates torch.jit.script and warns at decoration time, so
every `python -m metasim` start greeted the user with a FutureWarning from
metasim/utils/math.py. The 32 decorators are removed; the functions run as
plain Python with the same results. A test imports the bench with warnings as
errors.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…lock checks, and the wheel check

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
@geng-haoran
geng-haoran merged commit 9ddb2cd into main Nov 30, 2026
10 checks passed
JadeCong pushed a commit to CloudEngineHub/RoboVerse that referenced this pull request Nov 30, 2026
…oVerseOrg#904 into 1.0.0 (RoboVerseOrg#906)

v1.0.0 is still untagged, so the instance sets, the hardened gate, the wheel
check and the package-path resolution belong to the first release. Both
[Unreleased] sections are empty again, which release.yml requires.


Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
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.

1 participant