Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:

- name: Smoke test
run: |
./build/ace-qwen3 --help 2>&1 | head -5
./build/dit-vae --help 2>&1 | head -5
./build/ace-lm --help 2>&1 | head -5
./build/ace-synth --help 2>&1 | head -5
./build/quantize --help 2>&1 | head -3

lint:
Expand Down
25 changes: 18 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ jobs:
sudo apt-get update -qq
sudo apt-get install -y -qq cmake build-essential ${{ matrix.apt_extra || '' }}

- name: ccache
if: runner.os != 'Windows'
uses: hendrikmuhs/ccache-action@v1.2
with:
create-symlink: true
key: ${{ github.job }}-${{ matrix.os }}

- name: Install CUDA toolkit (Linux)
uses: Jimver/cuda-toolkit@v0.2.30
if: matrix.install_cuda == true
Expand Down Expand Up @@ -88,8 +95,8 @@ jobs:
BIN="build"
EXT=""
fi
"$BIN/ace-qwen3$EXT" 2>&1 | head -5
"$BIN/dit-vae$EXT" 2>&1 | head -5
"$BIN/ace-lm$EXT" 2>&1 | head -5
"$BIN/ace-synth$EXT" 2>&1 | head -5
"$BIN/ace-understand$EXT" 2>&1 | head -5
"$BIN/neural-codec$EXT" 2>&1 | head -5
"$BIN/quantize$EXT" 2>&1 | head -3
Expand All @@ -109,24 +116,28 @@ jobs:
if: runner.os == 'Linux'
run: |
mkdir -p dist
cp build/ace-qwen3 build/dit-vae build/ace-understand \
cp build/ace-* \
build/quantize build/neural-codec build/mp3-codec build/*.so dist/
tar -C dist -czf "acestep-${{ matrix.name }}.tar.gz" .

- name: Package binaries (macOS)
if: runner.os == 'macOS'
run: |
mkdir -p dist
cp build/ace-qwen3 build/dit-vae build/ace-understand \
build/quantize build/neural-codec build/mp3-codec dist/
cd build
for bin in ace-* quantize neural-codec mp3-codec; do
install_name_tool -add_rpath @executable_path "$bin"
done
cp -P ace-* quantize neural-codec mp3-codec libacestep*.a libggml*.dylib ../dist/
cd ..
tar -C dist -czf "acestep-${{ matrix.name }}.tar.gz" .

- name: Package binaries (Windows)
if: runner.os == 'Windows'
shell: pwsh
run: |
New-Item -ItemType Directory -Path dist | Out-Null
$bins = @('ace-qwen3','dit-vae','ace-understand','quantize','neural-codec','mp3-codec')
$bins = @('ace-lm','ace-synth','ace-understand','quantize','neural-codec','mp3-codec')
foreach ($b in $bins) {
Copy-Item "build\Release\$b.exe" dist\
}
Expand Down
Loading