-
Notifications
You must be signed in to change notification settings - Fork 917
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
Fix/ptl fixes #806
Fix/ptl fixes #806
Conversation
Codecov Report
@@ Coverage Diff @@
## master #806 +/- ##
==========================================
+ Coverage 91.04% 91.34% +0.29%
==========================================
Files 69 69
Lines 6858 6864 +6
==========================================
+ Hits 6244 6270 +26
+ Misses 614 594 -20
Continue to review full report at Codecov.
|
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.
Nice, thanks!
.. deprecated:: v0.17.0 | ||
``torch_device_str`` has been deprecated in v0.17.0 and will be removed in a future version. | ||
Instead, specify this with keys ``"accelerator", "gpus", "auto_select_gpus"`` in your | ||
``pl_trainer_kwargs`` dict. For more info, see here: |
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.
Could you maybe write down which device will be used by default?
Also, you could maybe add a small example here. e.g. "use: gpus=-1
to use all available GPUs" or something along those lines. Or maybe using "auto"?
@staticmethod | ||
def _extract_torch_model_params(**kwargs): | ||
@classmethod | ||
def _validate_model_kwargs(cls, **kwargs): |
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.
👍
Addresses #802, #801
Summary
fixes:
adds: