[Model] Remove ten deprecated model architectures (#53608)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Co-authored-by: Xianbao QIAN <xianbao.qian@gmail.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Xianbao QIAN
Claude Opus 5
parent
a0f1b9ad05
commit
7ca336929c
@@ -39,7 +39,7 @@ MINIMAL_MODEL_ARCH_LIST = [
|
||||
"InternVLChatModel",
|
||||
"InternLM2ForRewardModel",
|
||||
"TransformersMultiModalForCausalLM",
|
||||
"PrithviGeoSpatialMAE",
|
||||
"Terratorch",
|
||||
"UltravoxModel",
|
||||
"DeepSeekMTPModel",
|
||||
"XLMRobertaModel",
|
||||
@@ -111,7 +111,7 @@ def can_initialize(
|
||||
"which is not configured in test environment"
|
||||
)
|
||||
|
||||
if model_arch in ("PrithviGeoSpatialMAE", "Terratorch"):
|
||||
if model_arch == "Terratorch":
|
||||
import importlib.util
|
||||
|
||||
if importlib.util.find_spec("terratorch") is None:
|
||||
|
||||
Reference in New Issue
Block a user