abertsch72 / abertsch72/unlimiformer

Error in running Llama 2 generation example

未關閉
#63 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
1.1k
分支
78
PR 合併指標
30 天內沒有已合併 PR

描述

Hi, I got the following error when I tried to execute the command in the README:

```
scores, values = faiss.knn_gpu(faiss.StandardGpuResources(), queries, self.keys, k,
TypeError: torch_replacement_knn_gpu() got an unexpected keyword argument 'device'
```
I'm using `faiss-gpu@1.7.2`.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

The error occurs in a call to faiss.knn_gpu with a 'device' keyword argument. Look at the README for the exact command that fails, then find the code that calls faiss.knn_gpu, likely in the generation example. Check the faiss-gpu version compatibility and the function signature. The fix may involve removing the 'device' argument or adjusting the call to match the installed faiss API.

由索引模型根據 Issue 內容生成。

評估

領域
ai, machine-learning
Issue 類型
缺陷
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
描述清楚
新手友好度
55/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。