安装
Optimum-AMD 库可以通过 pip 安装
pip install --upgrade-strategy eager optimum[amd]
也可以从源代码安装
git clone https://github.com/huggingface/optimum-amd.git
cd optimum-amd
pip install -e .
Optimum-AMD 库可以通过 pip 安装
pip install --upgrade-strategy eager optimum[amd]
也可以从源代码安装
git clone https://github.com/huggingface/optimum-amd.git
cd optimum-amd
pip install -e .