-
Notifications
You must be signed in to change notification settings - Fork 92
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
Improve documentation of device-related methods and docs regarding GPU usage #1185
Conversation
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.
Overall good start, thanks! However, we need to document more than just .amp
. Please take a look at the helpers/device.py
file, too.
lightwood/helpers/torch.py
Outdated
""" | ||
active = False | ||
|
||
def __init__(self, enabled=True): | ||
""" | ||
Enters the context manager and enables AMP if it is not already enabled. |
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.
Seems like a duplicate of __entry__
, please fix.
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.
This is still pending a fix.
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.
The new docstrings are great! We still need a few fixes before merging, I've highlighted them.
@rajveer43 also, take a close look at the failing test. It provides details on where the linting process is failing. You should be able to reproduce this locally by running |
I wonder why this deploy workflow skipped? any idea..would love to learn about it!
|
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.
Some pending issues to fix before merging
To answer your question, the deploy workflow only triggers when merging into the |
I was away for a long weekend! will do it asap! Can you tell me more issues to work upon of any repo of |
Looks good, thanks for your contribution @rajveer43! As for MindsDB, look for the |
Close #909