refactor fetching resources from huggingface#47
Merged
Sonorous281 merged 5 commits intoJul 23, 2026
Conversation
The resources/ tree (per-env memory snapshot and read-only seed-0 reference corpora) is now hosted on the RLinf/RPent-resources dataset and synced from there instead of being vendored in git. - add rpent/utils/resources.py with ensure_resources(), which incrementally syncs the env subtree each run; set HF_HUB_OFFLINE=1 to use the local copy only. Memory is optional: a missing env or a failed sync is non-fatal - cli: sync resources before building the planner - gitignore resources/ and drop it from tracking - document memory maintenance and its permission model; publishing to the dataset stays a controlled maintainer step with no in-repo upload path
…urces-from-hub # Conflicts: # pyproject.toml # rpent/cli/main.py
Sonorous281
force-pushed
the
refactor/fetch-resources-from-hub
branch
from
July 23, 2026 08:35
c2147b8 to
12d1722
Compare
wilburx813
reviewed
Jul 23, 2026
wilburx813
approved these changes
Jul 23, 2026
Sonorous281
force-pushed
the
refactor/fetch-resources-from-hub
branch
from
July 23, 2026 09:24
bf8c62c to
95015e9
Compare
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.
Move the resources tree out of git and host it on HuggingFace.
https://huggingface.co/datasets/RLinf/RPent-memory