diff --git a/.github/workflows/pr-test-sgl-kernel.yml b/.github/workflows/pr-test-sgl-kernel.yml index f5da9d3b7..b81859ad4 100644 --- a/.github/workflows/pr-test-sgl-kernel.yml +++ b/.github/workflows/pr-test-sgl-kernel.yml @@ -85,7 +85,7 @@ jobs: - name: Install run: | bash scripts/ci_install_dependency.sh - pip3 install torch==2.7.1 torchvision && pip3 install pytest + pip3 install torch==2.8.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/test/cu126 && pip3 install pytest pip3 uninstall sgl-kernel -y || true pip3 install sgl-kernel/dist/*whl --force-reinstall --no-deps pip3 list | grep sgl-kernel @@ -117,7 +117,7 @@ jobs: - name: Install run: | bash scripts/ci_install_dependency.sh - pip3 install torch==2.7.1 torchvision + pip3 install torch==2.8.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/test/cu126 pip3 uninstall sgl-kernel -y || true pip3 install sgl-kernel/dist/*whl --force-reinstall --no-deps pip3 list | grep sgl-kernel diff --git a/sgl-kernel/build.sh b/sgl-kernel/build.sh index a39e506bb..4e18c1743 100755 --- a/sgl-kernel/build.sh +++ b/sgl-kernel/build.sh @@ -23,10 +23,10 @@ fi if [ ${CUDA_VERSION} = "12.8" ]; then DOCKER_IMAGE="${BUILDER_NAME}:cuda${CUDA_VERSION}" - TORCH_INSTALL="pip install --no-cache-dir torch==2.7.1 --index-url https://download.pytorch.org/whl/cu${CUDA_VERSION//.}" + TORCH_INSTALL="pip install --no-cache-dir torch==2.8.0 --index-url https://download.pytorch.org/whl/test/cu128" else DOCKER_IMAGE="${BUILDER_NAME}:cuda${CUDA_VERSION}" - TORCH_INSTALL="pip install --no-cache-dir torch==2.7.1" + TORCH_INSTALL="pip install --no-cache-dir torch==2.8.0 --index-url https://download.pytorch.org/whl/test/cu126" fi docker run --rm \ diff --git a/sgl-kernel/pyproject.toml b/sgl-kernel/pyproject.toml index 05a5a9734..e5462a748 100644 --- a/sgl-kernel/pyproject.toml +++ b/sgl-kernel/pyproject.toml @@ -1,14 +1,14 @@ [build-system] requires = [ "scikit-build-core>=0.10", - "torch>=2.7.1", + "torch>=2.8.0", "wheel", ] build-backend = "scikit_build_core.build" [project] name = "sgl-kernel" -version = "0.2.9" +version = "0.3.0" description = "Kernel Library for SGLang" readme = "README.md" requires-python = ">=3.9" diff --git a/sgl-kernel/pyproject_cpu.toml b/sgl-kernel/pyproject_cpu.toml index 573e61bd5..a6c9c8d8e 100644 --- a/sgl-kernel/pyproject_cpu.toml +++ b/sgl-kernel/pyproject_cpu.toml @@ -8,7 +8,7 @@ build-backend = "scikit_build_core.build" [project] name = "sgl-kernel" -version = "0.2.9" +version = "0.3.0" description = "Kernel Library for SGLang" readme = "README.md" requires-python = ">=3.9" diff --git a/sgl-kernel/pyproject_rocm.toml b/sgl-kernel/pyproject_rocm.toml index 1bc89651f..30529ce77 100644 --- a/sgl-kernel/pyproject_rocm.toml +++ b/sgl-kernel/pyproject_rocm.toml @@ -2,14 +2,14 @@ requires = [ "setuptools>=75.0", "scikit-build-core>=0.10", - "torch>=2.7.1", + "torch>=2.8.0", "wheel", ] build-backend = "setuptools.build_meta" [project] name = "sgl-kernel" -version = "0.2.9" +version = "0.3.0" description = "Kernel Library for SGLang" readme = "README.md" requires-python = ">=3.9" diff --git a/sgl-kernel/python/sgl_kernel/version.py b/sgl-kernel/python/sgl_kernel/version.py index 75cf7831c..493f7415d 100644 --- a/sgl-kernel/python/sgl_kernel/version.py +++ b/sgl-kernel/python/sgl_kernel/version.py @@ -1 +1 @@ -__version__ = "0.2.9" +__version__ = "0.3.0"