Skip to content

Commit

Permalink
fix onnx export tests
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj committed Sep 7, 2024
1 parent da6e0a8 commit a1033e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/scripts/test-onnx-export.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ popd

log "Export via torch.jit.script()"
./zipformer/export.py \
--use-averaged-model 0 \
--exp-dir $repo/exp \
--tokens $repo/data/lang_bpe_500/tokens.txt \
--epoch 99 \
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-onnx-export.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- fix-ci
pull_request:
types: [labeled]

Expand All @@ -16,6 +17,8 @@ on:
# nightly build at 15:50 UTC time every day
- cron: "50 15 * * *"

workflow_dispatch:

concurrency:
group: test_onnx_export-${{ github.ref }}
cancel-in-progress: true
Expand Down

0 comments on commit a1033e3

Please sign in to comment.