Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行问题 #7

Open
zhang-9l opened this issue Mar 25, 2022 · 2 comments
Open

运行问题 #7

zhang-9l opened this issue Mar 25, 2022 · 2 comments

Comments

@zhang-9l
Copy link

numpy.core._exceptions._ArrayMemoryError: Unable to allocate 3.73 GiB for an array with shape (10000, 100000) and data type float32
运行过程中出现此问题 请问如何解决?

@m5cLT
Copy link

m5cLT commented May 15, 2022

爆内存了

@sunzequn
Copy link
Member

sunzequn commented Jun 1, 2022

同学你好,很抱歉回复晚了。这地方是因为内存不够了,你可以尝试用128g以上内存运行看看。另外,这里的KNN search都可以改用faiss来计算,这样省内存 (但是可能会慢一点)。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants