first commit
This commit is contained in:
39
vllm_br/model_executor/__init__.py
Normal file
39
vllm_br/model_executor/__init__.py
Normal file
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
# Copyright(c)2020-2025 Shanghai Biren Technology 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.
|
||||
#
|
||||
################################################################################
|
||||
|
||||
from vllm import ModelRegistry # noqa: F401
|
||||
from . import parameter
|
||||
from .layers import *
|
||||
from .model_loader import *
|
||||
from .models import *
|
||||
|
||||
__all__ = [
|
||||
"parameter",
|
||||
]
|
||||
|
||||
|
||||
def register_model():
|
||||
"""Register Biren modified models"""
|
||||
'''
|
||||
ModelRegistry.register_model(
|
||||
"GptOssForCausalLM",
|
||||
"vllm_br.model_executor.models.gpt_oss:GptOssForCausalLM")
|
||||
|
||||
ModelRegistry.register_model(
|
||||
"Glm4MoeForCausalLM",
|
||||
"vllm_br.model_executor.models.glm4_moe:Glm4MoeForCausalLM")
|
||||
'''
|
||||
pass
|
||||
Reference in New Issue
Block a user