[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:
6b47ef24de

Signed-off-by: wangli <wangli858794774@gmail.com>
This commit is contained in:
Li Wang
2025-08-07 10:37:22 +08:00
committed by GitHub
parent c611291661
commit 205eff2b12

View File

@ -20,7 +20,8 @@ import os
import sys
VLLM_ASCEND_SRC = "vllm_ascend"
VLLM_SRC = "vllm-empty/vllm"
# TODO: Re-enable this after upstream fixed
# VLLM_SRC = "vllm-empty/vllm"
def check_init_file_in_package(directory):
@ -56,7 +57,7 @@ def find_missing_init_dirs(src_dir):
def main():
all_missing = set()
for src in [VLLM_ASCEND_SRC, VLLM_SRC]:
for src in [VLLM_ASCEND_SRC]:
missing = find_missing_init_dirs(src)
all_missing.update(missing)