Commit f0ffe617 authored by yan.yan's avatar yan.yan
Browse files

add new prebuilts for 3.13 and cu126

parent 125a194d
...@@ -15,8 +15,8 @@ jobs: ...@@ -15,8 +15,8 @@ jobs:
runs-on: windows-2019 runs-on: windows-2019
strategy: strategy:
matrix: matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
cuda-version: ['10.2', '11.3', '11.4', '11.6', '11.7', '11.8', '12.0'] cuda-version: ['11.4', '11.8', '12.1', '12.4', '12.6']
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master
- uses: dorny/paths-filter@v2 - uses: dorny/paths-filter@v2
...@@ -41,7 +41,7 @@ jobs: ...@@ -41,7 +41,7 @@ jobs:
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) || (github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) ||
( (
(steps.changes.outputs.needbuild == 'true') && (steps.changes.outputs.needbuild == 'true') &&
(env.PYTHON_VERSION == '3.10') (env.PYTHON_VERSION == '3.12')
) )
) )
shell: powershell shell: powershell
...@@ -60,7 +60,7 @@ jobs: ...@@ -60,7 +60,7 @@ jobs:
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) || (github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) ||
( (
(steps.changes.outputs.needbuild == 'true') && (steps.changes.outputs.needbuild == 'true') &&
(env.PYTHON_VERSION == '3.10') (env.PYTHON_VERSION == '3.12')
) )
) )
shell: powershell shell: powershell
...@@ -89,7 +89,7 @@ jobs: ...@@ -89,7 +89,7 @@ jobs:
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) || (github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) ||
( (
(steps.changes.outputs.needbuild == 'true') && (steps.changes.outputs.needbuild == 'true') &&
(env.PYTHON_VERSION == '3.10') (env.PYTHON_VERSION == '3.12')
) )
) )
run: | run: |
...@@ -115,8 +115,8 @@ jobs: ...@@ -115,8 +115,8 @@ jobs:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
strategy: strategy:
matrix: matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] # this version is only used for upload. python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] # this version is only used for upload.
cuda-version: ['102', '113', '114', '116', '117', '118', '120', ''] cuda-version: ['114', '118', '121', '124', '126', '']
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master
...@@ -160,7 +160,7 @@ jobs: ...@@ -160,7 +160,7 @@ jobs:
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) || (github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) ||
( (
(steps.changes.outputs.needbuild == 'true') && (steps.changes.outputs.needbuild == 'true') &&
(env.PYTHON_VERSION == '3.10') (env.PYTHON_VERSION == '3.12')
) )
) )
run: | run: |
...@@ -174,7 +174,7 @@ jobs: ...@@ -174,7 +174,7 @@ jobs:
env: env:
CUDA_VERSION: ${{ matrix.cuda-version }} CUDA_VERSION: ${{ matrix.cuda-version }}
PYTHON_VERSION: ${{ matrix.python-version }} PYTHON_VERSION: ${{ matrix.python-version }}
DOCKER_IMAGE: scrin/manylinux2014-cuda:cu120-devel-1.0.0 DOCKER_IMAGE: scrin/manylinux2014-cuda:cu126-devel-1.0.0
PLAT: manylinux2014_x86_64 PLAT: manylinux2014_x86_64
BOOST_VERSION: boost_1_77_0 BOOST_VERSION: boost_1_77_0
if: | if: |
...@@ -182,7 +182,7 @@ jobs: ...@@ -182,7 +182,7 @@ jobs:
(github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) || (github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')) ) ||
( (
(steps.changes.outputs.needbuild == 'true') && (steps.changes.outputs.needbuild == 'true') &&
(env.PYTHON_VERSION == '3.10') (env.PYTHON_VERSION == '3.12')
) )
) )
run: | run: |
......
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 1 1 *'
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
tags:
description: 'trigger issue autoclose manually'
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
with:
stale-issue-message: ''
stale-pr-message: ''
operations-per-run: 30
days-before-close: 0
days-before-stale: 60
# Changelog # Changelog
## [2.3.7] - 2024-12-08
### Changed
- add python 3.13 and cuda 12.1/12.4/12.6 prebuilts, drop python 3.7/3.8 prebuilts, change manylinux glibc from 2_17 to 2_28 if cuda >= 12.4, which requires recent OS such as ubuntu 18.10+.
## [2.3.6] - 2023-04-19 ## [2.3.6] - 2023-04-19
### Fixed ### Fixed
- Fix a CI bug that cpu cumm and spconv use different gcc compiler, must be same. - Fix a CI bug that cpu cumm and spconv use different gcc compiler, must be same.
......
[build-system] [build-system]
requires = ["setuptools>=41.0", "wheel", "pccm>=0.4.0", "cumm>=0.4.8"] requires = ["setuptools>=41.0", "wheel", "pccm>=0.4.16", "cumm>=0.7.5"]
# 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 @ 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 @ file:///io/dist/cumm_cu117-0.4.6-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" build-backend = "setuptools.build_meta"
...@@ -39,9 +39,9 @@ if cuda_ver: ...@@ -39,9 +39,9 @@ if cuda_ver:
cuda_ver_str = cuda_ver.replace(".", "") # 10.2 to 102 cuda_ver_str = cuda_ver.replace(".", "") # 10.2 to 102
RELEASE_NAME += "-cu{}".format(cuda_ver_str) RELEASE_NAME += "-cu{}".format(cuda_ver_str)
deps = ["cumm-cu{}>=0.4.5, <0.5.0".format(cuda_ver_str)] deps = ["cumm-cu{}>=0.7.5, <0.8.0".format(cuda_ver_str)]
else: else:
deps = ["cumm>=0.4.5, <0.5.0"] deps = ["cumm>=0.7.5, <0.8.0"]
...@@ -49,11 +49,11 @@ DESCRIPTION = 'spatial sparse convolution' ...@@ -49,11 +49,11 @@ DESCRIPTION = 'spatial sparse convolution'
URL = 'https://github.com/traveller59/spconv' URL = 'https://github.com/traveller59/spconv'
EMAIL = 'yanyan.sub@outlook.com' EMAIL = 'yanyan.sub@outlook.com'
AUTHOR = 'Yan Yan' AUTHOR = 'Yan Yan'
REQUIRES_PYTHON = '>=3.7' REQUIRES_PYTHON = '>=3.9'
VERSION = None VERSION = None
# What packages are required for this module to be executed? # What packages are required for this module to be executed?
REQUIRED = ["pccm>=0.4.0", "ccimport>=0.4.0", "pybind11>=2.6.0", "fire", "numpy", *deps] REQUIRED = ["pccm>=0.4.16", "ccimport>=0.4.4", "pybind11>=2.6.0", "fire", "numpy", *deps]
# What packages are optional? # What packages are optional?
EXTRAS = { EXTRAS = {
...@@ -249,11 +249,11 @@ setup( ...@@ -249,11 +249,11 @@ setup(
'License :: OSI Approved :: Apache Software License', 'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python', 'Programming Language :: Python',
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: CPython',
], ],
# $ setup.py publish support. # $ setup.py publish support.
......
from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union
from pccm.stubs import EnumValue, EnumClassValue from pccm.stubs import EnumValue, EnumClassValue, enum
from cumm.tensorview import Tensor from cumm.tensorview import Tensor
class HashTable: class HashTable:
key_itemsize: int key_itemsize: int
......
from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union
from pccm.stubs import EnumValue, EnumClassValue from pccm.stubs import EnumValue, EnumClassValue, enum
from cumm.tensorview import Tensor from cumm.tensorview import Tensor
from cumm.tensorview import CUDAKernelTimer from cumm.tensorview import CUDAKernelTimer
class ThrustCustomAllocatorV2: class ThrustCustomAllocatorV2:
......
from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union
from pccm.stubs import EnumValue, EnumClassValue from pccm.stubs import EnumValue, EnumClassValue, enum
from cumm.tensorview import Tensor from cumm.tensorview import Tensor
class Point2Voxel: class Point2Voxel:
hashdata: Tensor hashdata: Tensor
......
from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union
from pccm.stubs import EnumValue, EnumClassValue from pccm.stubs import EnumValue, EnumClassValue, enum
from cumm.tensorview import Tensor from cumm.tensorview import Tensor
class Point2Voxel: class Point2Voxel:
hashdata: Tensor hashdata: Tensor
......
from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union
from pccm.stubs import EnumValue, EnumClassValue from pccm.stubs import EnumValue, EnumClassValue, enum
from cumm.tensorview import Tensor from cumm.tensorview import Tensor
class Point2Voxel: class Point2Voxel:
hashdata: Tensor hashdata: Tensor
......
from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union
from pccm.stubs import EnumValue, EnumClassValue from pccm.stubs import EnumValue, EnumClassValue, enum
from cumm.tensorview import Tensor from cumm.tensorview import Tensor
class Point2Voxel: class Point2Voxel:
hashdata: Tensor hashdata: Tensor
......
from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union
from pccm.stubs import EnumValue, EnumClassValue from pccm.stubs import EnumValue, EnumClassValue, enum
from cumm.tensorview import Tensor from cumm.tensorview import Tensor
class Point2VoxelCPU: class Point2VoxelCPU:
densehashdata: Tensor densehashdata: Tensor
......
from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union
from pccm.stubs import EnumValue, EnumClassValue from pccm.stubs import EnumValue, EnumClassValue, enum
from cumm.tensorview import Tensor from cumm.tensorview import Tensor
class Point2VoxelCPU: class Point2VoxelCPU:
densehashdata: Tensor densehashdata: Tensor
......
from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union
from pccm.stubs import EnumValue, EnumClassValue from pccm.stubs import EnumValue, EnumClassValue, enum
from cumm.tensorview import Tensor from cumm.tensorview import Tensor
class Point2VoxelCPU: class Point2VoxelCPU:
densehashdata: Tensor densehashdata: Tensor
......
from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union
from pccm.stubs import EnumValue, EnumClassValue from pccm.stubs import EnumValue, EnumClassValue, enum
from cumm.tensorview import Tensor from cumm.tensorview import Tensor
class Point2VoxelCPU: class Point2VoxelCPU:
densehashdata: Tensor densehashdata: Tensor
......
from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union
from pccm.stubs import EnumValue, EnumClassValue from pccm.stubs import EnumValue, EnumClassValue, enum
from cumm.tensorview import Tensor from cumm.tensorview import Tensor
class ExternalAllocator: class ExternalAllocator:
def zeros(self, name: str, shape: List[int], dtype: int, device: int, stream: int = 0, is_temp_memory: bool = False, scale: float = 1.0) -> Tensor: def zeros(self, name: str, shape: List[int], dtype: int, device: int, stream: int = 0, is_temp_memory: bool = False, scale: float = 1.0) -> Tensor:
......
from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union
from pccm.stubs import EnumValue, EnumClassValue from pccm.stubs import EnumValue, EnumClassValue, enum
from cumm.tensorview.gemm import GemmAlgoDesp from cumm.tensorview.gemm import GemmAlgoDesp
from cumm.tensorview.gemm import ConvAlgoDesp from cumm.tensorview.gemm import ConvAlgoDesp
from cumm.tensorview import Tensor from cumm.tensorview import Tensor
......
from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union
from pccm.stubs import EnumValue, EnumClassValue from pccm.stubs import EnumValue, EnumClassValue, enum
from cumm.tensorview.gemm import ConvAlgoDesp from cumm.tensorview.gemm import ConvAlgoDesp
from cumm.tensorview import Tensor from cumm.tensorview import Tensor
from cumm.tensorview.gemm import NVRTCParams from cumm.tensorview.gemm import NVRTCParams
......
from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union
from pccm.stubs import EnumValue, EnumClassValue from pccm.stubs import EnumValue, EnumClassValue, enum
from cumm.tensorview.gemm import GemmAlgoDesp from cumm.tensorview.gemm import GemmAlgoDesp
from cumm.tensorview import Tensor from cumm.tensorview import Tensor
from cumm.tensorview.gemm import NVRTCParams from cumm.tensorview.gemm import NVRTCParams
......
from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union from typing import overload, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union
from pccm.stubs import EnumValue, EnumClassValue from pccm.stubs import EnumValue, EnumClassValue, enum
from cumm.tensorview import Tensor from cumm.tensorview import Tensor
from cumm.tensorview.gemm import Activation from cumm.tensorview.gemm import Activation
from cumm.tensorview import CUDAKernelTimer from cumm.tensorview import CUDAKernelTimer
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment