-
Notifications
You must be signed in to change notification settings - Fork 393
[Feature] Add support for loading datasets from local Minari cache #3068
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
26aa0ff
[Feature] Add support for loading datasets from local Minari cache
Ibinarriaga8 a56c508
[Refactor] Fixed linting errors
Ibinarriaga8 e90f4d0
[Refactor] moved minari import to local scope
Ibinarriaga8 cc43f9a
[Refactor] Refactor Minari testing to use custom datasets
Ibinarriaga8 23aecec
[Fix] eliminate global imports for test_libs
Ibinarriaga8 9321adb
[Refactor] Reduce dataset index range in Minari tests
Ibinarriaga8 a4993c3
Merge branch 'pytorch:main' into main
Ibinarriaga8 08779c2
Merge branch 'pytorch:main' into main
Ibinarriaga8 0ab8f81
[Enhancement] Update minari environment.yml and refactored minari test
Ibinarriaga8 01965f4
[Refactor] Reduced datasets for minari tests
Ibinarriaga8 dcd06b2
[Enhancement] Update environment.yml minari dependencies
Ibinarriaga8 88b3dbe
[Enhancement] Added minari environment.yml dependencies
Ibinarriaga8 5983008
[Enhancement] Update dataset fetching to retrieve 2 random datasets a…
Ibinarriaga8 c532070
[Fix] Resolved mujoco-py version
Ibinarriaga8 c5b12b9
[Feature] Add support for loading datasets from local Minari cache
Ibinarriaga8 5e0fca8
[Refactor] Fixed linting errors
Ibinarriaga8 d7c9aae
[Refactor] moved minari import to local scope
Ibinarriaga8 52f94bd
[Refactor] Refactor Minari testing to use custom datasets
Ibinarriaga8 4965ba3
[Fix] eliminate global imports for test_libs
Ibinarriaga8 a78f660
[Refactor] Reduce dataset index range in Minari tests
Ibinarriaga8 eb99021
[Enhancement] Update minari environment.yml and refactored minari test
Ibinarriaga8 40d54df
[Refactor] Reduced datasets for minari tests
Ibinarriaga8 d81b32f
conda -> uv
vmoens 4b4c524
Merge remote-tracking branch 'origin/main'
Ibinarriaga8 2ddce39
Updated gym version
Ibinarriaga8 51c0167
Updated requirements
Ibinarriaga8 be40b1c
Fixes
vmoens File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
20 changes: 20 additions & 0 deletions
20
.github/unittest/linux_libs/scripts_minari/requirements.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
hypothesis | ||
future | ||
cloudpickle | ||
pytest | ||
pytest-cov | ||
pytest-mock | ||
pytest-instafail | ||
pytest-rerunfailures | ||
pytest-error-for-skips | ||
pytest-asyncio | ||
expecttest | ||
pybind11[global] | ||
pyyaml | ||
scipy | ||
hydra-core | ||
minari[gcs,hdf5,hf,create] | ||
gymnasium>=1.2.0 | ||
ale-py | ||
gymnasium-robotics | ||
mujoco |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euxo pipefail | ||
|
||
# Run all minari test scripts in sequence, sourcing each one to maintain environment state | ||
this_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | ||
|
||
echo "Running minari tests with uv-based setup..." | ||
|
||
# Source each script in sequence to maintain environment state | ||
source "${this_dir}/setup_env.sh" | ||
source "${this_dir}/install.sh" | ||
source "${this_dir}/run_test.sh" | ||
source "${this_dir}/post_process.sh" | ||
|
||
echo "Minari tests completed successfully!" |
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added new dependencies