ymcui / Chinese-LLaMA-Alpaca-2

中文LLaMA-2 & Alpaca-2大模型二期项目 + 64K超长上下文模型 (Chinese LLaMA-2 & Alpaca-2 LLMs with 64K long context models)
Apache License 2.0
7.05k stars 577 forks source link

Langchain的最后一项环境准备下载不了pip install faiss-gpu==1.7.2 #112

Closed YLlllllllllll closed 1 year ago

YLlllllllllll commented 1 year ago

提交前必须检查以下项目

问题类型

模型量化和部署

基础模型

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

运行日志或截图


# 请在此处粘贴运行日志
```ERROR: Could not find a version that satisfies the requirement faiss-gpu==1.7.2 (from versions: 1.5.3, 1.6.0, 1.6.1, 1.6.3, 1.6.4, 1.6.4.post2, 1.6.5, 1.7.0, 1.7.1, 1.7.1.post1, 1.7.1.post2)
ERROR: No matching distribution found for faiss-gpu==1.7.2
ymcui commented 1 year ago

我们发现部分环境下确实安装不上,这种情况下:

  1. 可以尝试安装能够支持的最高版本,比如你的环境下1.7.1.post2是最高版本,看看后续会不会报错
  2. 按照官方教程手动安装1.7.2版本:https://github.com/kyamagu/faiss-wheels
YLlllllllllll commented 1 year ago

我试了让他安装后续低级版本,发现全都不允许,找时间试试官方版本

On Thu, Aug 10, 2023 at 8:38 PM Yiming Cui @.***> wrote:

我们发现部分环境下确实安装不上,这种情况下:

  1. 可以尝试安装能够支持的最高版本,比如你的环境下1.7.1.post2是最高版本,看看后续会不会报错
  2. 按照官方教程手动安装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: @.***>

iMountTai commented 1 year ago

pip install faiss-gpu==1.7.1也是可以的,亲测可运行。