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 CUDAWorker scheduler-address parsing and __init__ #397
Improve CUDAWorker scheduler-address parsing and __init__ #397
Conversation
This means that e.g. setting the environment variable `DASK_SCHEDULER_ADDRESS` will work
Can one of the admins verify this patch? |
2 similar comments
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
For context, setting the The dask-cuda/dask_cuda/cuda_worker.py Lines 130 to 134 in 3811951
that will still catch cases when no scheduler address is specified |
ok to test |
Thank you @necaris and the comment @jrbourbeau ! |
@necaris i made this change on your behalf -- hope you don't mind |
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.
Thanks again @necaris
@quasiben very welcome! |
Codecov Report
@@ Coverage Diff @@
## branch-0.16 #397 +/- ##
===============================================
+ Coverage 60.07% 60.13% +0.05%
===============================================
Files 17 17
Lines 1345 1342 -3
===============================================
- Hits 808 807 -1
+ Misses 537 535 -2
Continue to review full report at Codecov.
|
Allows
scheduler
argument to be optional, and usesdask.config
to check thescheduler-address
rather than dictionary lookup (this allows e.g. environment variables likeDASK_SCHEDULER_ADDRESS
to be correctly parsed)