Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
Faiss
Commits
929b785b
"...composable_kernel_onnxruntime.git" did not exist on "5fbf4f33d300ea831609eb026e192a2d39a2a21c"
Commit
929b785b
authored
Nov 16, 2022
by
huchen
Browse files
修改dtk22.04->dtk
parent
222b608c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
10 deletions
+9
-10
compile.sh
compile.sh
+2
-2
faiss/gpu/CMakeLists.txt
faiss/gpu/CMakeLists.txt
+2
-3
faiss/python/setup.py
faiss/python/setup.py
+1
-1
test_gpu.sh
test_gpu.sh
+2
-2
test_gpu_python.sh
test_gpu_python.sh
+2
-2
No files found.
compile.sh
View file @
929b785b
source
/opt/dtk-22.0
4.2
/env.sh
source
/opt/dtk-22.
1
0/env.sh
cd
/opt/dtk-22.0
4.2
/.hip/
cd
/opt/dtk-22.
1
0/.hip/
./remove_origin.sh
cd
-
...
...
faiss/gpu/CMakeLists.txt
View file @
929b785b
...
...
@@ -180,8 +180,7 @@ endforeach()
find_package
(
HIP
)
#target_link_libraries(faiss)
#target_link_libraries(faiss_avx2)
#link_directories(/opt/dtk-21.04/hipblas/lib/)
target_link_libraries
(
faiss PRIVATE /opt/dtk-22.04.2/hipblas/lib/libhipblas.so.0
)
target_link_libraries
(
faiss_avx2 PRIVATE /opt/dtk-22.04.2/hipblas/lib/libhipblas.so.0
)
target_link_libraries
(
faiss PRIVATE /opt/dtk/hipblas/lib/libhipblas.so.0
)
target_link_libraries
(
faiss_avx2 PRIVATE /opt/dtk/hipblas/lib/libhipblas.so.0
)
target_compile_options
(
faiss PRIVATE --gpu-max-threads-per-block=1024
)
target_compile_options
(
faiss_avx2 PRIVATE --gpu-max-threads-per-block=1024
)
faiss/python/setup.py
View file @
929b785b
...
...
@@ -50,7 +50,7 @@ are implemented on the GPU. It is developed by Facebook AI Research.
"""
setup
(
name
=
'faiss'
,
version
=
'1.7.2-dtk22.0
4.2
-git38a3ad54c7'
,
version
=
'1.7.2-dtk22.
1
0-git38a3ad54c7'
,
description
=
'A library for efficient similarity search and clustering of dense vectors'
,
long_description
=
long_description
,
url
=
'https://github.com/facebookresearch/faiss'
,
...
...
test_gpu.sh
View file @
929b785b
source
/opt/dtk
-22.04.2
/env.sh
source
/opt/dtk/env.sh
cd
/opt/dtk
-22.04.2
/.hip/
cd
/opt/dtk/.hip/
./replace_origin.sh
cd
-
...
...
test_gpu_python.sh
View file @
929b785b
source
/opt/dtk
-22.04.2
/env.sh
source
/opt/dtk/env.sh
cd
/opt/dtk
-22.04.2
/.hip/
cd
/opt/dtk/.hip/
./replace_origin.sh
cd
-
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment