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

"pip install ." fails with compile error #82

Closed
prarit opened this issue Aug 1, 2024 · 1 comment
Closed

"pip install ." fails with compile error #82

prarit opened this issue Aug 1, 2024 · 1 comment

Comments

@prarit
Copy link

prarit commented Aug 1, 2024

I am following the instructions here: https://nvidia.github.io/cuda-python/install.html

which state

Develop

You can use

pip install -e .

This results in a compile error


  cuda/cuda.cpp: In function ‘PyObject* __pyx_pf_4cuda_4cuda_28CUlaunchAttributeValue_union_17sharedMemCarveout___get__(__pyx_obj_4cuda_4cuda_CUlaunchAttributeValue_union*)’:
  cuda/cuda.cpp:144834:69: error: ‘union CUlaunchAttributeValue_union’ has no member named ‘sharedMemCarveout’
  144834 |   __pyx_t_1 = __Pyx_PyInt_From_unsigned_int((__pyx_v_self->_ptr[0]).sharedMemCarveout); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 8524, __pyx_L1_error)
         |                                                                     ^~~~~~~~~~~~~~~~~
  cuda/cuda.cpp: In function ‘int __pyx_pf_4cuda_4cuda_28CUlaunchAttributeValue_union_17sharedMemCarveout_2__set__(__pyx_obj_4cuda_4cuda_CUlaunchAttributeValue_union*, unsigned int)’:
  cuda/cuda.cpp:144911:27: error: ‘union CUlaunchAttributeValue_union’ has no member named ‘sharedMemCarveout’
  144911 |   (__pyx_v_self->_ptr[0]).sharedMemCarveout = __pyx_v_sharedMemCarveout;
         |          

I will also note the same error occurs when executing 'pip install cuda-python' in a venv.

@github-actions github-actions bot added the triage Needs the team's attention label Aug 1, 2024
@prarit
Copy link
Author

prarit commented Aug 1, 2024

Geez. I can't read versions properly. The cuda toolkit had 12.4, not 12.5. Closing ....

@prarit prarit closed this as completed Aug 1, 2024
@leofang leofang removed the triage Needs the team's attention label Oct 9, 2024
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

No branches or pull requests

2 participants