Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 7132058

Browse files
feat: package env for ichigo-wrapper
1 parent 2080c1d commit 7132058

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

.github/workflows/python-package.yml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ on:
2222

2323

2424
env:
25-
MODEL_DIR: models/fish-speech # ${{ inputs.model_dir }}
26-
MODEL_NAME: fish-speech # ${{ inputs.model_name }}
25+
MODEL_DIR: models/ichigo-wrapper # ${{ inputs.model_dir }}
26+
MODEL_NAME: ichigo-wrapper # ${{ inputs.model_name }}
2727
REPO_NAME: janhq/models # ${{ inputs.model_name }}
2828
BRANCH_NAME: feat/ci-python-models # ${{ inputs.model_name }}
2929

@@ -35,15 +35,15 @@ jobs:
3535
fail-fast: false
3636
matrix:
3737
include:
38-
# - os: "linux"
39-
# name: "amd64"
40-
# runs-on: "ubuntu-20-04-cuda-12-0"
41-
# - os: "mac"
42-
# name: "amd64"
43-
# runs-on: "macos-selfhosted-12"
44-
# - os: "mac"
45-
# name: "arm64"
46-
# runs-on: "macos-selfhosted-12-arm64"
38+
- os: "linux"
39+
name: "amd64"
40+
runs-on: "ubuntu-20-04-cuda-12-0"
41+
- os: "mac"
42+
name: "amd64"
43+
runs-on: "macos-selfhosted-12"
44+
- os: "mac"
45+
name: "arm64"
46+
runs-on: "macos-selfhosted-12-arm64"
4747
- os: "windows"
4848
name: "amd64"
4949
runs-on: "windows-cuda-12-0"
@@ -91,6 +91,8 @@ jobs:
9191
if: runner.os == 'windows'
9292
shell: pwsh
9393
run: |
94+
python3 -m pip install fastapi
95+
python3 -m pip freeze | % { python3 -m pip uninstall -y $_ }
9496
python3 -m pip install --upgrade pip
9597
python3 -m pip install -I -r ${{env.MODEL_DIR}}/requirements.cuda.txt
9698
@@ -101,6 +103,8 @@ jobs:
101103
source $HOME/miniconda3/bin/activate base
102104
conda init
103105
conda activate ${{env.MODEL_NAME}}
106+
python -m pip install fastapi
107+
python -m pip freeze | xargs python -m pip uninstall -y
104108
python -m pip install --upgrade pip
105109
python -m pip install -r ${{env.MODEL_DIR}}/requirements.cuda.txt
106110
@@ -111,6 +115,8 @@ jobs:
111115
source $HOME/miniconda3/bin/activate base
112116
conda init
113117
conda activate ${{env.MODEL_NAME}}
118+
python -m pip install fastapi
119+
python -m pip freeze | xargs python -m pip uninstall -y
114120
python -m pip install --upgrade pip
115121
python -m pip install -r ${{env.MODEL_DIR}}/requirements.txt
116122

0 commit comments

Comments
 (0)