File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -336,6 +336,7 @@ jobs:
336336 EXECUTE : |
337337 set -o pipefail
338338 docker run -i --shm-size=1g --gpus all \
339+ --user $(id -u)$(id -g) \
339340 -v $PWD:/opt/output \
340341 ${{ needs.build-jax.outputs.DOCKER_TAG_FINAL }} \
341342 bash <<"EOF" |& tee test-nsys-jax.log
@@ -345,8 +346,8 @@ jobs:
345346 test_path=$(python -c 'import importlib.resources; print(importlib.resources.files("nsys_jax").joinpath("..", "tests").resolve())')
346347 pytest --basetemp=/opt/output/pytest-tmp --report-log=/opt/output/pytest-report.jsonl "${test_path}"
347348 EOF
348- sudo chown -R $USER:$USER pytest-tmp/ pytest-report.jsonl test-nsys-jax.log 2>/dev/null || true
349- chmod -R u+rwX,go+rX pytest-tmp/ 2>/dev/null || true
349+ # sudo chown -R $USER:$USER pytest-tmp/ pytest-report.jsonl test-nsys-jax.log 2>/dev/null || true
350+ # chmod -R u+rwX,go+rX pytest-tmp/ 2>/dev/null || true
350351 STATISTICS_SCRIPT : |
351352 summary_line=$(tail -n1 test-nsys-jax.log)
352353 num_errors=$(echo $summary_line | grep -oE '[0-9]+ error' | awk '{print $1} END { if (!NR) print 0}')
You can’t perform that action at this time.
0 commit comments