mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-30 23:51:00 +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
|
for file in "$dir"/test_*.py; do
|
||||||
test_name=$(basename "$file")
|
test_name=$(basename "$file")
|
||||||
new_file="result-${dir_name}-${test_name}.xml"
|
new_file="result-${dir_name}-${test_name}.xml"
|
||||||
if pytest -s -v ${TESTS_PATH}/${dir_name}/${test_name} -m "meta_reference and llama_3b" \
|
if torchrun $(which pytest) -s -v ${TESTS_PATH}/${dir_name}/${test_name} -m "meta_reference and llama_3b" \
|
||||||
--junitxml="${{ github.workspace }}/${new_file}"; then
|
--junitxml="${{ github.workspace }}/${new_file}"; then
|
||||||
echo "Test passed: $test_name"
|
echo "Test passed: $test_name"
|
||||||
else
|
else
|
||||||
echo "Test failed: $test_name"
|
echo "Test failed: $test_name"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue