Closed YLlllllllllll closed 1 year ago
我们发现部分环境下确实安装不上,这种情况下:
1.7.1.post2
是最高版本,看看后续会不会报错1.7.2
版本:https://github.com/kyamagu/faiss-wheels我试了让他安装后续低级版本,发现全都不允许,找时间试试官方版本
On Thu, Aug 10, 2023 at 8:38 PM Yiming Cui @.***> wrote:
我们发现部分环境下确实安装不上,这种情况下:
- 可以尝试安装能够支持的最高版本,比如你的环境下1.7.1.post2是最高版本,看看后续会不会报错
- 按照官方教程手动安装1.7.2版本:https://github.com/kyamagu/faiss-wheels
— Reply to this email directly, view it on GitHub https://github.com/ymcui/Chinese-LLaMA-Alpaca-2/issues/112#issuecomment-1673139293, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3KQDA7QSKLU5YP4GARWAWLXUTI2VANCNFSM6AAAAAA3LAVG5Q . You are receiving this because you authored the thread.Message ID: @.***>
pip install faiss-gpu==1.7.1
也是可以的,亲测可运行。
提交前必须检查以下项目
问题类型
模型量化和部署
基础模型
Alpaca-2-7B
操作系统
Windows
详细描述问题
pip install faiss-gpu==1.7.2
依赖情况(代码类问题务必提供)
ctransformers 0.2.5 sentence-transformers 2.2.2 torch 2.0.1 torchvision 0.15.2 transformers 4.31.0
运行日志或截图