-
Notifications
You must be signed in to change notification settings - Fork 326
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
[Feature] Make torchrl runnable without functorch and with gym==0.13 #386
Conversation
# Conflicts: # torchrl/modules/functional_modules.py
Codecov Report
@@ Coverage Diff @@
## main #386 +/- ##
==========================================
- Coverage 87.45% 86.59% -0.87%
==========================================
Files 124 124
Lines 22850 23313 +463
==========================================
+ Hits 19984 20187 +203
- Misses 2866 3126 +260
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠞⠁⠈⢣⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⣀⣤⣼⡀⠀⠀⠘⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⡏⠀⠈⠹⣦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠹⡄⠀⠀⣘⣷⠲⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠹⡆⠊⠁⠈⢿⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⢹⡀⠀⠀⠸⣇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⡾⣇⠀⠈⠀⠸⣆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⢀⣠⣤⣄⠀⡇⢸⡄⠀⠀⠀⠻⣆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⣾⠀⠀⠈⢷⡇⢠⣿⣄⣠⠄⠀⠹⡆⠀⠀⠀⠀⠀⠀⠀⢀⣀⠤⠤⢄⡀ ⠀⣀⣀⢻⡄⠀⠀⠘⡇⠀⠀⠀⠀⠀⠀⠀⠘⡄⠀⠀⠀⠀⢠⡞⠉⠀⠀⣠⢴⡿ ⠸⠋⠉⠙⢿⣤⠤⠀⠹⡀⠀⠀⠀⠀⠀⠀⠀⠹⡀⠀⠀⣰⠋⠉⠀⢀⡼⠛⠉⠀ ⣶⢶⣄⡠⠂⠉⠲⣀⣀⣱⡀⠀⠀⠀⠀⠀⠀⠀⢳⠀⣰⠣⡀⠀⣠⡏⠀⠀⠀⠀ ⢹⠠⠜⠛⢦⣰⡞⢛⣧⣠⡿⠀⠀⠀⠀⠀⠀⣀⣿⠞⠁⠀⠀⢀⡏⠀⠀⠀⠀⠀ ⢸⡄⠀⣀⡤⠈⠉⠉⠉⠉⠀⠀⠀⠀⠀⠠⠞⠉⠀⠀⠀⠀⠀⢸⠁⠀⠀⠀⠀⠀ ⠀⣏⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⡴⠋⠀⠀⠀⠀⠀⠀⠀⢀⡞⠀⠀⠀⠀⠀⠀ ⠀⢿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡜⠁⠀⠀⠀⠀⠀⠀⠀⢀⡟⠀⠀⠀⠀⠀⠀⠀ ⠀⠸⡆⠀⠀⠀⠀⠀⠀⠀⠀⢸⠁⠀⠀⠀⠀⠀⠀⠀⠀⡼⠁⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⢳⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣰⠇⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⢇⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⣰⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠘⡆⠀⠀⠀⠀⠀⠀⠈⠢⣄⣀⣀⠀⢠⡞⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⢹⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠸⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⢠⣇⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠛⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠈⣋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
Description
Ensures backward compatibility with torch 1.10.0 and gym 0.13.
Motivated by projects that work with polymetis.