Skip to content

Conversation

rparolin
Copy link
Collaborator

@rparolin rparolin commented Oct 11, 2025

Skipping VirtualMemoryResource tests on WSL

When running the VirtualMemoryResources tests under the Windows Subsystem for Linux (WSL) allocation requests throw the following error:

>   raise CUDAError(f"{name.decode()}: {expl}")
E   cuda.core.experimental._utils.cuda_utils.CUDAError: CUDA_ERROR_INVALID_DEVICE: This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device or that the action requested is invalid for the specified device.

cuda/core/experimental/_utils/cuda_utils.pyx:78: CUDAError

See known limitations for WSL2.
https://docs.nvidia.com/cuda/wsl-user-guide/index.html#known-limitations-for-linux-cuda-applications

Copy link
Contributor

copy-pr-bot bot commented Oct 11, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@rparolin rparolin requested a review from leofang October 11, 2025 00:08
@rparolin rparolin changed the title Disabling VirtualMemoryResource tests on WSL Skipping VirtualMemoryResource tests on WSL Oct 11, 2025
@rparolin
Copy link
Collaborator Author

/ok to test 46af80d

@rparolin rparolin enabled auto-merge (squash) October 11, 2025 00:11

This comment has been minimized.

@rparolin rparolin merged commit ebd5453 into NVIDIA:main Oct 11, 2025
70 of 71 checks passed
Copy link

Doc Preview CI
Preview removed because the pull request was closed or merged.

@leofang
Copy link
Member

leofang commented Oct 13, 2025

@rparolin in what ways VMM raises an error on WSL? Could you show a full traceback to what you see?

Asking because we were told that VMM is supported by the Windows WDDM driver mode (#968 (comment)), and WSL is a pass-through of WDDM according to @ksimpson-work, and so by deduction it should be supported. This is a bit surprising... 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants