Bump transformers version for Llama 3.1 hotfix and patch Chameleon (#6690)

This commit is contained in:
Roger Wang
2024-07-23 13:47:48 -07:00
committed by GitHub
parent 507ef787d8
commit 1bedf210e3
7 changed files with 32 additions and 177 deletions
+4 -5
View File
@@ -5,10 +5,10 @@ from transformers import GenerationConfig, PretrainedConfig
from vllm.envs import VLLM_USE_MODELSCOPE
from vllm.logger import init_logger
from vllm.transformers_utils.configs import (ChameleonConfig, ChatGLMConfig,
DbrxConfig, JAISConfig,
MedusaConfig, MLPSpeculatorConfig,
MPTConfig, RWConfig)
from vllm.transformers_utils.configs import (ChatGLMConfig, DbrxConfig,
JAISConfig, MedusaConfig,
MLPSpeculatorConfig, MPTConfig,
RWConfig)
if VLLM_USE_MODELSCOPE:
from modelscope import AutoConfig
@@ -18,7 +18,6 @@ else:
logger = init_logger(__name__)
_CONFIG_REGISTRY: Dict[str, Type[PretrainedConfig]] = {
"chameleon": ChameleonConfig,
"chatglm": ChatGLMConfig,
"dbrx": DbrxConfig,
"mpt": MPTConfig,