-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
feat: accept UUID in CUDA_VISIBLE_DEVICES round robin assignment #5360
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5360 +/- ##
==========================================
+ Coverage 86.72% 86.83% +0.10%
==========================================
Files 99 99
Lines 6488 6494 +6
==========================================
+ Hits 5627 5639 +12
+ Misses 861 855 -6
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Co-authored-by: Alex Cureton-Griffiths <[email protected]>
📝 Docs are deployed on https://feat-RR-UUID--jina-docs.netlify.app 🎉 |
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
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 👍
int(parts[0]) | ||
except: | ||
use_uuids = True | ||
|
||
if not use_uuids: | ||
return [int(p) for p in parts] | ||
else: | ||
return parts |
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.
Is it supported to have only some parts as UUID? Should we do this check for every part?
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.
I understand that if u pass the first as UUID, all of them will, other checks feel like overkill
Goals:
Accept UUID assignment when
ROUND-ROBIN
assignment ofCUDA_VISIBLE_DEVICES
.