Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
687a81f
chore: make libwebp optional and support system libwebp (#1387)
wbruna Apr 5, 2026
9369ab7
feat: inpaint improvements (#1357)
stduhpf Apr 5, 2026
7397dda
feat: add webm support (#1391)
leejet Apr 5, 2026
359eb8b
refactor: apply RAII ownership to examples (#1392)
leejet Apr 6, 2026
5bf438d
refactor: split examples common into header and source (#1393)
leejet Apr 6, 2026
8afbeb6
chore: normalize text files to utf-8 without bom (#1394)
leejet Apr 6, 2026
dd75372
fix: correct double increment on flow denoisers sigma calculations (#…
wbruna Apr 8, 2026
e8323ca
feat: add flux2 small decoder support (#1402)
leejet Apr 8, 2026
be9f51b
refactor: simplify DiscreteFlowDenoiser (#1405)
wbruna Apr 11, 2026
118489e
chore: harden safetensors and gguf loading code (#1404)
wbruna Apr 11, 2026
7ade90e
feat: add sdcpp api support (#1407)
leejet Apr 11, 2026
fd35047
feat: use sdcpp-webui as embedded webui (#1408)
leejet Apr 11, 2026
12a369c
docs: update readme
leejet Apr 11, 2026
6b675a5
docs: update readme
leejet Apr 11, 2026
ee5bf95
chore: allow building the embedded UI header separately (#1415)
wbruna Apr 15, 2026
9ac7b67
refactor: introduce shared tokenizer abstraction and split implementa…
leejet Apr 15, 2026
c41c5de
feat: add left padding support to tokenizers (#1424)
leejet Apr 15, 2026
5c243db
feat: add ernie image support (#1427)
leejet Apr 16, 2026
d73b419
feat: SDXS-09 support and update doc (#1356)
akleine Apr 16, 2026
1b4e9be
feat: add er_sde sampler (#1403)
rmatif Apr 16, 2026
84fc544
fix: skip empty prompt segments around attention range (#1429)
leejet Apr 16, 2026
a564fdf
refactor: remove is_xl guard wrapper in get_sd_version (#1430)
leejet Apr 16, 2026
2bcff67
fix: correct dpm++2s_a second model call (#1435)
wbruna Apr 18, 2026
6a9cb31
fix: tune ernie-image default flow shift (#1433)
Green-Sky Apr 18, 2026
f3f69e2
feat: add DPM++ (2S) Ancestral implementation for flow models (#1428)
wbruna Apr 18, 2026
4d626d2
feat(server): implement vid_gen async API and mode-aware capabilities…
leejet Apr 18, 2026
3c99f70
ci: skip docker image build job on pull requests (#1439)
leejet Apr 18, 2026
7d33d4b
chore: enable MSVC parallel compilation with /MP (#1438)
leejet Apr 18, 2026
e77e4c4
feat: adapt LCM for flow models (#1413)
wbruna Apr 19, 2026
7023fc4
fix: correct image to image DDIM and TCD (#1410)
wbruna Apr 19, 2026
6614334
refactor: move model file IO into dedicated module (#1442)
leejet Apr 19, 2026
0a7ae07
feat: add restricted torch legacy checkpoint loading (#1443)
leejet Apr 19, 2026
44cca3d
feat: support safetensors export in convert mode (#1444)
leejet Apr 19, 2026
c97702e
feat: add sd-webui style Hires. fix support (#1451)
leejet Apr 22, 2026
b8bdffc
feat: add more built-in highres upscalers (#1456)
leejet Apr 23, 2026
970c4a3
chore: replace some NULL with nullptr + use "%zu" for printing some s…
akleine Apr 27, 2026
f40a707
feat: add sdcpp-specific generation metadata to image outputs (#1462)
leejet Apr 27, 2026
a81677f
docs: performance tips markup (#1460)
dwgrth Apr 27, 2026
331cfa5
fix: release VAE compute buffer after tiled encoding (#1465)
wbruna Apr 29, 2026
b8079e2
feat: transition from compile-time to runtime backend discovery (#1448)
wbruna Apr 29, 2026
3d6064b
perf: speed up tensor_to_sd_image conversion (#1466)
leejet Apr 29, 2026
9097ce5
fix: skip empty MultiLoraAdapter when no LoRAs target a model (#1469)
fszontagh May 6, 2026
586b6f1
feat: adapt res samplers for flow models for eta > 0 (#1436)
wbruna May 6, 2026
90e87bc
feat: add max-vram based segmented param offload (#1476)
leejet May 6, 2026
6ee0684
feat: display server url with "http://" prefix. (#1486)
cphlipot May 14, 2026
60477fd
docs: add new go bindings for stable-diffusion.cpp (#1480)
l8bloom May 14, 2026
9d68341
feat: add Euler CFG++ and Euler-A CFG++ samplers (#1354)
daniandtheweb May 14, 2026
57ff2eb
feat: support for memory-mapping model weights (#1414)
wbruna May 14, 2026
eeac950
fix: Use PkgConfig for WebP and WebM (#1400)
candrews May 14, 2026
0665a7f
feat: add hidream o1 image support (#1485)
leejet May 14, 2026
381e0df
docs: add CONTRIBUTING.md
leejet May 14, 2026
0b82969
docs: add .github/pull_request_template.md
leejet May 14, 2026
686856e
chore: do not report the fake VAE "allocation" as an error (#1494)
wbruna May 16, 2026
db08b84
fix: Fix broken GCC 16 build (enforce C11/C++17 compile ) (#1478)
cphlipot May 16, 2026
fd1a279
refactor: unify Euler, Euler Ancestral and DDIM implementations (#1474)
wbruna May 16, 2026
38b14ad
feat: auto-detect max VRAM budget with --max-vram -1 (#1498)
leejet May 16, 2026
839f6a9
ci: switch over ROCm builds to artifacts both for stable and preview …
superm1 May 16, 2026
0c1ca17
ci: update ROCm Windows builds (#1282)
superm1 May 16, 2026
3633072
feat: add module backend assignment support (#1500)
leejet May 16, 2026
d7ecbe1
fix: avoid repeated T5 EOS tokens in Anima prompt weights (#1501)
leejet May 16, 2026
bd17f53
docs: update zit example to 8 steps (#1294)
kwsp May 16, 2026
3b4d26f
ci: update ROCm builds for Windows and Linux to use ROCm 7.13 (#1504)
superm1 May 17, 2026
67dda3f
feat: add ltx2.3 support (#1463)
leejet May 17, 2026
cde20d5
fix: handle stereo format in sd_audio (#1489)
stduhpf May 17, 2026
06accf2
feat: add ltxav latent2rgb projection matrix (#1502)
stduhpf May 17, 2026
e43b24c
feat: add ltx2.3 flf2v support (#1505)
leejet May 17, 2026
50134e5
refactor: split guidance composition (#1506)
leejet May 17, 2026
e7eb92f
feat: add Gradient Estimation sampler (#1484)
wbruna May 17, 2026
baf7eda
refactor: minify vocab files (#1509)
leejet May 17, 2026
82e03ef
ci: add inactive pr clean up workflow
leejet May 17, 2026
8308042
docs: update news
leejet May 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Summary

<!-- Describe what changed and why. Keep the PR focused on one clear change. -->

## Related Issue / Discussion

<!-- Link related issues, discussions, or previous PRs if applicable. -->

## Additional Information

<!-- Add verification notes, screenshots, sample output, or other context when applicable. -->

## Checklist

- [ ] I have read and confirmed this PR follows the [contribution guidelines](https://github.com/leejet/stable-diffusion.cpp/blob/master/CONTRIBUTING.md).
232 changes: 157 additions & 75 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ on:
"**/*.c",
"**/*.cpp",
"**/*.cu",
"examples/server/frontend",
"examples/server/frontend/**",
]
pull_request:
Expand All @@ -35,6 +36,7 @@ on:
"**/*.c",
"**/*.cpp",
"**/*.cu",
"examples/server/frontend",
"examples/server/frontend/**",
]

Expand Down Expand Up @@ -133,7 +135,7 @@ jobs:
id: depends
run: |
sudo apt-get update
sudo apt-get install build-essential libvulkan-dev glslc
sudo apt-get install build-essential libvulkan-dev glslc spirv-headers

- name: Build
id: cmake_build
Expand Down Expand Up @@ -174,6 +176,7 @@ jobs:

build-and-push-docker-images:
name: Build and push container images
if: ${{ github.event_name != 'pull_request' }}
runs-on: ubuntu-latest

permissions:
Expand Down Expand Up @@ -239,6 +242,7 @@ jobs:
id: build-push
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64
push: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
file: Dockerfile.${{ matrix.variant }}
Expand Down Expand Up @@ -440,12 +444,95 @@ jobs:
path: |
sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-win-${{ matrix.build }}-x64.zip

windows-latest-rocm:
runs-on: windows-2022

env:
ROCM_VERSION: "7.13.0"
GPU_TARGETS: "gfx906;gfx908;gfx90a;gfx942;gfx950;gfx1100;gfx1101;gfx1102;gfx1150;gfx1151;gfx1200;gfx1201"

steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Cache ROCm Installation
id: cache-rocm
uses: actions/cache@v4
with:
path: C:\TheRock\build
key: rocm-${{ env.ROCM_VERSION }}-gfx1151-${{ runner.os }}

- name: ccache
uses: ggml-org/ccache-action@v1.2.16
with:
key: windows-latest-rocm-${{ env.ROCM_VERSION }}-x64
evict-old-files: 1d

- name: Install ROCm
if: steps.cache-rocm.outputs.cache-hit != 'true'
run: |
$ErrorActionPreference = "Stop"
write-host "Downloading AMD ROCm ${{ env.ROCM_VERSION }} tarball"
Invoke-WebRequest -Uri "https://repo.amd.com/rocm/tarball/therock-dist-windows-gfx1151-${{ env.ROCM_VERSION }}.tar.gz" -OutFile "${env:RUNNER_TEMP}\rocm.tar.gz"
write-host "Extracting ROCm tarball"
mkdir C:\TheRock\build -Force
tar -xzf "${env:RUNNER_TEMP}\rocm.tar.gz" -C C:\TheRock\build --strip-components=1
write-host "Completed ROCm extraction"

- name: Setup ROCm Environment
run: |
$rocmPath = "C:\TheRock\build"
echo "HIP_PATH=$rocmPath" >> $env:GITHUB_ENV
echo "HIP_DEVICE_LIB_PATH=$rocmPath\lib\llvm\amdgcn\bitcode" >> $env:GITHUB_ENV
echo "HIP_PLATFORM=amd" >> $env:GITHUB_ENV
echo "LLVM_PATH=$rocmPath\lib\llvm" >> $env:GITHUB_ENV
echo "$rocmPath\bin" >> $env:GITHUB_PATH
echo "$rocmPath\lib\llvm\bin" >> $env:GITHUB_PATH

- name: Build
run: |
mkdir build
cd build
cmake .. `
-G "Unix Makefiles" `
-DCMAKE_PREFIX_PATH="${env:HIP_PATH}" `
-DSD_HIPBLAS=ON `
-DSD_BUILD_SHARED_LIBS=ON `
-DGGML_NATIVE=OFF `
-DCMAKE_C_COMPILER="${env:HIP_PATH}\lib\llvm\bin\clang.exe" `
-DCMAKE_CXX_COMPILER="${env:HIP_PATH}\lib\llvm\bin\clang++.exe" `
-DCMAKE_HIP_COMPILER="${env:HIP_PATH}\lib\llvm\bin\clang.exe" `
-DHIP_PATH="${env:HIP_PATH}" `
-DCMAKE_BUILD_TYPE=Release `
-DGPU_TARGETS="${{ env.GPU_TARGETS }}"
cmake --build . --config Release --parallel ${env:NUMBER_OF_PROCESSORS}

- name: Get commit hash
id: commit
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
uses: pr-mpt/actions-commit-hash@v2

- name: Pack artifacts
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
run: |
7z a sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-win-rocm-${{ env.ROCM_VERSION }}-x64.zip .\build\bin\*

- name: Upload artifacts
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
uses: actions/upload-artifact@v4
with:
name: sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-win-rocm-${{ env.ROCM_VERSION }}-x64.zip
path: |
sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-win-rocm-${{ env.ROCM_VERSION }}-x64.zip

windows-latest-cmake-hip:
runs-on: windows-2022

env:
HIPSDK_INSTALLER_VERSION: "25.Q3"
GPU_TARGETS: "gfx1151;gfx1200;gfx1201;gfx1100;gfx1101;gfx1102;gfx1030;gfx1031;gfx1032"
HIPSDK_INSTALLER_VERSION: "26.Q1"
ROCM_VERSION: "7.1.1"
GPU_TARGETS: "gfx1150;gfx1151;gfx1200;gfx1201;gfx1100;gfx1101;gfx1102;gfx1030;gfx1031;gfx1032"

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -480,7 +567,7 @@ jobs:
run: |
$ErrorActionPreference = "Stop"
write-host "Downloading AMD HIP SDK Installer"
Invoke-WebRequest -Uri "https://download.amd.com/developer/eula/rocm-hub/AMD-Software-PRO-Edition-${{ env.HIPSDK_INSTALLER_VERSION }}-WinSvr2022-For-HIP.exe" -OutFile "${env:RUNNER_TEMP}\rocm-install.exe"
Invoke-WebRequest -Uri "https://download.amd.com/developer/eula/rocm-hub/AMD-Software-PRO-Edition-${{ env.HIPSDK_INSTALLER_VERSION }}-Win11-For-HIP.exe" -OutFile "${env:RUNNER_TEMP}\rocm-install.exe"
write-host "Installing AMD HIP SDK"
$proc = Start-Process "${env:RUNNER_TEMP}\rocm-install.exe" -ArgumentList '-install' -NoNewWindow -PassThru
$completed = $proc.WaitForExit(600000)
Expand Down Expand Up @@ -533,32 +620,38 @@ jobs:
run: |
md "build\bin\rocblas\library\"
md "build\bin\hipblaslt\library"
cp "${env:HIP_PATH}\bin\hipblas.dll" "build\bin\"
cp "${env:HIP_PATH}\bin\hipblaslt.dll" "build\bin\"
cp "${env:HIP_PATH}\bin\libhipblas.dll" "build\bin\"
cp "${env:HIP_PATH}\bin\libhipblaslt.dll" "build\bin\"
cp "${env:HIP_PATH}\bin\rocblas.dll" "build\bin\"
cp "${env:HIP_PATH}\bin\rocblas\library\*" "build\bin\rocblas\library\"
cp "${env:HIP_PATH}\bin\hipblaslt\library\*" "build\bin\hipblaslt\library\"
7z a sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-win-rocm-x64.zip .\build\bin\*
7z a sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-win-rocm-${{ env.ROCM_VERSION }}-x64.zip .\build\bin\*

- name: Upload artifacts
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
uses: actions/upload-artifact@v4
with:
name: sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-win-rocm-x64.zip
name: sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-win-rocm-${{ env.ROCM_VERSION }}-x64.zip
path: |
sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-win-rocm-x64.zip
sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-win-rocm-${{ env.ROCM_VERSION }}-x64.zip

ubuntu-latest-rocm:
runs-on: ubuntu-latest
container: rocm/dev-ubuntu-24.04:7.2
runs-on: ubuntu-24.04

env:
ROCM_VERSION: "7.2"
UBUNTU_VERSION: "24.04"
GPU_TARGETS: "gfx1151;gfx1150;gfx1100;gfx1101;gfx1102;gfx1200;gfx1201"

strategy:
matrix:
include:
- ROCM_VERSION: "7.2.1"
gpu_targets: "gfx908;gfx90a;gfx942;gfx1030;gfx1031;gfx1032;gfx1100;gfx1101;gfx1102;gfx1151;gfx1150;gfx1200;gfx1201"
build: 'x64'
- ROCM_VERSION: "7.13.0"
gpu_targets: "gfx906;gfx908;gfx90a;gfx942;gfx950;gfx1100;gfx1101;gfx1102;gfx1150;gfx1151;gfx1200;gfx1201"
build: x64

steps:
- run: apt-get update && apt-get install -y git
- name: Clone
id: checkout
uses: actions/checkout@v6
Expand All @@ -575,6 +668,38 @@ jobs:
with:
version: 10.15.1

- name: ccache
uses: ggml-org/ccache-action@v1.2.16
with:
key: ubuntu-rocm-cmake-${{ matrix.ROCM_VERSION }}-${{ matrix.build }}
evict-old-files: 1d

- name: Dependencies
id: depends
run: |
sudo apt install -y build-essential cmake wget zip ninja-build

- name: Setup Legacy ROCm
if: matrix.ROCM_VERSION == '7.2.1'
id: legacy_env
run: |
sudo mkdir --parents --mode=0755 /etc/apt/keyrings
wget https://repo.radeon.com/rocm/rocm.gpg.key -O - | \
gpg --dearmor | sudo tee /etc/apt/keyrings/rocm.gpg > /dev/null

sudo tee /etc/apt/sources.list.d/rocm.list << EOF
deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/${{ matrix.ROCM_VERSION }} noble main
EOF

sudo tee /etc/apt/preferences.d/rocm-pin-600 << EOF
Package: *
Pin: release o=repo.radeon.com
Pin-Priority: 600
EOF

sudo apt update
sudo apt-get install -y libssl-dev rocm-hip-sdk

- name: Free disk space
run: |
# Remove preinstalled SDKs and caches not needed for this job
Expand All @@ -588,64 +713,30 @@ jobs:
sudo rm -rf /var/lib/apt/lists/* || true
sudo apt clean

- name: Dependencies
id: depends
run: |
sudo apt-get update
sudo apt install -y \
cmake \
hip-dev \
hipblas-dev \
ninja-build \
rocm-dev \
zip
# Clean apt caches to recover disk space
sudo apt clean
sudo rm -rf /var/lib/apt/lists/* || true

- name: Setup ROCm Environment
- name: Setup TheRock
if: matrix.ROCM_VERSION != '7.2.1'
id: therock_env
run: |
# Add ROCm to PATH for current session
echo "/opt/rocm/bin" >> $GITHUB_PATH

# Build regex pattern from ${{ env.GPU_TARGETS }} (match target as substring)
TARGET_REGEX="($(printf '%s' "${{ env.GPU_TARGETS }}" | sed 's/;/|/g'))"

# Remove library files for architectures we're not building for to save disk space
echo "Cleaning up unneeded architecture files..."
cd /opt/rocm/lib/rocblas/library
# Keep only our target architectures
for file in *; do
if printf '%s' "$file" | grep -q 'gfx'; then
if ! printf '%s' "$file" | grep -Eq "$TARGET_REGEX"; then
echo "Removing $file" &&
sudo rm -f "$file";
fi
fi
done

cd /opt/rocm/lib/hipblaslt/library
for file in *; do
if printf '%s' "$file" | grep -q 'gfx'; then
if ! printf '%s' "$file" | grep -Eq "$TARGET_REGEX"; then
echo "Removing $file" &&
sudo rm -f "$file";
fi
fi
done
wget https://repo.amd.com/rocm/tarball/therock-dist-linux-gfx1151-${{ matrix.ROCM_VERSION }}.tar.gz
mkdir install
tar -xf *.tar.gz -C install
export ROCM_PATH=$(pwd)/install
echo ROCM_PATH=$ROCM_PATH >> $GITHUB_ENV
echo PATH=$PATH:$ROCM_PATH/bin >> $GITHUB_ENV
echo LD_LIBRARY_PATH=$ROCM_PATH/lib:$ROCM_PATH/llvm/lib:$ROCM_PATH/lib/rocprofiler-systems >> $GITHUB_ENV

- name: Build
id: cmake_build
run: |
mkdir build
cd build
cmake .. -G Ninja \
-DCMAKE_CXX_COMPILER=amdclang++ \
-DCMAKE_C_COMPILER=amdclang \
-DCMAKE_HIP_COMPILER="$(hipconfig -l)/clang" \
-DCMAKE_HIP_FLAGS="-mllvm --amdgpu-unroll-threshold-local=600" \
-DCMAKE_BUILD_TYPE=Release \
-DSD_HIPBLAS=ON \
-DGPU_TARGETS="${{ env.GPU_TARGETS }}" \
-DAMDGPU_TARGETS="${{ env.GPU_TARGETS }}" \
-DHIP_PLATFORM=amd \
-DGPU_TARGETS="${{ matrix.gpu_targets }}" \
-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
-DSD_BUILD_SHARED_LIBS=ON
Expand All @@ -664,16 +755,6 @@ jobs:
cp ggml/LICENSE ./build/bin/ggml.txt
cp LICENSE ./build/bin/stable-diffusion.cpp.txt

# Move ROCm runtime libraries (to avoid double space consumption)
sudo mv /opt/rocm/lib/librocsparse.so* ./build/bin/
sudo mv /opt/rocm/lib/libhsa-runtime64.so* ./build/bin/
sudo mv /opt/rocm/lib/libamdhip64.so* ./build/bin/
sudo mv /opt/rocm/lib/libhipblas.so* ./build/bin/
sudo mv /opt/rocm/lib/libhipblaslt.so* ./build/bin/
sudo mv /opt/rocm/lib/librocblas.so* ./build/bin/
sudo mv /opt/rocm/lib/rocblas/ ./build/bin/
sudo mv /opt/rocm/lib/hipblaslt/ ./build/bin/

- name: Fetch system info
id: system-info
run: |
Expand All @@ -688,15 +769,15 @@ jobs:
run: |
cp ggml/LICENSE ./build/bin/ggml.txt
cp LICENSE ./build/bin/stable-diffusion.cpp.txt
zip -y -r sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-${{ steps.system-info.outputs.OS_TYPE }}-Ubuntu-${{ env.UBUNTU_VERSION }}-${{ steps.system-info.outputs.CPU_ARCH }}-rocm.zip ./build/bin
zip -y -r sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-${{ steps.system-info.outputs.OS_TYPE }}-Ubuntu-${{ env.UBUNTU_VERSION }}-${{ steps.system-info.outputs.CPU_ARCH }}-rocm-${{ matrix.ROCM_VERSION }}.zip ./build/bin

- name: Upload artifacts
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
uses: actions/upload-artifact@v4
with:
name: sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-${{ steps.system-info.outputs.OS_TYPE }}-Ubuntu-${{ env.UBUNTU_VERSION }}-${{ steps.system-info.outputs.CPU_ARCH }}-rocm.zip
name: sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-${{ steps.system-info.outputs.OS_TYPE }}-Ubuntu-${{ env.UBUNTU_VERSION }}-${{ steps.system-info.outputs.CPU_ARCH }}-rocm-${{ matrix.ROCM_VERSION }}.zip
path: |
sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-${{ steps.system-info.outputs.OS_TYPE }}-Ubuntu-${{ env.UBUNTU_VERSION }}-${{ steps.system-info.outputs.CPU_ARCH }}-rocm.zip
sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-${{ steps.system-info.outputs.OS_TYPE }}-Ubuntu-${{ env.UBUNTU_VERSION }}-${{ steps.system-info.outputs.CPU_ARCH }}-rocm-${{ matrix.ROCM_VERSION }}.zip

release:
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
Expand All @@ -711,6 +792,7 @@ jobs:
- macOS-latest-cmake
- windows-latest-cmake
- windows-latest-cmake-hip
- windows-latest-rocm

steps:
- name: Clone
Expand Down
Loading