Skip to content

Commit 205eff2

Browse files
authored
[Bugfix] Disable check vllm init temporary (#2250)
### What this PR does / why we need it? For the vllm src https://github.com/vllm-project/vllm/tree/main/vllm/attention/layers do not have `__init__.py`, which will break the python src init check, so we skip it for now ### Does this PR introduce _any_ user-facing change? ### How was this patch tested? - vLLM version: v0.10.0 - vLLM main: vllm-project/vllm@6b47ef2 Signed-off-by: wangli <[email protected]>
1 parent c611291 commit 205eff2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/check_python_src_init.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
import sys
2121

2222
VLLM_ASCEND_SRC = "vllm_ascend"
23-
VLLM_SRC = "vllm-empty/vllm"
23+
# TODO: Re-enable this after upstream fixed
24+
# VLLM_SRC = "vllm-empty/vllm"
2425

2526

2627
def check_init_file_in_package(directory):
@@ -56,7 +57,7 @@ def find_missing_init_dirs(src_dir):
5657
def main():
5758
all_missing = set()
5859

59-
for src in [VLLM_ASCEND_SRC, VLLM_SRC]:
60+
for src in [VLLM_ASCEND_SRC]:
6061
missing = find_missing_init_dirs(src)
6162
all_missing.update(missing)
6263

0 commit comments

Comments
 (0)