Minor-fixes (#415) #14
This file contains 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: | |
max-parallel: 4 | |
matrix: | |
platform: [ubuntu-latest, macos-14, windows-latest] | |
# platform: [macos-14] | |
python-version: ["3.10"] | |
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 | |
# if: matrix.platform == 'windows-latest' | |
# also test with uv | |
# MACOSX_DEPLOYMENT_TARGET=10.9 CC=clang CXX=clang++ python -m pip install xformers==0.0.27 | |
# MACOSX_DEPLOYMENT_TARGET=10.9 CC=/usr/local/opt/llvm/bin/clang CXX=/usr/local/opt/llvm/bin/clang++ python -m pip install xformers==0.0.27 | |
# python -m pip install wheel ninja | |
# brew install llvm libomp | |
# MACOSX_DEPLOYMENT_TARGET=10.9 CC=/opt/homebrew/opt/llvm/bin/clang CXX=/opt/homebrew/opt/llvm/bin/clang++ python -m pip install xformers==0.0.27 | |
# xformers @ https://github.com/rsxdalv/xformers/releases/download/v0.0.27/xformers-0.0.27+184b280.d20241026-cp310-cp310-macosx_11_0_universal2.whl ; sys_platform == 'darwin' | |
run: python -m pip install torch==2.3.1 torchvision torchaudio | |
- name: Install xformers | |
if: matrix.platform == 'macos-14' | |
run: | | |
python -m pip install https://github.com/rsxdalv/xformers/releases/download/v0.0.27/xformers-0.0.27+184b280.d20241026-cp310-cp310-macosx_11_0_universal2.whl | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip==23.3.2 | |
python -m pip install -r requirements.txt | |
python -m pip install -r requirements_bark_hubert_quantizer.txt | |
python -m pip install -r requirements_rvc.txt | |
python -m pip install -r requirements_audiocraft_0.txt | |
python -m pip install -r requirements_audiocraft.txt | |
python -m pip install -r requirements_styletts2.txt | |
python -m pip install -r requirements_vall_e.txt | |
python -m pip install -r requirements_maha_tts.txt | |
python -m pip install -r requirements_stable_audio.txt | |
python -m pip install hydra-core==1.3.2 | |
python -m pip install nvidia-ml-py | |
# - name: Lint with ruff | |
# run: ruff check . |