Aana SDK 提供 PyPI 和 GitHub 两种安装方式,具体步骤如下:
environmental preparation
- Python 3.8+ 运行环境
- suggestion手动安装 PyTorch ≥2.1(官网提供 CUDA 版本选择工具)
- GPU 用户推荐安装 Flash Attention 库提升性能
Installation
- PyPI安装::
pip install aana[all]
(全功能版)
可选模块:vllm(语言模型)、asr(语音识别)等 - Source Code Installation::
1.git clone
Project Warehouse
2. 使用 Poetry 安装:poetry install --extras all --with dev,tests
(开发环境)
Verify Installation
fulfillment python -c "import aana; print(aana.__version__)"
输出版本号即表示成功。
This answer comes from the articleAana SDK: An Open Source Tool for Easy Deployment of Multimodal AI ModelsThe