File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,18 @@ and likewise use ``[cu13]`` for CUDA 13.
4242Note that using ``cuda.core `` with NVRTC installed from PyPI via ``pip install `` requires
4343``cuda.bindings `` 12.8.0+. Likewise, with nvJitLink it requires 12.8.0+.
4444
45+ Free-threading Build Support
46+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
47+ As of cuda-core 0.4.0, wheels for the `free-threaded interpreter `_ are shipped to PyPI.
48+
49+ 1. Support for these builds is best effort, due to heavy use of `built-in
50+ modules that are known to be thread-unsafe `_, such as ``ctypes ``.
51+ 2. For now, you are responsible for making sure that calls into ``cuda-core ``
52+ libraries are thread-safe. This is subject to change.
53+
54+ .. _built-in modules that are known to be thread-unsafe : https://github.com/python/cpython/issues/116738
55+ .. _free-threaded interpreter : https://docs.python.org/3/howto/free-threading-python.html
56+
4557Installing from Conda (conda-forge)
4658-----------------------------------
4759
You can’t perform that action at this time.
0 commit comments