Skip to content

Commit

Permalink
[local-install-check.yaml] install sparsezoo from src (#1333)
Browse files Browse the repository at this point in the history
* [local-install-check.yaml] install sparsezoo from src

local install checks need to target building sparsezoo from src when testing installing deepsparse from src as well

* fix venv creation order in develop test

* continue develop test fix

* continue develop test fix
  • Loading branch information
bfineran authored Oct 18, 2023
1 parent 5ad3913 commit 4960048
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/local-install-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ jobs:
local-install-test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
repository: "neuralmagic/sparsezoo"
path: "sparsezoo"
- name: "⚙️ Install sparsezoo dependencies"
run: pip install sparsezoo/
- uses: actions/checkout@v2
- name: "⚙️ Install local deepsparse"
run: pip3 install .
Expand All @@ -29,10 +35,15 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
repository: "neuralmagic/sparsezoo"
path: "sparsezoo"
- name: "⚙️ Install local develop deepsparse"
run: |
python3.8 -m venv venv-dev
source venv-dev/bin/activate
pip install sparsezoo/
pip install -e .
- name: "deepsparse.benchmark"
run: |
Expand Down

0 comments on commit 4960048

Please sign in to comment.