Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
fengzch-das
nunchaku
Commits
e4fe2547
Unverified
Commit
e4fe2547
authored
Aug 08, 2025
by
Kung Talon
Committed by
GitHub
Aug 08, 2025
Browse files
chore: fix workflow for torch 2.8 (#592)
* fix workflow for torch 2.8 * update based on main
parent
cc9f1d6d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
.github/workflows/nightly-build.yaml
.github/workflows/nightly-build.yaml
+3
-1
.github/workflows/release-build.yaml
.github/workflows/release-build.yaml
+7
-5
No files found.
.github/workflows/nightly-build.yaml
View file @
e4fe2547
...
...
@@ -134,7 +134,9 @@ jobs:
run
:
|
SET TORCH_VERSION=${{ matrix.torch }}
SET PYTHON_VERSION=${{ matrix.python }}
IF "%TORCH_VERSION%"=="2.7" OR "%TORCH_VERSION%"=="2.8" (
IF "%TORCH_VERSION%"=="2.7" (
SET CUDA_VERSION=12.8
) ELSE IF "%TORCH_VERSION%"=="2.8" (
SET CUDA_VERSION=12.8
) ELSE (
SET CUDA_VERSION=12.4
...
...
.github/workflows/release-build.yaml
View file @
e4fe2547
...
...
@@ -63,13 +63,13 @@ jobs:
run
:
git log -1 --oneline
-
name
:
Build wheels
run
:
|
if [[ "${{ matrix.torch }}" == "2.7" ]]; then
if [[ "${{ matrix.torch }}" == "2.7"
|| "${{ matrix.torch }}" == "2.8"
]]; then
cuda_version="12.8"
else
cuda_version="12.4"
fi
if [[ "${{ matrix.torch }}" == "2.
8
" ]]; then
bash scripts/build_linux_wheel_torch
2.8
.sh ${{ matrix.python }} ${{ matrix.torch }} 12.8
if [[ "${{ matrix.torch }}" == "2.
9
" ]]; then
bash scripts/build_linux_wheel_torch
_nightly
.sh ${{ matrix.python }} ${{ matrix.torch }} 12.8
else
bash scripts/build_linux_wheel.sh ${{ matrix.python }} ${{ matrix.torch }} $cuda_version
fi
...
...
@@ -109,12 +109,14 @@ jobs:
SET PYTHON_VERSION=${{ matrix.python }}
IF "%TORCH_VERSION%"=="2.7" (
SET CUDA_VERSION=12.8
) ELSE IF "%TORCH_VERSION%"=="2.8" (
SET CUDA_VERSION=12.8
) ELSE (
SET CUDA_VERSION=12.4
)
call C:\Users\muyangl\miniconda3\condabin\activate.bat activate
IF "%TORCH_VERSION%"=="2.
8
" (
call scripts\build_windows_wheel_torch
2.8
.cmd %PYTHON_VERSION% %TORCH_VERSION% %CUDA_VERSION%
IF "%TORCH_VERSION%"=="2.
9
" (
call scripts\build_windows_wheel_torch
_nightly
.cmd %PYTHON_VERSION% %TORCH_VERSION% %CUDA_VERSION%
) ELSE (
call scripts\build_windows_wheel.cmd %PYTHON_VERSION% %TORCH_VERSION% %CUDA_VERSION%
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment