Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions paddleformers/transformers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,12 @@
"Qwen3NextForCausalLMPipe",
"Qwen3NextPretrainingCriterion",
],
"minicpm.configuration": ["MiniCPMConfig"],
"minicpm.modeling": [
"MiniCPMModel",
"MiniCPMForCausalLM",
"MiniCPMForCausalLMPipe",
],
"llama": [],
"qwen2": [],
"glm_ocr": [],
Expand Down Expand Up @@ -310,6 +316,7 @@
"phi3.configuration": ["Phi3Config"],
"phi3.tokenizer": ["Phi3Tokenizer"],
"phi3.modeling": ["Phi3Model", "Phi3ForCausalLM", "Phi3ForCausalLMPipe"],
"minicpm": ["MiniCPMDecoderLayer", "MiniCPMModel", "MiniCPMForCausalLM"],
"glm4v_moe.configuration": ["Glm4vMoeConfig", "Glm4vMoeTextConfig", "Glm4vMoeVisionConfig"],
"glm4v_moe.modeling": [
"Glm4vMoeForConditionalGeneration",
Expand Down Expand Up @@ -403,6 +410,7 @@
from .gpt_oss import *
from .phi3 import *
from .gemma3_text import *
from .minicpm import *
from .glm_ocr import *
else:
sys.modules[__name__] = _LazyModule(
Expand Down
2 changes: 2 additions & 0 deletions paddleformers/transformers/auto/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
("gpt_oss", "GptOssConfig"),
("phi3", "Phi3Config"),
("gemma3_text", "Gemma3TextConfig"),
("minicpm", "MiniCPMConfig"),
("glm4v_moe", "Glm4vMoeConfig"),
("glm_ocr", "GlmOcrConfig"),
]
Expand Down Expand Up @@ -82,6 +83,7 @@
("qwen3_vl_text", "Qwen3VL"),
("qwen3_vl_moe", "Qwen3VLMoe"),
("qwen3_vl_moe_text", "Qwen3VLMoeText"),
("minicpm", "MiniCPM4_1"),
("glm_ocr", "GlmOcrForConditionalGeneration"),
]
)
Expand Down
1 change: 1 addition & 0 deletions paddleformers/transformers/auto/modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
("GptOss", "gpt_oss"),
("Phi3", "phi3"),
("Gemma3", "gemma3_text"),
("MiniCPM", "minicpm"),
("Glm4vMoe", "glm4v_moe"),
("GlmOcr", "glm_ocr"),
]
Expand Down
Loading
Loading