From 643dbf6d95213334dd06a35897fa2e8c1babef17 Mon Sep 17 00:00:00 2001 From: nguyenhoangthuan99 Date: Wed, 18 Dec 2024 15:47:59 +0700 Subject: [PATCH] test: package fish speech --- .github/workflows/python-package.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 9b4f44571..7d570175d 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -22,8 +22,8 @@ on: env: - MODEL_DIR: models/whispervq # ${{ inputs.model_dir }} - MODEL_NAME: whispervq # ${{ inputs.model_name }} + MODEL_DIR: models/fish-speech # ${{ inputs.model_dir }} + MODEL_NAME: fish-speech # ${{ inputs.model_name }} REPO_NAME: janhq/models # ${{ inputs.model_name }} BRANCH_NAME: feat/ci-python-models # ${{ inputs.model_name }} @@ -91,6 +91,7 @@ jobs: if: runner.os == 'windows' shell: pwsh run: | + python3 -m pip freeze | xargs python3 -m pip uninstall -y python3 -m pip install --upgrade pip python3 -m pip install -r ${{env.MODEL_DIR}}/requirements.cuda.txt @@ -101,6 +102,7 @@ jobs: source $HOME/miniconda3/bin/activate base conda init conda activate ${{env.MODEL_NAME}} + python -m pip freeze | xargs python -m pip uninstall -y python -m pip install --upgrade pip python -m pip install -r ${{env.MODEL_DIR}}/requirements.cuda.txt @@ -111,6 +113,7 @@ jobs: source $HOME/miniconda3/bin/activate base conda init conda activate ${{env.MODEL_NAME}} + python -m pip freeze | xargs python -m pip uninstall -y python -m pip install --upgrade pip python -m pip install -r ${{env.MODEL_DIR}}/requirements.txt