-
Fix import airllm failing on clean installs (3.0.1)
发布于
2026-06-30 23:00:40 +00:00 | 77 次提交 在此版本后已推送到 main- Declare sentencepiece as a dependency: the eagerly-imported Baichuan
tokenizer needs it, so a freshpip install airllm+import airllm
crashed with ModuleNotFoundError on 3.0.0. - Make per-model-family imports in init defensive so a missing
optional dependency for one niche family only warns instead of breaking
the whole package; the core AutoModel/AirLLMBaseModel path always loads. - Bump version to 3.0.1.
Co-authored-by: Cursor cursoragent@cursor.com
下载附件
- Declare sentencepiece as a dependency: the eagerly-imported Baichuan