-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #608 from containers/fix-deter-resnet-ms
allowing pip to install requirements
- Loading branch information
Showing
4 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,12 +6,14 @@ on: | |
- main | ||
paths: | ||
- 'model_servers/**' | ||
- 'models/Makefile' | ||
- .github/workflows/model_servers.yaml | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'model_servers/**' | ||
- 'models/Makefile' | ||
- .github/workflows/model_servers.yaml | ||
|
||
workflow_dispatch: | ||
|
@@ -83,6 +85,11 @@ jobs: | |
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y qemu-user-static | ||
- name: Set up Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: '3.11' | ||
|
||
- name: Build Image | ||
id: build_image | ||
|
@@ -98,11 +105,6 @@ jobs: | |
working-directory: ./models | ||
run: make download-model-${{ matrix.model }} | ||
|
||
- name: Set up Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: '3.11' | ||
|
||
- name: Install python dependencies | ||
working-directory: ./model_servers/${{ matrix.directory }}/ | ||
run: make install | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ pydantic | |
requests | ||
transformers | ||
torch | ||
uvicorn | ||
uvicorn | ||
timm |
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
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