| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…ility Co-authored-by: anxiangsir <31175974+anxiangsir@users.noreply.github.com>
Co-authored-by: anxiangsir <31175974+anxiangsir@users.noreply.github.com>
Co-authored-by: anxiangsir <31175974+anxiangsir@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
Transformers 5.0.0 requires custom models to define auto_map in their config for AutoModel.from_pretrained() to work. Without it, model loading fails.
Changes
Configuration: Added auto_map initialization in OneVisionEncoderConfig.__init__() that maps AutoModel and AutoConfig to their corresponding custom classes
Documentation: Updated README compatibility section to reflect support for transformers ≥4.53.1 including 5.0.0+
Tests: Added test_transformers_5_compatibility.py covering config creation, save/load cycles, and custom auto_map handling
Before
After
Verified on transformers 4.53.1 and 5.0.0rc1.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.