mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-30 07:39:38 +00:00
Add torchrun specially for meta_reference
This commit is contained in:
parent
274b5a0d0c
commit
f6b658e8b9
1 changed files with 2 additions and 2 deletions
|
@ -239,8 +239,8 @@ jobs:
|
|||
for file in "$dir"/test_*.py; do
|
||||
test_name=$(basename "$file")
|
||||
new_file="result-${dir_name}-${test_name}.xml"
|
||||
if pytest -s -v ${TESTS_PATH}/${dir_name}/${test_name} -m "meta_reference and llama_3b" \
|
||||
--junitxml="${{ github.workspace }}/${new_file}"; then
|
||||
if torchrun $(which pytest) -s -v ${TESTS_PATH}/${dir_name}/${test_name} -m "meta_reference and llama_3b" \
|
||||
--junitxml="${{ github.workspace }}/${new_file}"; then
|
||||
echo "Test passed: $test_name"
|
||||
else
|
||||
echo "Test failed: $test_name"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue