Leo Fang

Results 1175 comments of Leo Fang

There must be a point beyond which we push less hard about zero-dependency. If everyone thinks this is the right way to go, there is no software that we can...

I cannot reproduce it (obviously, since our CI definitely got this tested), so... - How did you install cuda-python? (pip? conda? other means?) - Could you show the output of...

Forgot to ask, what's the Python version? Also, with this broken environment, could you check what happens if you do ```python from cuda.bindings import driver as cuda ``` ? (Same...

It seems there is a weird cleanup issue going on. With the following steps I hit an error, though different from yours 1. Create a fresh env 2. `pip install...

> 1. Create a fresh env > 2. `pip install "cuda-python==12.6.*"` > 3. `pip install "cuda-python==12.8"` Reproducer is to change the step 2 above to `pip install "cuda-python==12.6"`, which `pip`...

@bdice reports offline that this still happens when updating from 12.6.2.post1 to 12.9.0... 😵‍💫

Marking this issue as a "won't fix." Unfortunately there does not seem to exist any workaround to our knowledge, other than kindly asking users to do a clean installation (uninstall...

An example warning ``` /local/home/leof/dev/cuda-python/docs_src/docstring of cuda.bindings.driver.cuMemcpy2D:22: WARNING: more than one target found for cross-reference 'srcPitch': cuda.bindings.driver.CUDA_MEMCPY2D_st.srcPitch, cuda.bindings.driver.CUDA_MEMCPY3D_st.srcPitch, cuda.bindings.driver.CUDA_MEMCPY3D_PEER_st.srcPitch, cuda.bindings.driver.CUDA_MEMCPY2D_v2.srcPitch, cuda.bindings.driver.CUDA_MEMCPY2D.srcPitch, cuda.bindings.driver.CUDA_MEMCPY3D_v2.srcPitch, cuda.bindings.driver.CUDA_MEMCPY3D.srcPitch, cuda.bindings.driver.CUDA_MEMCPY3D_PEER_v1.srcPitch, cuda.bindings.driver.CUDA_MEMCPY3D_PEER.srcPitch [ref.python] ```

I believe this is a legitimate warning, as the raw docstring is `` :py:obj:`~.srcPitch` ``, which does not provide the struct name that the `srcPitch` member belongs to. However, there's...

@vzhurba01 this looks like a docgen bug: https://github.com/NVIDIA/cuda-python/blob/f9f67c8ba2698c56eede95fe1b55bca3ce26d9a4/cuda_bindings/cuda/bindings/driver.pyx.in#L31341 Sphinx output: ``` docstring of cuda.bindings.driver.cuStreamSynchronize:12: CRITICAL: Unexpected section title. Parameters ---------- [docutils] docstring of cuda.bindings.driver.cuStreamSynchronize:17: CRITICAL: Unexpected section title. Returns -------...