Skip to content
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

Fix NVIDIA_IMEX_CHANNELS handling on legacy images #801

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

elezar
Copy link
Member

@elezar elezar commented Nov 15, 2024

For legacy images (images with a CUDA_VERSION set but no CUDA_REQUIRES set), the default behaviour for device envvars is to treat non-existence as all.

This change ensures that the NVIDIA_IMEX_CHANNELS envvar is not treated in the same way, instead returning no devices if the envvar is not set.

Backports the changes from #799

See #797

For legacy images (images with a CUDA_VERSION set but no CUDA_REQUIRES set), the
default behaviour for device envvars is to treat non-existence as all.

This change ensures that the NVIDIA_IMEX_CHANNELS envvar is not treated in the same
way, instead returning no devices if the envvar is not set.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
@elezar elezar self-assigned this Nov 15, 2024
@elezar elezar requested a review from klueska November 15, 2024 17:58
@elezar elezar merged commit 70ac1e2 into NVIDIA:release-1.17 Nov 15, 2024
8 checks passed
@elezar elezar deleted the fix-legacy-nvidia-imex-channels branch December 4, 2024 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants