Skip to content

Commit a62eb0e

Browse files
committed
Merge branch 'main' into main
2 parents e82e946 + 6bc82cf commit a62eb0e

18 files changed

+94
-309
lines changed

.github/workflows/image_310p_openeuler.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ on:
3636
- '.github/workflows/image_310p_openeuler.yml'
3737
- 'Dockerfile.310p.openEuler'
3838
- 'vllm_ascend/**'
39+
- 'setup.py'
40+
- 'pyproject.toml'
41+
- 'requirements.txt'
42+
- 'cmake/**'
43+
- 'CMakeLists.txt'
44+
- 'csrc/**'
3945

4046
jobs:
4147
build:

.github/workflows/image_310p_ubuntu.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ on:
3636
- '.github/workflows/image_310p_ubuntu.yml'
3737
- 'Dockerfile.310p'
3838
- 'vllm_ascend/**'
39+
- 'setup.py'
40+
- 'pyproject.toml'
41+
- 'requirements.txt'
42+
- 'cmake/**'
43+
- 'CMakeLists.txt'
44+
- 'csrc/**'
3945
jobs:
4046

4147
build:

.github/workflows/image_a3_openeuler.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ on:
3636
- '.github/workflows/image_a3_openeuler.yml'
3737
- 'Dockerfile.a3.openEuler'
3838
- 'vllm_ascend/**'
39+
- 'setup.py'
40+
- 'pyproject.toml'
41+
- 'requirements.txt'
42+
- 'cmake/**'
43+
- 'CMakeLists.txt'
44+
- 'csrc/**'
3945

4046
jobs:
4147
build:

.github/workflows/image_a3_ubuntu.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ on:
3636
- '.github/workflows/image_a3_ubuntu.yml'
3737
- 'Dockerfile.a3'
3838
- 'vllm_ascend/**'
39+
- 'setup.py'
40+
- 'pyproject.toml'
41+
- 'requirements.txt'
42+
- 'cmake/**'
43+
- 'CMakeLists.txt'
44+
- 'csrc/**'
3945
jobs:
4046

4147
build:

.github/workflows/image_openeuler.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ on:
3535
- '.github/workflows/image_openeuler.yml'
3636
- 'Dockerfile.openEuler'
3737
- 'vllm_ascend/**'
38+
- 'setup.py'
39+
- 'pyproject.toml'
40+
- 'requirements.txt'
41+
- 'cmake/**'
42+
- 'CMakeLists.txt'
43+
- 'csrc/**'
3844

3945
jobs:
4046
build:

.github/workflows/image_ubuntu.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ on:
3636
- '.github/workflows/image_ubuntu.yml'
3737
- 'Dockerfile'
3838
- 'vllm_ascend/**'
39+
- 'setup.py'
40+
- 'pyproject.toml'
41+
- 'requirements.txt'
42+
- 'cmake/**'
43+
- 'CMakeLists.txt'
44+
- 'csrc/**'
3945
jobs:
4046

4147
build:

examples/data_parallel.py

Lines changed: 0 additions & 226 deletions
This file was deleted.

examples/run_dp_offline.sh

Lines changed: 0 additions & 28 deletions
This file was deleted.

tests/ut/models/test_deepseek_v2.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ def mock_distributed():
122122
@pytest.fixture
123123
def mock_forward_context():
124124
forward_context = Mock(in_profile_run=False, with_prefill=False)
125-
with patch("vllm_ascend.models.deepseek_v2.get_forward_context", return_value=forward_context):
125+
with patch("vllm_ascend.models.deepseek_v2.get_forward_context",
126+
return_value=forward_context):
126127
yield
127128

128129

@@ -213,7 +214,8 @@ def test_custom_deepseek_v2_mlp(mock_distributed, base_config):
213214
quant_config=None)
214215

215216

216-
def test_custom_deepseek_v2_moe(mock_distributed, base_config, mock_forward_context):
217+
def test_custom_deepseek_v2_moe(mock_distributed, base_config,
218+
mock_forward_context):
217219
base_config.n_shared_experts = 1
218220
moe = CustomDeepseekV2MoE(config=base_config,
219221
quant_config=None,

0 commit comments

Comments
 (0)