add FireRedTTS2 (#584) #112
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test pip install requirements | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| max-parallel: 4 | |
| matrix: | |
| platform: [ubuntu-latest, macos-14, windows-latest] | |
| # platform: [ubuntu-latest] | |
| # python-version: ["3.10", "3.11", "3.12"] | |
| python-version: ["3.10", "3.11"] | |
| # python-version: ["3.12"] | |
| include: | |
| - python-version: "3.10" | |
| cp_tag: "310" | |
| - python-version: "3.11" | |
| cp_tag: "311" | |
| # - python-version: "3.12" | |
| # cp_tag: "312" | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install torch | |
| run: python -m pip install torch==2.6.0 torchvision torchaudio | |
| # Mac-specific xformers installation | |
| - name: Install xformers on macOS | |
| if: matrix.platform == 'macos-14' | |
| run: | | |
| python -m pip install https://github.com/rsxdalv/xformers/releases/download/v0.0.30/xformers-0.0.30+cbc9beb.d20250514-cp${{ matrix.cp_tag }}-cp${{ matrix.cp_tag }}-macosx_11_0_universal2.whl | |
| # xformers installation for non-macOS platforms | |
| - name: Install xformers on non-macOS | |
| if: matrix.platform != 'macos-14' | |
| run: | | |
| python -m pip install xformers==0.0.29.post3 --index-url https://download.pytorch.org/whl/cu124 | |
| - name: Upgrade setuptools for Python 3.12 | |
| if: matrix.python-version == '3.12' | |
| run: python -m pip install --upgrade setuptools | |
| - name: Install dependencies | |
| shell: bash | |
| run: | | |
| python -m pip install -r requirements.txt \ | |
| tts-webui-extension.bark_voice_clone>=0.0.1 \ | |
| tts-webui-extension.rvc>=0.0.3 \ | |
| tts-webui-extension.audiocraft>=0.0.2 \ | |
| tts-webui-extension.styletts2>=0.1.0 \ | |
| tts-webui-extension.vall_e_x>=0.1.0 \ | |
| tts-webui-extension.stable_audio>=0.1.1 \ | |
| --extra-index-url https://tts-webui.github.io/extensions-index/ | |
| - name: Test tts_webui | |
| run: python -c "import tts_webui" | |
| - name: Print installed packages | |
| run: python -m pip list | |
| - name: Test install all extensions | |
| continue-on-error: true | |
| # fix bug with 'fixture' extensions that do not have a real repo (builtin) | |
| run: | | |
| for ext in $(cat extensions.json | grep "requirements" | grep "git+" | cut -d '"' -f 4); do | |
| echo "Installing $ext" | |
| python -m pip install --dry-run $ext | |
| done | |
| # uv lock | |
| # - name: Lock with uv | |
| # run: uv lock | |
| # upload uv lock artifact | |
| # - name: Upload uv lock artifact | |
| # uses: actions/upload-artifact@v4 | |
| # with: | |
| # name: uv-lock-${{ matrix.platform }}-${{ matrix.python-version }} | |
| # path: .uv-lock |