-
Notifications
You must be signed in to change notification settings - Fork 201
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
unknown error when importing cudaq from python #2503
Comments
Hi @petacube - thank you for reporting this issue. Do you know what version of CUDA you have installed? It would be helpful if you could run the I believe your GPU is Compute Capability 7.5 (according to https://developer.nvidia.com/cuda-gpus), but it good to double check that with this command: |
yes its 7.5
what is the minimum?
…On Sat, Jan 11, 2025 at 7:12 PM Ben Howe ***@***.***> wrote:
Hi @petacube <https://github.com/petacube> - thank you for reporting this
issue. Do you know what version of CUDA you have installed? It would be
helpful if you could run the nvidia-smi command and paste the output back
into this thread.
I believe your GPU is Compute Capability 7.5 (according to
https://developer.nvidia.com/cuda-gpus), but it good to double check that
with this command: nvidia-smi --query-gpu=compute_cap --format=csv.
—
Reply to this email directly, view it on GitHub
<#2503 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHHF6KQV7BE5GAGTXYKSYJD2KGXQTAVCNFSM6AAAAABU7WKYQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBVGQ4DSMJYGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
yes, its 7.5 |
nvidia-smi +-----------------------------------------------------------------------------------------+ |
nvcc --version |
I had upgraded nvidia driver to 565 and nvidia toolkit to 12.6 and nvidia driver to 565 +-----------------------------------------------------------------------------------------+ now the code works and error went away!!! |
Required prerequisites
Describe the bug
Traceback (most recent call last):
File "/test_cudaq.py", line 2, in
import cudaq
File "lib/python3.11/site-packages/cudaq/init.py", line 53, in
from .kernel.kernel_decorator import kernel, PyKernelDecorator
File "lib/python3.11/site-packages/cudaq/kernel/kernel_decorator.py", line 15, in
from ..mlir.dialects import quake, cc, func
File "lib/python3.11/site-packages/cudaq/mlir/dialects/quake.py", line 10, in
from .._mlir_libs._quakeDialects.quake import *
ImportError: [custatevec] %unknown error in check_gpu_compatibility (line 36)
Steps to reproduce the bug
create file test_cudaq.py
import cudaq
run it
Expected behavior
should not raise an error as code comes from cudaq docs itself
Is this a regression? If it is, put the last known working version (or commit) here.
Not a regression
Environment
Suggestions
using Quadro T1000 with Max-Q GPU.
The text was updated successfully, but these errors were encountered: