refactor: fetch resources from HuggingFace#34
Closed
Sonorous281 wants to merge 1 commit into
Closed
Conversation
Sonorous281
force-pushed
the
refactor/fetch-resources-from-hub
branch
from
July 22, 2026 11:41
80dbcfa to
4a50430
Compare
jx-qiu
reviewed
Jul 22, 2026
jx-qiu
left a comment
Collaborator
There was a problem hiding this comment.
Here are some minor suggestions.
Sonorous281
force-pushed
the
refactor/fetch-resources-from-hub
branch
3 times, most recently
from
July 22, 2026 12:56
45bd0f6 to
362da2a
Compare
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
Sonorous281
force-pushed
the
refactor/fetch-resources-from-hub
branch
from
July 23, 2026 02:51
362da2a to
a2f8b85
Compare
jx-qiu
approved these changes
Jul 23, 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.
Move the 'resources/' tree out of git and host it on HuggingFace, fetched on first use.
https://huggingface.co/datasets/RLinf/RPent-memory