-
Notifications
You must be signed in to change notification settings - Fork 8
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
chore: use built-in types #262
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.
LGTM :) I found 1-2 minor issues and left some comments.
When running the test suite there are a few things that stand out: Traceback (most recent call last):
File "/home/operation/modalities_old/tests/tests.py", line 136, in <module>
main(**args)
File "/home/operation/modalities_old/tests/tests.py", line 113, in main
assert isfile(
AssertionError: ERROR! /home/operation/modalities_old/examples/getting_started/run_getting_started_example.sh does not exist. PR #265 fixes this issue. However, the getting_started_example is not working
|
@thomaschhh I wasn't able to reproduce your error. All tests including the getting started example seem to run through using |
I am still getting the same error, however, I cannot test the multi-gpu scenario because I only have access to one and not multiple gpus. I guess that is where the error stems from. |
Yes, that might be what causes the problem. We do not explicitly check that there are 2 GPUs available if you run |
What do you think, can we merge then? I mean if you have access to multiple GPUs and the tests all pass on your end then we should be good, right? |
Yes, we should perhaps merge the latest main into this branch first, double-check that are no new "typing mistakes", and potentially get a quick second review from e.g. @le1nux? |
I just merged main into this feature branch and also saw there that are no occurrences of Dict, List, etc. |
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.
LGTM :)
What does this PR do?
This PR uses built-in types instead of using the ones from the typing module.
It also implements the adherence to PEP 604.
General Changes
Breaking Changes
Checklist before submitting final PR
python tests/tests.py
)CHANGELOG_DEV.md
)