Skip to content

Commit e476913

Browse files
author
Vincent Li
committed
update
1 parent e922e0d commit e476913

1 file changed

Lines changed: 79 additions & 0 deletions

File tree

.github/workflows/ci_test_1.yml

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: CI
4+
5+
# Controls when the workflow will run
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the "master" branch
8+
push:
9+
branches: [ "ci_test" ]
10+
pull_request:
11+
branches: [ "ci_test" ]
12+
13+
# Allows you to run this workflow manually from the Actions tab
14+
workflow_dispatch:
15+
16+
jobs:
17+
smoketest_ascend:
18+
runs-on: self-hosted
19+
env:
20+
MODEL_LIST: DeepSeek-R1-Distill-Qwen-1.5B
21+
IMAGE: 2.2.RC1-800I-A2-py311-openeuler24.03-lts
22+
steps:
23+
- name: Trigger Ascend NPU Smoke Test job
24+
run: |
25+
echo "Smoke Test Starting..."
26+
echo "MODEL_LIST = $MODEL_LIST"
27+
echo "Version = $IMAGE"
28+
set -m
29+
cd /home/zkjh
30+
if [ ! -d Ascend_910_Test ]; then
31+
mkdir -p Ascend_910_Test
32+
fi
33+
cd Ascend_910_Test
34+
mkdir -p ${{ github.run_id }}
35+
cd ${{ github.run_id }}
36+
git init
37+
git remote add origin git@github.com:Vincent777/ci_autotest.git
38+
git fetch --depth=1 origin main
39+
git show origin/main:ascend_test_suite/daemon.sh > daemon.sh
40+
chmod a+x daemon.sh
41+
./daemon.sh \
42+
Ascend \
43+
Smoke \
44+
MindIE \
45+
${MODEL_LIST} \
46+
${{ github.run_id }} \
47+
${IMAGE}
48+
smoketest_nvidia:
49+
runs-on: self-hosted
50+
env:
51+
MODEL_LIST: Qwen3-32B-FP8
52+
IMAGE: v0.10.0
53+
steps:
54+
- name: Trigger Nvidia GPU Smoke Test job
55+
run: |
56+
echo "Smoke Test Starting..."
57+
echo "MODEL_LIST = $MODEL_LIST"
58+
echo "Version = $IMAGE"
59+
set -m
60+
cd /home/zkjh
61+
if [ ! -d Nvidia_910_Test ]; then
62+
mkdir -p Nvidia_910_Test
63+
fi
64+
cd Nvidia_910_Test
65+
mkdir -p ${{ github.run_id }}
66+
cd ${{ github.run_id }}
67+
git init
68+
git remote add origin git@github.com:Vincent777/ci_autotest.git
69+
git fetch --depth=1 origin main
70+
git show origin/main:ascend_test_suite/daemon.sh > daemon.sh
71+
chmod a+x daemon.sh
72+
./daemon.sh \
73+
Nvidia \
74+
Smoke \
75+
vLLM \
76+
${MODEL_LIST} \
77+
${{ github.run_id }} \
78+
${IMAGE}
79+

0 commit comments

Comments
 (0)