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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
27 changes: 14 additions & 13 deletions .github/workflows/engines-cross-ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Cross-platform lanes for the engines (parakeet-cpp/, tts-cpp/ — engines/*
# after the repo reorg QIP; update the path filters + SRC map when it lands).
# Cross-platform lanes for the engines (engines/parakeet/, engines/tts/ —
# moved from parakeet-cpp/, tts-cpp/ by the repo reorg QIP, PR 1).
#
# Complements parakeet-ci.yml / tts-ci.yml (linux+mac build+test):
# - windows: full build + non-GPU ctest (MSVC, static ggml)
Expand All @@ -14,13 +14,13 @@ on:
push:
branches: [master]
paths:
- 'parakeet-cpp/**'
- 'tts-cpp/**'
- 'engines/parakeet/**'
- 'engines/tts/**'
- '.github/workflows/engines-cross-ci.yml'
pull_request:
paths:
- 'parakeet-cpp/**'
- 'tts-cpp/**'
- 'engines/parakeet/**'
- 'engines/tts/**'
- '.github/workflows/engines-cross-ci.yml'
workflow_dispatch:

Expand All @@ -43,10 +43,10 @@ jobs:
engine: [parakeet, tts]
include:
- engine: parakeet
src: parakeet-cpp
src: engines/parakeet
cmake_flags: -DPARAKEET_USE_SYSTEM_GGML=ON -DPARAKEET_BUILD_TESTS=ON -DPARAKEET_BUILD_EXAMPLES=OFF
- engine: tts
src: tts-cpp
src: engines/tts
cmake_flags: -DTTS_CPP_BUILD_TESTS=ON
runs-on: windows-2022
timeout-minutes: 90
Expand All @@ -65,7 +65,7 @@ jobs:
uses: actions/cache@v4
with:
path: ggml-install
key: ggml-install-windows-2022-msvc-static-${{ steps.ggml.outputs.sha }}
key: ggml-install-portable-windows-2022-msvc-static-${{ steps.ggml.outputs.sha }}

# Static ggml on Windows sidesteps DLL discovery for the test exes.
- name: Build ggml (MSVC, static, CPU-only)
Expand All @@ -79,6 +79,7 @@ jobs:
git -C ggml-src checkout -q FETCH_HEAD
cmake -S ggml-src -B ggml-src/build -A x64 \
-DBUILD_SHARED_LIBS=OFF \
-DGGML_NATIVE=OFF \
-DGGML_BUILD_TESTS=OFF \
-DGGML_BUILD_EXAMPLES=OFF \
-DCMAKE_INSTALL_PREFIX="$PWD/ggml-install"
Expand All @@ -104,10 +105,10 @@ jobs:
engine: [parakeet, tts]
include:
- engine: parakeet
src: parakeet-cpp
src: engines/parakeet
cmake_flags: -DPARAKEET_USE_SYSTEM_GGML=ON -DPARAKEET_BUILD_TESTS=OFF -DPARAKEET_BUILD_EXAMPLES=OFF
- engine: tts
src: tts-cpp
src: engines/tts
cmake_flags: -DTTS_CPP_BUILD_TESTS=OFF
runs-on: ubuntu-24.04
timeout-minutes: 60
Expand Down Expand Up @@ -168,10 +169,10 @@ jobs:
engine: [parakeet, tts]
include:
- engine: parakeet
src: parakeet-cpp
src: engines/parakeet
cmake_flags: -DPARAKEET_USE_SYSTEM_GGML=ON -DPARAKEET_BUILD_TESTS=OFF -DPARAKEET_BUILD_EXAMPLES=OFF
- engine: tts
src: tts-cpp
src: engines/tts
cmake_flags: -DTTS_CPP_BUILD_TESTS=OFF
runs-on: macos-14
timeout-minutes: 60
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/parakeet-ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# CI for the parakeet engine (parakeet-cpp/ — engines/parakeet/ after the
# repo reorg QIP lands; update the path filters below when it does).
# CI for the parakeet engine (engines/parakeet/ — moved from parakeet-cpp/
# by the repo reorg QIP, PR 1).
#
# Scope (QIP "PR 0" lane): build the engine + every test harness against
# system ggml (qvac-ext-ggml @ speech, the same fork the ggml-speech vcpkg
Expand All @@ -14,11 +14,11 @@ on:
push:
branches: [master]
paths:
- 'parakeet-cpp/**'
- 'engines/parakeet/**'
- '.github/workflows/parakeet-ci.yml'
pull_request:
paths:
- 'parakeet-cpp/**'
- 'engines/parakeet/**'
- '.github/workflows/parakeet-ci.yml'
workflow_dispatch:
inputs:
Expand All @@ -36,7 +36,7 @@ concurrency:

env:
GGML_REPO: https://github.com/tetherto/qvac-ext-ggml.git
GGML_BRANCH: speech # keep in sync with parakeet-cpp/scripts/setup-ggml.sh
GGML_BRANCH: speech # keep in sync with engines/parakeet/scripts/setup-ggml.sh

jobs:
build-test:
Expand All @@ -63,7 +63,7 @@ jobs:
uses: actions/cache@v4
with:
path: ggml-install
key: ggml-install-${{ matrix.os }}-${{ steps.ggml.outputs.sha }}
key: ggml-install-portable-${{ matrix.os }}-${{ steps.ggml.outputs.sha }}

- name: Cache ccache
uses: actions/cache@v4
Expand All @@ -88,6 +88,7 @@ jobs:
cmake -S ggml-src -B ggml-src/build \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=ON \
-DGGML_NATIVE=OFF \
-DGGML_METAL=OFF \
-DGGML_BUILD_TESTS=OFF \
-DGGML_BUILD_EXAMPLES=OFF \
Expand All @@ -97,7 +98,7 @@ jobs:

- name: Configure
run: |
cmake -S parakeet-cpp -B build \
cmake -S engines/parakeet -B build \
-DCMAKE_BUILD_TYPE=Release \
-DPARAKEET_USE_SYSTEM_GGML=ON \
-DPARAKEET_BUILD_TESTS=ON \
Expand Down Expand Up @@ -139,7 +140,7 @@ jobs:
-DGGML_VULKAN=ON \
-DCMAKE_INSTALL_PREFIX="$PWD/ggml-install"
cmake --build ggml-src/build -j && cmake --install ggml-src/build
cmake -S parakeet-cpp -B build -DCMAKE_BUILD_TYPE=Release \
cmake -S engines/parakeet -B build -DCMAKE_BUILD_TYPE=Release \
-DPARAKEET_USE_SYSTEM_GGML=ON -DPARAKEET_BUILD_TESTS=ON \
-DCMAKE_PREFIX_PATH="$PWD/ggml-install"
cmake --build build -j
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/tts-ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# CI for the TTS engines (tts-cpp/ — engines/tts/ after the repo reorg QIP
# lands; update the path filters below when it does).
# CI for the TTS engines (engines/tts/ — moved from tts-cpp/ by the repo
# reorg QIP, PR 1).
#
# Scope (QIP "PR 0" lane): build chatterbox + supertonic + lavasr and every
# test harness against system ggml (qvac-ext-ggml @ speech — mandatory here:
Expand All @@ -13,11 +13,11 @@ on:
push:
branches: [master]
paths:
- 'tts-cpp/**'
- 'engines/tts/**'
- '.github/workflows/tts-ci.yml'
pull_request:
paths:
- 'tts-cpp/**'
- 'engines/tts/**'
- '.github/workflows/tts-ci.yml'
workflow_dispatch:
inputs:
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
uses: actions/cache@v4
with:
path: ggml-install
key: ggml-install-${{ matrix.os }}-${{ steps.ggml.outputs.sha }}
key: ggml-install-portable-${{ matrix.os }}-${{ steps.ggml.outputs.sha }}

- name: Cache ccache
uses: actions/cache@v4
Expand All @@ -89,6 +89,7 @@ jobs:
cmake -S ggml-src -B ggml-src/build \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=ON \
-DGGML_NATIVE=OFF \
-DGGML_METAL=OFF \
-DGGML_BUILD_TESTS=OFF \
-DGGML_BUILD_EXAMPLES=OFF \
Expand All @@ -98,7 +99,7 @@ jobs:

- name: Configure
run: |
cmake -S tts-cpp -B build \
cmake -S engines/tts -B build \
-DCMAKE_BUILD_TYPE=Release \
-DTTS_CPP_BUILD_TESTS=ON \
-DCMAKE_PREFIX_PATH="$PWD/ggml-install"
Expand Down Expand Up @@ -139,7 +140,7 @@ jobs:
-DGGML_VULKAN=ON \
-DCMAKE_INSTALL_PREFIX="$PWD/ggml-install"
cmake --build ggml-src/build -j && cmake --install ggml-src/build
cmake -S tts-cpp -B build -DCMAKE_BUILD_TYPE=Release \
cmake -S engines/tts -B build -DCMAKE_BUILD_TYPE=Release \
-DTTS_CPP_BUILD_TESTS=ON \
-DCMAKE_PREFIX_PATH="$PWD/ggml-install"
cmake --build build -j
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// same greedy input as A (direct), B (TTS_CPP_FORCE_SCHED=1) and A' (direct
// again); all three PCM buffers must be bit-identical.

#include "../test_env_portable.h"
#include "tts-cpp/parler/engine.h"

#include <cstdio>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading
Loading