File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -270,10 +270,15 @@ jobs:
270
270
- name : Checkout repository
271
271
uses : actions/checkout@v4
272
272
- run : |
273
+ mkdir -p /home/TestData/nlp/megatron_gpt/starcoder-ci-hf/${{ github.run_id }};
273
274
python scripts/checkpoint_converters/convert_starcoder_hf_to_nemo.py \
274
275
--input_name_or_path /home/TestData/nlp/megatron_gpt/starcoder-ci-hf \
275
- --output_path /home/TestData/nlp/megatron_gpt/starcoder-ci-hf
276
- rm -f /home/TestData/nlp/megatron_gpt/starcoder-ci-hf/megatron_starcoder_tp1_pp1.nemo
276
+ --output_path /home/TestData/nlp/megatron_gpt/starcoder-ci-hf/${{ github.run_id }}
277
+ - name : Cleanup
278
+ if : " always()"
279
+ run : |
280
+ rm -rf /home/TestData/nlp/megatron_gpt/starcoder-ci-hf/megatron_starcoder_tp1_pp1.nemo;
281
+ rm -rf /home/TestData/nlp/megatron_gpt/starcoder-ci-hf/${{ github.run_id }}/
277
282
- uses : " NVIDIA/NeMo/.github/actions/cancel-workflow@main"
278
283
if : " failure()"
279
284
You can’t perform that action at this time.
0 commit comments