-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split Jax training dependencies (especially Scenic and TF-IO) into a …
…separate dependency group. PiperOrigin-RevId: 614682564
- Loading branch information
1 parent
3746672
commit df60818
Showing
5 changed files
with
275 additions
and
228 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
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: CI_no_jaxtrain | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
# Allows to run this workflow manually from the Actions tab on GitHub. | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test-ubuntu: | ||
name: "test on ${{ matrix.python-version }} on ${{ matrix.os }}" | ||
runs-on: "${{ matrix.os }}" | ||
strategy: | ||
matrix: | ||
python-version: ["3.10", "3.11"] | ||
os: [ubuntu-latest] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Poetry | ||
run: pipx install poetry | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: 'poetry' | ||
- name: Install Chirp and its dependencies, except jaxtrain dependencies. | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install libsndfile1 ffmpeg | ||
poetry install --without jaxtrain | ||
- name: Test with unittest | ||
# TODO: Group together jaxtrain tests so they can be easily excluded. | ||
run: poetry run python -m unittest discover -s chirp/tests -p "*inference_test.py" |
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
Oops, something went wrong.