v3.0.1

open-mmlab/Amphionv3.0.1Jun 30, 2026by lyogavin

AI Summary

This is a patch release that addresses installation and import issues by adding 'sentencepiece' as a dependency and making model-family imports more robust.

Key Highlights

  • Fixed 'import airllm' failures on clean installs by adding 'sentencepiece' as a declared dependency.
  • Made model-family imports defensive to ensure missing optional dependencies for niche models do not break the package.
  • Ensured the generic streaming path always loads regardless of missing optional dependencies.

New Features

  • Added 'sentencepiece' as a declared dependency.
  • Made model-family imports defensive to handle missing optional dependencies.

Full Release Notes

## AirLLM v3.0.1

Patch release.

- **Fix:** `import airllm` failed on a clean install with `ModuleNotFoundError: No module named 'sentencepiece'`. `sentencepiece` is now a declared dependency, so `pip install airllm` works out of the box.
- Model-family imports are now defensive: a missing optional dependency for one niche model family no longer breaks the whole package — the generic streaming path always loads.

### Upgrade
```bash
pip install --upgrade airllm
```