-
Notifications
You must be signed in to change notification settings - Fork 1.2k
hotfix:fix test failure in cuda environment #289
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #289 +/- ##
=======================================
Coverage 94.39% 94.40%
=======================================
Files 45 45
Lines 2892 2894 +2
=======================================
+ Hits 2730 2732 +2
Misses 162 162
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
finished I think, ready for review |
Throw a warning in ListReplayBuffer. This version update is needed because of thu-ml#289, the previous v0.3.1 cannot work well under torch<=1.6.0 with cuda environment.
For now, if you run
pytest test --cov tianshou -s --durations 0 -v
on a gpu mechine, it will raise error(due to cuda/cpu data conversion)This pr fix that.