Skip to content

Commit 674e388

Browse files
authored
ci: use cuda 12.9 for devel and 12.8 for test (#471)
1 parent 3df83bd commit 674e388

File tree

13 files changed

+50
-45
lines changed

13 files changed

+50
-45
lines changed

.devcontainer/devel/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG BASE_IMAGE=vectorchai/scalellm_devel:cuda12.4
1+
ARG BASE_IMAGE=vectorchai/scalellm_devel:cuda12.9
22
FROM ${BASE_IMAGE}
33

44
ARG USER=vscode
@@ -21,4 +21,4 @@ export CLICOLOR=1
2121
export LSCOLORS=ExFxCxDxBxegedabagacad
2222
EOT
2323

24-
ENTRYPOINT [ "/usr/bin/bash" ]
24+
ENTRYPOINT [ "/usr/bin/bash" ]

.devcontainer/devel/devcontainer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// For more config options, see https://aka.ms/devcontainer.json.
22
{
3-
"name": "devel:cu12.4",
3+
"name": "devel:cu12.9",
44
"build": {
55
"dockerfile": "Dockerfile",
66
"args": {
7-
"BASE_IMAGE": "vectorchai/scalellm_devel:cuda12.4",
7+
"BASE_IMAGE": "vectorchai/scalellm_devel:cuda12.9",
88
"USER": "${localEnv:USER:vscode}",
99
"UID": "${localEnv:UID:1000}",
1010
"GID": "${localEnv:GID:1000}"
@@ -64,4 +64,4 @@
6464
}
6565
}
6666
}
67-
}
67+
}

.devcontainer/manylinux/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ FROM ${BASE_IMAGE}
44
ARG USER=vscode
55
ARG UID=1000
66
ARG GID=1000
7-
ARG TORCH_VERSION=2.7.0
8-
ARG CUDA_VERSION=12.6
7+
ARG TORCH_VERSION=2.7.1
8+
ARG CUDA_VERSION=12.8
99
ARG PYTHON_VERSION=3.12
1010

1111
# Run as non-root user

.devcontainer/manylinux/devcontainer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// For more config options, see https://aka.ms/devcontainer.json.
22
{
3-
"name": "manylinux:cu12.4",
3+
"name": "manylinux:cu12.8",
44
"build": {
55
"dockerfile": "Dockerfile",
66
"args": {
7-
"BASE_IMAGE": "vectorchai/scalellm_manylinux2_28:cuda12.6",
8-
"TORCH_VERSION": "2.7.0",
9-
"CUDA_VERSION": "12.6",
7+
"BASE_IMAGE": "vectorchai/scalellm_manylinux2_28:cuda12.8",
8+
"TORCH_VERSION": "2.7.1",
9+
"CUDA_VERSION": "12.8",
1010
"USER": "${localEnv:USER:vscode}",
1111
"UID": "${localEnv:UID:1000}",
1212
"GID": "${localEnv:GID:1000}"

.github/workflows/create_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
matrix:
2626
python: ["3.9", "3.10", "3.11", "3.12"]
2727
cuda: ["11.8", "12.6", "12.8"]
28-
torch: ["2.7.0"]
28+
torch: ["2.7.1"]
2929
runs-on: [self-hosted, linux]
3030
env:
3131
PYTHON_VERSION: ${{ matrix.python }}

.github/workflows/pkg_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
matrix:
4141
python: ["3.12"]
4242
cuda: ["12.8"]
43-
torch: ["2.7.0"]
43+
torch: ["2.7.1"]
4444
runs-on: [self-hosted, linux]
4545
env:
4646
PYTHON_VERSION: ${{ matrix.python }}
@@ -92,7 +92,7 @@ jobs:
9292
matrix:
9393
python: ["3.12"]
9494
cuda: ["12.8"]
95-
torch: ["2.7.0"]
95+
torch: ["2.7.1"]
9696
runs-on: [self-hosted, linux, gpu]
9797
env:
9898
PYTHON_VERSION: ${{ matrix.python }}

.github/workflows/pkg_test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
python: ["3.9", "3.10", "3.11", "3.12"]
23-
cuda: ["12.6"]
24-
torch: ["2.7.0"]
23+
cuda: ["12.8"]
24+
torch: ["2.7.1"]
2525
runs-on: [self-hosted, linux]
2626
env:
2727
PYTHON_VERSION: ${{ matrix.python }}
@@ -73,8 +73,8 @@ jobs:
7373
fail-fast: false
7474
matrix:
7575
python: ["3.9", "3.10", "3.11", "3.12"]
76-
cuda: ["12.6"]
77-
torch: ["2.7.0"]
76+
cuda: ["12.8"]
77+
torch: ["2.7.1"]
7878
runs-on: [self-hosted, linux, gpu]
7979
env:
8080
PYTHON_VERSION: ${{ matrix.python }}

.github/workflows/publish_pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
matrix:
2424
python: ["3.9", "3.10", "3.11", "3.12"]
2525
cuda: ["12.6"]
26-
torch: ["2.7.0"]
26+
torch: ["2.7.1"]
2727
runs-on: [self-hosted, linux]
2828
env:
2929
PYTHON_VERSION: ${{ matrix.python }}
@@ -89,7 +89,7 @@ jobs:
8989
matrix:
9090
python: ["3.9", "3.10", "3.11", "3.12"]
9191
cuda: ["12.6"]
92-
torch: ["2.7.0"]
92+
torch: ["2.7.1"]
9393
runs-on: [self-hosted, linux, gpu]
9494
env:
9595
PYTHON_VERSION: ${{ matrix.python }}

CMakeLists.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -175,14 +175,14 @@ if (DEFINED ENV{LIBTORCH_ROOT})
175175
else()
176176
include(FetchContent)
177177
if (CUDAToolkit_VERSION VERSION_GREATER_EQUAL 12.8)
178-
# download libtorch 2.7.0 with cuda 12.8 from pytorch.org
179-
set(LIBTORCH_URL "https://download.pytorch.org/libtorch/cu128/libtorch-cxx11-abi-shared-with-deps-2.7.0%2Bcu128.zip")
178+
# download libtorch 2.7.1 with cuda 12.8 from pytorch.org
179+
set(LIBTORCH_URL "https://download.pytorch.org/libtorch/cu128/libtorch-cxx11-abi-shared-with-deps-2.7.1%2Bcu128.zip")
180180
elseif(CUDAToolkit_VERSION VERSION_GREATER_EQUAL 12.6)
181-
# download libtorch 2.7.0 with cuda 12.6 from pytorch.org
182-
set(LIBTORCH_URL "https://download.pytorch.org/libtorch/cu126/libtorch-cxx11-abi-shared-with-deps-2.7.0%2Bcu126.zip")
181+
# download libtorch 2.7.1 with cuda 12.6 from pytorch.org
182+
set(LIBTORCH_URL "https://download.pytorch.org/libtorch/cu126/libtorch-cxx11-abi-shared-with-deps-2.7.1%2Bcu126.zip")
183183
elseif(CUDAToolkit_VERSION VERSION_GREATER_EQUAL 11.8)
184-
# download libtorch 2.7.0 with cuda 11.8 from pytorch.org
185-
set(LIBTORCH_URL "https://download.pytorch.org/libtorch/cu118/libtorch-cxx11-abi-shared-with-deps-2.7.0%2Bcu118.zip")
184+
# download libtorch 2.7.1 with cuda 11.8 from pytorch.org
185+
set(LIBTORCH_URL "https://download.pytorch.org/libtorch/cu118/libtorch-cxx11-abi-shared-with-deps-2.7.1%2Bcu118.zip")
186186
else()
187187
# error out if cuda version is not supported
188188
message(FATAL_ERROR "Unsupported CUDA version: ${CUDAToolkit_VERSION}")
@@ -201,7 +201,7 @@ else()
201201
FetchContent_MakeAvailable(libtorch)
202202

203203
find_package(Torch REQUIRED PATHS ${libtorch_SOURCE_DIR} NO_DEFAULT_PATH)
204-
message(STATUS "Downloading and using libtorch 2.7.0 for cuda ${CUDA_VERSION} at ${libtorch_SOURCE_DIR}")
204+
message(STATUS "Downloading and using libtorch 2.7.1 for cuda ${CUDA_VERSION} at ${libtorch_SOURCE_DIR}")
205205
endif()
206206

207207
# carry over torch flags to the rest of the project

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ScaleLLM is available as a Python Wheel package on `PyPI <https://pypi.org/proje
1212

1313
.. code-block:: bash
1414
15-
# Install ScaleLLM with CUDA 12.6 and Pytorch 2.7.0
15+
# Install ScaleLLM with CUDA 12.6 and Pytorch 2.7.1
1616
$ pip install -U scalellm
1717
1818

0 commit comments

Comments
 (0)