Skip to content

11.7.1 had a huge ABI break #15

@kkraus14

Description

@kkraus14

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

11.7.1 had a huge ABI break that moved from redefining all of the CUDA functions in Cython to externing them: NVIDIA/cuda-python@cfa118a

For any library that uses the Cython parts of cuda-python, this can lead to a runtime failure if something was built with 11.7.1 and then tries to run on 11.7.0, or vice versa because the function signature changes. I.E. if built with 11.7.1 and then tried to run on 11.7.0:

E   TypeError: C function cuda.ccudart.cudaStreamSynchronize has wrong signature (expected cudaError_t (cudaStream_t), got __pyx_t_4cuda_7ccudart_cudaError_t (__pyx_t_4cuda_7ccudart_cudaStream_t))

We should probably add a repodata patch to make anything pre 11.7.1 require <11.7.1 and anything post 11.7.1 require >=11.7.1,<12?

cc @jakirkham

The rmm packages in conda-forge are impacted by this as they're built with 11.7.1, but the rmm packages in the rapidsai channel are built with something older, presumably to avoid specifically this.

Installed packages

n/a

Environment info

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions