728x90
pip install faiss-gpu-cu12 # CUDA 12.x, Python 3.8+
pip install faiss-gpu-cu11 # CUDA 11.x, Python 3.8+
pip install faiss-gpu # Python 3.6-3.10
conda install -c conda-forge faiss-gpu # chatgpt 답변
위에 방법을 다 해봤는데도 여전히 해결이 안됨.
그러나 chatgpt 에서 " 공식 Anaconda 패키지 페이지에서도 이 설치법을 안내해. Anaconda+1" 라고 안내됨.
https://anaconda.org/channels/conda-forge/packages/faiss-gpu/overview
faiss-gpu - conda-forge | Anaconda.org
Faiss is a library for efficient similarity search and clustering of dense vectors. It contains algorithms that search in sets of vectors of any size, up to ones that possibly do not fit in RAM. It also contains supporting code for evaluation and parameter
anaconda.org
그래서 실제로 이 안에 들어가서

conda install conda-forge::faiss-gpu==1.9.0
홈페이지에 나온 명령어대로 하니까 드디어 설치 제대로 됨
728x90
'Python > 알면 쓸모있는 잡다한 코드' 카테고리의 다른 글
| [열불나는 flash-attn torch 버전 맞추기] flash_attn_2_cuda.cpython-310-x86_64-linux-gnu.so: undefined symbol: (0) | 2026.01.23 |
|---|---|
| [GIT] Bitbucket ssh 키 설정 (0) | 2025.09.29 |
| VS Code jupyter notebook conda environment kernel settings / VS Code 주피터 노트북 콘다 가상환경 커널 설정 (0) | 2025.02.06 |
| 도커 윈도우 설치 Installing docker on windows (0) | 2025.02.02 |
| mac right_command 한영변환/command ↔ control 키 바꾸는 법 (+ 타사 키보드 적용) (0) | 2024.12.12 |