Skip to content

Commit

Permalink
fix compile problem
Browse files Browse the repository at this point in the history
  • Loading branch information
FindDefinition committed Dec 10, 2024
1 parent f0ffe61 commit edf48fe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ jobs:
CUDA_VERSION: ${{ matrix.cuda-version }}
PYTHON_VERSION: ${{ matrix.python-version }}
DOCKER_IMAGE: scrin/manylinux2014-cuda:cu${{ matrix.cuda-version }}-devel-1.0.0
PLAT: manylinux2014_x86_64
PLAT: ${{ matrix.cuda-version > '123' && 'manylinux_2_28_x86_64' || 'manylinux2014_x86_64' }}
BOOST_VERSION: boost_1_77_0
if: |
(env.CUDA_VERSION != '') && (
Expand All @@ -174,7 +174,8 @@ jobs:
env:
CUDA_VERSION: ${{ matrix.cuda-version }}
PYTHON_VERSION: ${{ matrix.python-version }}
DOCKER_IMAGE: scrin/manylinux2014-cuda:cu126-devel-1.0.0
# use cu121 docker to build cpu wheel, cuda 124+ manylinux requires manylinux_2_28
DOCKER_IMAGE: scrin/manylinux2014-cuda:cu121-devel-1.0.0
PLAT: manylinux2014_x86_64
BOOST_VERSION: boost_1_77_0
if: |
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=41.0", "wheel", "pccm>=0.4.16", "cumm>=0.7.5"]
requires = ["setuptools>=41.0", "wheel", "pccm>=0.4.16", "cumm>=0.7.9"]
# requires = ["setuptools>=41.0", "wheel", "pccm>=0.4.0", "cumm @ file:///io/dist/cumm_cu120-0.4.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"]
# requires = ["setuptools>=41.0", "wheel", "pccm>=0.4.0", "cumm-cu126 @ file:///io/dist/cumm_cu126-0.7.3-cp313-cp313-manylinux_2_28_x86_64.whl"]
build-backend = "setuptools.build_meta"
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
cuda_ver_str = cuda_ver.replace(".", "") # 10.2 to 102

RELEASE_NAME += "-cu{}".format(cuda_ver_str)
deps = ["cumm-cu{}>=0.7.5, <0.8.0".format(cuda_ver_str)]
deps = ["cumm-cu{}>=0.7.9, <0.8.0".format(cuda_ver_str)]
else:
deps = ["cumm>=0.7.5, <0.8.0"]
deps = ["cumm>=0.7.9, <0.8.0"]



Expand Down

0 comments on commit edf48fe

Please sign in to comment.