-
Notifications
You must be signed in to change notification settings - Fork 183
BUILD: Fix UCX GPU device API detection #990
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
base: main
Are you sure you want to change the base?
Conversation
|
👋 Hi michal-shalev! Thank you for contributing to ai-dynamo/nixl. Your PR reviewers will review your contribution then trigger the CI to test your changes. 🚀 |
|
/build |
Signed-off-by: Michal Shalev <[email protected]>
e915948 to
f1aefa4
Compare
|
/build |
|
/build |
meson.build
Outdated
| nvcc_cmd = find_program('nvcc', required: false) | ||
| if nvcc_cmd.found() |
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.
why do we still need it?
on line 107 we use the same version comparision without nvcc_cmd
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.
removed
Signed-off-by: Michal Shalev <[email protected]>
meson.build
Outdated
| # DOCA GPUNETIO | ||
| if nvcc.version().version_compare('>=12.8') and nvcc.version().version_compare('<13.0') | ||
| doca_gpunetio_dep = dependency('doca-gpunetio', required : false) | ||
| else | ||
| warning('CUDA version = ' + nvcc.version() + ', GPUNETIO plugin will be disabled') | ||
| doca_gpunetio_dep = disabler() | ||
| endif |
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.
can we now delete it since it looks exactly the same as lines 107-112
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.
yes, removed
Signed-off-by: Michal Shalev <[email protected]>
|
/build |
|
failure looks related |
What?
Fixes UCX GPU Device API detection.
Why?
The UCX GPU-side compilation check was failing because:
doca_gpunetio_dev_verbs_qp.cuh), but the compilation check wasn't passing the DOCA dependencyWithout these fixes,
HAVE_UCX_GPU_DEVICE_APIwas not defined even when all requirements were met.How?
nvcc.version()instead ofnvcc_cmd.version()for reliable version detectiondoca_gpunetio_depto the UCX GPU-side compilation check dependencies