|
--- |
|
name: 'Tests extras backends' |
|
|
|
on: |
|
pull_request: |
|
push: |
|
branches: |
|
- master |
|
tags: |
|
- '*' |
|
|
|
concurrency: |
|
group: ci-tests-extra-${{ github.head_ref || github.ref }}-${{ github.repository }} |
|
cancel-in-progress: true |
|
|
|
jobs: |
|
tests-transformers: |
|
runs-on: ubuntu-latest |
|
steps: |
|
- name: Clone |
|
uses: actions/checkout@v4 |
|
with: |
|
submodules: true |
|
- name: Dependencies |
|
run: | |
|
sudo apt-get update |
|
sudo apt-get install build-essential ffmpeg |
|
# Install UV |
|
curl -LsSf https://astral.sh/uv/install.sh | sh |
|
sudo apt-get install -y ca-certificates cmake curl patch python3-pip |
|
sudo apt-get install -y libopencv-dev |
|
pip install --user --no-cache-dir grpcio-tools==1.64.1 |
|
|
|
- name: Test transformers |
|
run: | |
|
make --jobs=5 --output-sync=target -C backend/python/transformers |
|
make --jobs=5 --output-sync=target -C backend/python/transformers test |
|
|
|
tests-sentencetransformers: |
|
runs-on: ubuntu-latest |
|
steps: |
|
- name: Clone |
|
uses: actions/checkout@v4 |
|
with: |
|
submodules: true |
|
- name: Dependencies |
|
run: | |
|
sudo apt-get update |
|
sudo apt-get install build-essential ffmpeg |
|
# Install UV |
|
curl -LsSf https://astral.sh/uv/install.sh | sh |
|
sudo apt-get install -y ca-certificates cmake curl patch python3-pip |
|
sudo apt-get install -y libopencv-dev |
|
pip install --user --no-cache-dir grpcio-tools==1.64.1 |
|
|
|
- name: Test sentencetransformers |
|
run: | |
|
make --jobs=5 --output-sync=target -C backend/python/sentencetransformers |
|
make --jobs=5 --output-sync=target -C backend/python/sentencetransformers test |
|
|
|
|
|
tests-rerankers: |
|
runs-on: ubuntu-latest |
|
steps: |
|
- name: Clone |
|
uses: actions/checkout@v4 |
|
with: |
|
submodules: true |
|
- name: Dependencies |
|
run: | |
|
sudo apt-get update |
|
sudo apt-get install build-essential ffmpeg |
|
# Install UV |
|
curl -LsSf https://astral.sh/uv/install.sh | sh |
|
sudo apt-get install -y ca-certificates cmake curl patch python3-pip |
|
sudo apt-get install -y libopencv-dev |
|
pip install --user --no-cache-dir grpcio-tools==1.64.1 |
|
|
|
- name: Test rerankers |
|
run: | |
|
make --jobs=5 --output-sync=target -C backend/python/rerankers |
|
make --jobs=5 --output-sync=target -C backend/python/rerankers test |
|
|
|
tests-diffusers: |
|
runs-on: ubuntu-latest |
|
steps: |
|
- name: Clone |
|
uses: actions/checkout@v4 |
|
with: |
|
submodules: true |
|
- name: Dependencies |
|
run: | |
|
sudo apt-get update |
|
sudo apt-get install -y build-essential ffmpeg |
|
sudo apt-get install -y ca-certificates cmake curl patch python3-pip |
|
sudo apt-get install -y libopencv-dev |
|
# Install UV |
|
curl -LsSf https://astral.sh/uv/install.sh | sh |
|
pip install --user --no-cache-dir grpcio-tools==1.64.1 |
|
- name: Test diffusers |
|
run: | |
|
make --jobs=5 --output-sync=target -C backend/python/diffusers |
|
make --jobs=5 --output-sync=target -C backend/python/diffusers test |
|
|
|
tests-parler-tts: |
|
runs-on: ubuntu-latest |
|
steps: |
|
- name: Clone |
|
uses: actions/checkout@v4 |
|
with: |
|
submodules: true |
|
- name: Dependencies |
|
run: | |
|
sudo apt-get update |
|
sudo apt-get install build-essential ffmpeg |
|
# Install UV |
|
curl -LsSf https://astral.sh/uv/install.sh | sh |
|
sudo apt-get install -y ca-certificates cmake curl patch python3-pip |
|
sudo apt-get install -y libopencv-dev |
|
pip install --user --no-cache-dir grpcio-tools==1.64.1 |
|
|
|
- name: Test parler-tts |
|
run: | |
|
make --jobs=5 --output-sync=target -C backend/python/parler-tts |
|
make --jobs=5 --output-sync=target -C backend/python/parler-tts test |
|
|
|
tests-openvoice: |
|
runs-on: ubuntu-latest |
|
steps: |
|
- name: Clone |
|
uses: actions/checkout@v4 |
|
with: |
|
submodules: true |
|
- name: Dependencies |
|
run: | |
|
sudo apt-get update |
|
sudo apt-get install build-essential ffmpeg |
|
# Install UV |
|
curl -LsSf https://astral.sh/uv/install.sh | sh |
|
sudo apt-get install -y ca-certificates cmake curl patch python3-pip |
|
sudo apt-get install -y libopencv-dev |
|
pip install --user --no-cache-dir grpcio-tools==1.64.1 |
|
|
|
- name: Test openvoice |
|
run: | |
|
make --jobs=5 --output-sync=target -C backend/python/openvoice |
|
make --jobs=5 --output-sync=target -C backend/python/openvoice test |
|
|
|
tests-transformers-musicgen: |
|
runs-on: ubuntu-latest |
|
steps: |
|
- name: Clone |
|
uses: actions/checkout@v4 |
|
with: |
|
submodules: true |
|
- name: Dependencies |
|
run: | |
|
sudo apt-get update |
|
sudo apt-get install build-essential ffmpeg |
|
# Install UV |
|
curl -LsSf https://astral.sh/uv/install.sh | sh |
|
sudo apt-get install -y ca-certificates cmake curl patch python3-pip |
|
sudo apt-get install -y libopencv-dev |
|
pip install --user --no-cache-dir grpcio-tools==1.64.1 |
|
|
|
- name: Test transformers-musicgen |
|
run: | |
|
make --jobs=5 --output-sync=target -C backend/python/transformers-musicgen |
|
make --jobs=5 --output-sync=target -C backend/python/transformers-musicgen test |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tests-vallex: |
|
runs-on: ubuntu-latest |
|
steps: |
|
- name: Clone |
|
uses: actions/checkout@v4 |
|
with: |
|
submodules: true |
|
- name: Dependencies |
|
run: | |
|
sudo apt-get update |
|
sudo apt-get install build-essential ffmpeg |
|
# Install UV |
|
curl -LsSf https://astral.sh/uv/install.sh | sh |
|
sudo apt-get install -y ca-certificates cmake curl patch python3-pip |
|
sudo apt-get install -y libopencv-dev |
|
pip install --user --no-cache-dir grpcio-tools==1.64.1 |
|
- name: Test vall-e-x |
|
run: | |
|
make --jobs=5 --output-sync=target -C backend/python/vall-e-x |
|
make --jobs=5 --output-sync=target -C backend/python/vall-e-x test |
|
|
|
tests-coqui: |
|
runs-on: ubuntu-latest |
|
steps: |
|
- name: Clone |
|
uses: actions/checkout@v4 |
|
with: |
|
submodules: true |
|
- name: Dependencies |
|
run: | |
|
sudo apt-get update |
|
sudo apt-get install build-essential ffmpeg |
|
sudo apt-get install -y ca-certificates cmake curl patch espeak espeak-ng python3-pip |
|
# Install UV |
|
curl -LsSf https://astral.sh/uv/install.sh | sh |
|
pip install --user --no-cache-dir grpcio-tools==1.64.1 |
|
- name: Test coqui |
|
run: | |
|
make --jobs=5 --output-sync=target -C backend/python/coqui |
|
make --jobs=5 --output-sync=target -C backend/python/coqui test |
|
|