Skip to content

Commit

Permalink
Add command tests to pull CI
Browse files Browse the repository at this point in the history
  • Loading branch information
GregoryComer committed Apr 17, 2024
1 parent ac66e27 commit 81997c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,4 @@ jobs:
echo "::group::Run inference"
bash .ci/scripts/validate.sh "./checkpoints/${REPO_NAME}/model.pth" "cuda" "aoti"
echo "::endgroup::"
echo "::endgroup::"
5 changes: 5 additions & 0 deletions .github/workflows/test_torchchat_commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,9 @@ jobs:
cat ./output_eager1
cat ./output_eager2
echo "Tests complete."
- name: Test download
run: |
python torchchat.py download llama2
python torchchat.py generate llama2

0 comments on commit 81997c6

Please sign in to comment.