Skip to content

Commit 7eacbad

Browse files
committed
change work_dir
1 parent e335cf2 commit 7eacbad

17 files changed

+20
-19
lines changed

.github/workflows/e2e_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
conda activate clusterx
4040
conda env list
4141
unset HTTP_PROXY;unset HTTPS_PROXY;unset http_proxy;unset https_proxy;
42-
pytest autotest/test_all.py::test_all[gptoss-sft] -m all -n 1 -vv --run_id ${{ github.run_id }}
42+
pytest autotest/test_all.py -m all -n 1 -vv --run_id ${{ github.run_id }}
4343
4444
- name: Upload Artifacts
4545
if: ${{ !cancelled() }}

.github/workflows/e2e_test_npu.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ permissions:
55
pages: write
66

77
on:
8+
push:
89
workflow_dispatch:
910
inputs:
1011
repo_org:
@@ -29,9 +30,9 @@ jobs:
2930
run: sudo git clean -ffdx
3031
- name: Clone repository
3132
uses: actions/checkout@v2
32-
with:
33-
repository: ${{ github.event.inputs.repo_org || 'InternLM/xtuner' }}
34-
ref: ${{github.event.inputs.repo_ref || 'main'}}
33+
#with:
34+
#repository: ${{ github.event.inputs.repo_org || 'InternLM/xtuner' }}
35+
#ref: ${{github.event.inputs.repo_ref || 'main'}}
3536
- name: run-test
3637
run: |
3738
source activate npuci

autotest/config/npu_qwen3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
tokenizer_path=QWEN3_MOE_PATH,
5050
global_batch_size=64,
5151
total_epoch=1,
52-
work_dir=f"/mnt/hwfile/vc-intern-delivery/qa-llm-cicd/test_output/{os.environ['GITHUB_RUN_ID']}/npu-qwen3-sft/sft",
52+
work_dir=f"{os.environ['WORK_DIR']}",
5353
seed=0,
5454
dist_backend="npu:hccl",
5555
)

autotest/config/npu_qwen3_16nums.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
tokenizer_path=QWEN3_MOE_PATH,
5050
global_batch_size=64,
5151
total_epoch=1,
52-
work_dir=f"/mnt/hwfile/vc-intern-delivery/qa-llm-cicd/test_output/{os.environ['GITHUB_RUN_ID']}/npu-qwen3-sft-16nums/sft",
52+
work_dir=f"{os.environ['WORK_DIR']}",
5353
seed=0,
5454
dist_backend="npu:hccl",
5555
)

autotest/config/npu_qwen3_moe_30BA3_ep8.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
tokenizer_path=QWEN3_MOE_PATH,
5050
global_batch_size=16,
5151
total_epoch=1,
52-
work_dir=f"/mnt/hwfile/vc-intern-delivery/qa-llm-cicd/test_output/{os.environ['GITHUB_RUN_ID']}/npu-qwen3-sft-ep8/sft",
52+
work_dir=f"{os.environ['WORK_DIR']}",
5353
seed=0,
5454
checkpoint_interval=10,
5555
checkpoint_maxkeep=2,

autotest/config/npu_qwen3_moe_30BA3_ep8_resume.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
tokenizer_path=QWEN3_MOE_PATH,
5050
global_batch_size=16,
5151
total_epoch=1,
52-
work_dir=f"/mnt/hwfile/vc-intern-delivery/qa-llm-cicd/test_output/{os.environ['GITHUB_RUN_ID']}/npu-qwen3-sft-ep8/sft",
52+
work_dir=f"{os.environ['WORK_DIR']}",
5353
seed=0,
5454
checkpoint_interval=10,
5555
checkpoint_maxkeep=2,

autotest/config/npu_qwen3_moe_30BA3_tp2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
tokenizer_path=QWEN3_MOE_PATH,
5151
global_batch_size=16,
5252
total_epoch=1,
53-
work_dir=f"/mnt/hwfile/vc-intern-delivery/qa-llm-cicd/test_output/{os.environ['GITHUB_RUN_ID']}/npu-qwen3-sft-tp2/sft",
53+
work_dir=f"{os.environ['WORK_DIR']}",
5454
seed=0,
5555
)

autotest/config/npu_qwen3_recompute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
tokenizer_path=QWEN3_MOE_PATH,
5454
global_batch_size=32,
5555
total_epoch=1,
56-
work_dir=f"/mnt/hwfile/vc-intern-delivery/qa-llm-cicd/test_output/{os.environ['GITHUB_RUN_ID']}/npu-qwen3-sft-recompute/sft",
56+
work_dir=f"{os.environ['WORK_DIR']}",
5757
seed=0,
5858
dist_backend="npu:hccl",
5959
)

autotest/config/npu_qwen3_sft_celoss.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
tokenizer_path=QWEN3_MOE_PATH,
5050
global_batch_size=16,
5151
total_epoch=1,
52-
work_dir=f"/mnt/hwfile/vc-intern-delivery/qa-llm-cicd/test_output/{os.environ['GITHUB_RUN_ID']}/npu-qwen3-sft-celoss-vs-gpu/sft",
52+
work_dir=f"{os.environ['WORK_DIR']}",
5353
seed=0,
5454
dist_backend="npu:hccl",
5555
)

autotest/config/qwen3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@
4949
tokenizer_path=QWEN3_MOE_PATH,
5050
global_batch_size=16,
5151
total_epoch=1,
52-
work_dir=f"/mnt/shared-storage-user/llmrazor-share/qa-llm-cicd/test_output/{os.environ['GITHUB_RUN_ID']}/qwen3-sft/sft",
52+
work_dir=f"{os.environ['WORK_DIR']}",
5353
seed=0,
5454
)

0 commit comments

Comments
 (0)