Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cuda_bindings/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ dependencies = ["cuda-pathfinder >=1.4.2"]

[project.optional-dependencies]
all = [
"cuda-toolkit[nvrtc,nvjitlink,nvvm,nvfatbin]==13.*",
"cuda-toolkit[nvrtc,nvjitlink,nvvm,nvfatbin]==13.*,!=13.0.3; sys_platform == 'win32'",
"cuda-toolkit[nvrtc,nvjitlink,nvvm,nvfatbin]==13.*; sys_platform != 'win32'",
"cuda-toolkit[cufile]==13.*; sys_platform == 'linux'",
]

Expand Down
30 changes: 26 additions & 4 deletions cuda_core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,34 @@ cu13 = ["cuda-bindings[all]==13.*"]
[dependency-groups]
test = ["cython>=3.2,<3.3", "setuptools", "pytest>=6.2.4", "pytest-benchmark", "pytest-randomly", "pytest-repeat", "pytest-rerunfailures", "cloudpickle", "psutil", "cffi"]
ml-dtypes = ["ml-dtypes>=0.5.4,<0.6.0"]
test-cu12 = [ {include-group = "ml-dtypes" }, {include-group = "test" }, "cupy-cuda12x; python_version < '3.14'", "cuda-toolkit[cudart]==12.*"] # runtime headers needed by CuPy
test-cu13 = [ {include-group = "ml-dtypes" }, {include-group = "test" }, "cupy-cuda13x; python_version < '3.14'", "cuda-toolkit[cudart]==13.*"] # runtime headers needed by CuPy
test-cu12 = [
{include-group = "ml-dtypes" },
{include-group = "test" },
"cupy-cuda12x; python_version < '3.14'",
"cuda-toolkit[cudart]==12.*,!=12.9.2; sys_platform == 'win32'",
"cuda-toolkit[cudart]==12.*; sys_platform != 'win32'",
] # runtime headers needed by CuPy
test-cu13 = [
{include-group = "ml-dtypes" },
{include-group = "test" },
"cupy-cuda13x; python_version < '3.14'",
"cuda-toolkit[cudart]==13.*,!=13.0.3; sys_platform == 'win32'",
"cuda-toolkit[cudart]==13.*; sys_platform != 'win32'",
] # runtime headers needed by CuPy
# free threaded build, cupy doesn't support free-threaded builds yet, so avoid installing it for now
# TODO: cupy should support free threaded builds
test-cu12-ft = [ {include-group = "ml-dtypes" }, {include-group = "test" }, "cuda-toolkit[cudart]==12.*"]
test-cu13-ft = [ {include-group = "ml-dtypes" }, {include-group = "test" }, "cuda-toolkit[cudart]==13.*"]
test-cu12-ft = [
{include-group = "ml-dtypes" },
{include-group = "test" },
"cuda-toolkit[cudart]==12.*,!=12.9.2; sys_platform == 'win32'",
"cuda-toolkit[cudart]==12.*; sys_platform != 'win32'",
]
test-cu13-ft = [
{include-group = "ml-dtypes" },
{include-group = "test" },
"cuda-toolkit[cudart]==13.*,!=13.0.3; sys_platform == 'win32'",
"cuda-toolkit[cudart]==13.*; sys_platform != 'win32'",
]

[tool.uv]
conflicts = [
Expand Down
6 changes: 4 additions & 2 deletions cuda_pathfinder/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ test = [
]
# Internal organization of test dependencies.
cu12 = [
"cuda-toolkit[nvcc,cublas,nvrtc,cudart,cufft,curand,cusolver,cusparse,npp,nvfatbin,nvjitlink,nvjpeg,cccl,cupti,profiler]==12.*",
"cuda-toolkit[nvcc,cublas,nvrtc,cudart,cufft,curand,cusolver,cusparse,npp,nvfatbin,nvjitlink,nvjpeg,cccl,cupti,profiler]==12.*,!=12.9.2; sys_platform == 'win32'",
"cuda-toolkit[nvcc,cublas,nvrtc,cudart,cufft,curand,cusolver,cusparse,npp,nvfatbin,nvjitlink,nvjpeg,cccl,cupti,profiler]==12.*; sys_platform != 'win32'",
"cuda-toolkit[cufile]==12.*; sys_platform != 'win32'",
"cutensor-cu12",
"nvidia-cublasmp-cu12; sys_platform != 'win32'",
Expand All @@ -32,7 +33,8 @@ cu12 = [
"nvidia-nvshmem-cu12; sys_platform != 'win32'",
]
cu13 = [
"cuda-toolkit[nvcc,cublas,nvrtc,cudart,cufft,curand,cusolver,cusparse,npp,nvfatbin,nvjitlink,nvjpeg,cccl,cupti,profiler,nvvm]==13.*",
"cuda-toolkit[nvcc,cublas,nvrtc,cudart,cufft,curand,cusolver,cusparse,npp,nvfatbin,nvjitlink,nvjpeg,cccl,cupti,profiler,nvvm]==13.*,!=13.0.3; sys_platform == 'win32'",
"cuda-toolkit[nvcc,cublas,nvrtc,cudart,cufft,curand,cusolver,cusparse,npp,nvfatbin,nvjitlink,nvjpeg,cccl,cupti,profiler,nvvm]==13.*; sys_platform != 'win32'",
"cuda-toolkit[cufile]==13.*; sys_platform != 'win32'",
"cutensor-cu13",
"nvidia-cublasmp-cu13; sys_platform != 'win32'",
Expand Down
Loading