In v3.0.1, import airllm failed on a clean install with ModuleNotFoundError: No module named 'sentencepiece' because the eagerly-imported Baichuan tokenizer needs it; sentencepiece is now a declared dependency, so pip install airllm works out of the box.[1] Also introduced in v3.0.1, per-model-family imports in __init__ are now defensive: a missing optional dependency for one niche model family only warns instead of breaking the whole package, and the core AutoModel/AirLLMBaseModel path always loads.[1]
Sources