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 81b74a5 commit dc728a3
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 mistral-7b-instruct
python torchchat.py generate mistral-7b-instruct

0 comments on commit dc728a3

Please sign in to comment.