-
Notifications
You must be signed in to change notification settings - Fork 175
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
pulled cudaQ docker but porblem with cuda. #1681
Comments
Hi @giladqm - can you please run the |
Thanks for getting back to me so quickly:
[cid:b069bcad-ff85-45cb-a247-ddc567984eb4]
…________________________________
From: Ben Howe ***@***.***>
Sent: Wednesday, May 15, 2024 3:37 PM
To: NVIDIA/cuda-quantum ***@***.***>
Cc: Gilad Sivan ***@***.***>; Mention ***@***.***>
Subject: Re: [NVIDIA/cuda-quantum] pulled cudaQ docker but porblem with cuda. (Issue #1681)
Hi @giladqm<https://github.com/giladqm> - can you please run the nvidia-smi command from within the Docker container and paste the results here?
—
Reply to this email directly, view it on GitHub<#1681 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AYGNQZ5SHP34LKWRSU6ADXTZCNJGZAVCNFSM6AAAAABHYBRLISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJSGQYDSNZUG4>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
That image did not come through. You may have to post it directly on the GitHub website rather than via email. |
I verified that I can run the latest container on our GH200. (One possible difference is that we don't have MIG enabled, and it looks like maybe you do?) In any case, would it be possible to test with another NVIDIA container from https://catalog.ngc.nvidia.com/orgs/nvidia/teams/k8s/containers/cuda-sample? It should run like this: $ docker pull nvcr.io/nvidia/k8s/cuda-sample:vectoradd-cuda11.7.1
$ docker run --rm --gpus all nvcr.io/nvidia/k8s/cuda-sample:vectoradd-cuda11.7.1
[Vector addition of 50000 elements]
Copy input data from the host memory to the CUDA device
CUDA kernel launch with 196 blocks of 256 threads
Copy output data from the CUDA device to the host memory
Test PASSED
Done |
I'll check right away
…________________________________
From: Ben Howe ***@***.***>
Sent: Wednesday, May 15, 2024 4:38 PM
To: NVIDIA/cuda-quantum ***@***.***>
Cc: Gilad Sivan ***@***.***>; Mention ***@***.***>
Subject: Re: [NVIDIA/cuda-quantum] pulled cudaQ docker but porblem with cuda. (Issue #1681)
I verified that I can run the latest container on our GH200. (One possible difference is that we don't have MIG enabled, and it looks like maybe you do?) In any case, would it be possible to test with another NVIDIA container from https://catalog.ngc.nvidia.com/orgs/nvidia/teams/k8s/containers/cuda-sample? It should run like this:
$ docker pull nvcr.io/nvidia/k8s/cuda-sample:vectoradd-cuda11.7.1
$ docker run --rm --gpus all nvcr.io/nvidia/k8s/cuda-sample:vectoradd-cuda11.7.1
[Vector addition of 50000 elements]
Copy input data from the host memory to the CUDA device
CUDA kernel launch with 196 blocks of 256 threads
Copy output data from the CUDA device to the host memory
Test PASSED
Done
—
Reply to this email directly, view it on GitHub<#1681 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AYGNQZ7AZEO3NRQOZ3VF5MDZCNQOTAVCNFSM6AAAAABHYBRLISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJSGU3DIMZXHA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
It looks like this issue is not a CUDA-Q issue, but an issue with using CUDA. Can you confirm which driver version you have installed on the host (outside the container)? |
I tried it again and it works:
|
Required prerequisites
Describe the bug
I'm using a GraceHopper with aarch64.
I pulled the docker:
docker pull nvcr.io/nvidia/nightly/cuda-quantum:latest
Then ran the container:
docker run --gpus all -it nvcr.io/nvidia/nightly/cuda-quantum:latest
I tried to run one one of the notebooks (deutschs_algorithm.ipynb) and got the error:
ImportError: [custatevec] %the operation cannot be performed in the present state in CuStateVecCircuitSimulator (line 334)
while trying to "import cudaq"
Steps to reproduce the bug
I pulled the docker:
docker pull nvcr.io/nvidia/nightly/cuda-quantum:latest
Then ran the container:
docker run --gpus all -it nvcr.io/nvidia/nightly/cuda-quantum:latest
I tried to run one one of the notebooks (deutschs_algorithm.ipynb) and got the error:
ImportError: [custatevec] %the operation cannot be performed in the present state in CuStateVecCircuitSimulator (line 334)
while trying to "import cudaq"
Expected behavior
I expected the code to run smoothly.
Is this a regression? If it is, put the last known working version (or commit) here.
Not a regression
Environment
Suggestions
No response
The text was updated successfully, but these errors were encountered: