mirror of
https://github.com/vllm-project/vllm-ascend.git
synced 2025-10-20 21:53:54 +08:00
[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:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user