-
Notifications
You must be signed in to change notification settings - Fork 96
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
Add device memory limit argument to benchmarks #683
Add device memory limit argument to benchmarks #683
Conversation
rerun tests |
Codecov Report
@@ Coverage Diff @@
## branch-21.10 #683 +/- ##
================================================
+ Coverage 87.83% 90.30% +2.47%
================================================
Files 15 15
Lines 1652 1651 -1
================================================
+ Hits 1451 1491 +40
+ Misses 201 160 -41
Continue to review full report at Codecov.
|
dask_cuda/benchmarks/utils.py
Outdated
@@ -202,6 +212,8 @@ def get_cluster_options(args): | |||
worker_options["enable_infiniband"] = "" | |||
if args.enable_rdmacm: | |||
worker_options["enable_rdmacm"] = "" | |||
if args.device_memory_limit: | |||
worker_options["device_memory_limit"] = "" |
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.
Now it's missing the value to be assigned, which I believe should be args.device_memory_limit
.
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, thanks @charlesbluca !
@gpucibot merge |
Adds a
--device-memory-limit
argument to the benchmark utils, to set a device memory limit on the instantiatedLocalCUDACluster
. This can be helpful when we want to force spilling to host (for context, I am doing this while benchmarking pack/unpack serialization).