Files
xc-llm-ascend/vllm_ascend/__init__.py
wangxiyuan 874097a1de clean up model module (#4611)
Model module is useless now. Let't remove it totally.

- vLLM version: v0.11.2

Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com>
2025-12-02 17:35:47 +08:00

38 lines
1.1 KiB
Python

#
# Copyright (c) 2025 Huawei Technologies Co., Ltd. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This file is a part of the vllm-ascend project.
#
def register():
"""Register the NPU platform."""
return "vllm_ascend.platform.NPUPlatform"
def register_connector():
from vllm_ascend.distributed import register_connector
register_connector()
def register_model_loader():
from .model_loader.netloader import register_netloader
register_netloader()
def register_service_profiling():
from .profiling_config import generate_service_profiling_config
generate_service_profiling_config()