diff --git a/CHANGELOG.md b/CHANGELOG.md index cb082d2772..684b0c51fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -76,6 +76,7 @@ Please mark all change in change log and use the ticket from JIRA. - \#470 - Small raw files should not be build index - \#584 - Intergrate internal FAISS - \#611 - Remove MILVUS_CPU_VERSION +- \#634 - FAISS GPU version is compiled with O0 ## Task diff --git a/core/src/index/thirdparty/faiss/makefile.inc.in b/core/src/index/thirdparty/faiss/makefile.inc.in index 2aaaf3cd19..744ca6d50e 100644 --- a/core/src/index/thirdparty/faiss/makefile.inc.in +++ b/core/src/index/thirdparty/faiss/makefile.inc.in @@ -17,7 +17,7 @@ NVCC = @NVCC@ CUDA_ROOT = @CUDA_PREFIX@ CUDA_ARCH = @CUDA_ARCH@ NVCCFLAGS = -I $(CUDA_ROOT)/targets/x86_64-linux/include/ \ --O0 -g \ +-O3 \ -Xcompiler -fPIC \ -Xcudafe --diag_suppress=unrecognized_attribute \ $(CUDA_ARCH) \