-
Notifications
You must be signed in to change notification settings - Fork 7k
[RLlib] Overhaul of the typing module & better device typing #55291
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
+204
−122
Merged
Changes from 12 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
aeb5387
Overhaul typing submodule
Daraan e97c7b0
Use better torch DeviceType in data
Daraan 81d7271
Update Runner interface with more precise Device typing
Daraan 1b89882
fixup old style
Daraan f27bf95
Update DeviceType doc
Daraan 1e0822d
Remove duplicate comment
Daraan e981c6f
Fix missing guard
Daraan 012bedd
Add more string guards on older for older versions
Daraan e832e0d
Add DeviceType for NumpyToTensor
Daraan 4b6a378
Merge branch 'master' into fix-tensor-type
Daraan dd828ac
Merge branch 'master' into fix-tensor-type
Daraan 8e2ed7c
Merge branch 'master' into fix-tensor-type
kamil-kaczmarek 7fc842a
Merge branch 'master' into fix-tensor-type
kamil-kaczmarek 5a2be91
Merge branch 'master' into fix-tensor-type
Daraan 58a79c1
typing: torch devices as internal alias
Daraan 95b7396
Merge remote-tracking branch 'origin/fix-tensor-type' into fix-tensor…
Daraan 336e51b
Merge branch 'master' into fix-tensor-type
kamil-kaczmarek 676ea71
revert changes to data
Daraan 9dbe2c8
Move tensor types to DeviceType
Daraan 33fd7ab
Merge branch 'master' into fix-tensor-type
Daraan 7bfd886
Merge branch 'master' into fix-tensor-type
kamil-kaczmarek 5050a4c
Merge branch 'master' into fix-tensor-type
kamil-kaczmarek 522bab8
Merge branch 'master' into fix-tensor-type
kamil-kaczmarek 4bf43eb
Merge branch 'master' into fix-tensor-type
Daraan ae2e422
Merge branch 'master' into fix-tensor-type
Daraan b9bd7d9
Merge branch 'master' into fix-tensor-type
kamil-kaczmarek f5d96f5
sort imports
Daraan a99d49f
Merge branch 'master' into fix-tensor-type
Daraan 46731ec
Merge branch 'master' into fix-tensor-type
kamil-kaczmarek 3af8145
Merge branch 'master' into fix-tensor-type
Daraan 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
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.
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.
Uh oh!
There was an error while loading. Please reload this page.