Skip to content

Commit 87100f9

Browse files
lucylqGithub Executorch
andauthored
Log file size in lora test (pytorch#16876)
Log foundation weight sizes in lora test when they are not identical. It's failing occasionally on the release/1.1 branch, but haven't been able to repro locally. Maybe CI machine is running out of memory/truncating the file? Co-authored-by: Github Executorch <github_executorch@arm.com>
1 parent b3a4a1f commit 87100f9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.ci/scripts/test_lora.sh‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ else
117117
echo "Expected result prefix: ${EXPECTED_PREFIX}"
118118
echo "Actual result: ${RESULT}"
119119
echo "Test 2: Failure; results not the same"
120-
# cleanup_files
120+
cleanup_files
121121
exit 1
122122
fi
123123

@@ -166,6 +166,8 @@ if diff -q qwen_foundation_lora_q.ptd qwen_foundation_q.ptd > /dev/null; then
166166
echo "qwen_foundation_lora_q.ptd and qwen_foundation_q.ptd are identical."
167167
else
168168
echo "qwen_foundation_lora_q.ptd and qwen_foundation_q.ptd are not identical."
169+
ls -la qwen_foundation_lora_q.ptd
170+
ls -la qwen_foundation_q.ptd
169171
cleanup_files
170172
exit 1
171173
fi

0 commit comments

Comments
 (0)