AutoConfig.from_pretrained() fails for models needing transformers 5.x (e.g. glm4_moe_lite) when running with 4.57.x. Add a raw config.json fallback that bypasses AutoConfig's architecture registry — fetches config.json directly from local path or HuggingFace Hub and checks for vision indicators without needing the architecture to be registered. |
||
|---|---|---|
| .. | ||
| datasets | ||
| hardware | ||
| inference | ||
| models | ||
| paths | ||
| .gitkeep | ||
| cache_cleanup.py | ||
| transformers_version.py | ||
| utils.py | ||