Commit 9c3d392 1 parent 8c5b917 commit 9c3d392 Copy full SHA for 9c3d392
File tree 2 files changed +6
-4
lines changed
.github/eks-workflow-files/transformer-engine
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 7
7
8
8
set -ex
9
9
cd ${SRC_PATH_TRANSFORMER_ENGINE} /examples/jax/encoder
10
- pytest --report-log=/output /pytest-report.jsonl \
10
+ pytest --report-log=${LOG_DIR} /pytest-report.jsonl \
11
11
test_single_gpu_encoder.py \
12
12
test_multigpu_encoder.py \
13
13
test_model_parallel_encoder.py | tee -a ${LOG_DIR} /tests.log
14
14
15
- touch /opt/output /done
15
+ touch ${LOG_DIR} /done
Original file line number Diff line number Diff line change @@ -31,13 +31,15 @@ SCRIPT
31
31
- sh
32
32
- -c
33
33
- |
34
- while [ ! -f /opt/output /done ]; do
34
+ while [ ! -f ${LOG_DIR} /done ]; do
35
35
sleep 5
36
36
done
37
37
38
38
# Upload logs to S3 bucket
39
- aws s3 cp /opt/output / s3://${S3_BUCKET}/${CI_NAME}/${RUN_ID}/ --recursive
39
+ aws s3 cp ${LOG_DIR} / s3://${S3_BUCKET}/${CI_NAME}/${RUN_ID}/ --recursive
40
40
env :
41
+ - name : LOG_DIR
42
+ value : /opt/output
41
43
- name : RUN_ID
42
44
value : JOB_NAME
43
45
- name : S3_BUCKET
You can’t perform that action at this time.
0 commit comments