-
Notifications
You must be signed in to change notification settings - Fork 315
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #723 from chris-zilliz/v1.0.0-faq
add faq_assign_gpu_zh_v1.0.0
- Loading branch information
Showing
3 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
在/home/$USER/milvus/conf路径下的**server_config.yaml**文件中,你可以为建立索引以及检索分配GPU。如下代码所示: | ||
|
||
``` | ||
gpu: | ||
enable: true | ||
cache_size: 10GB | ||
gpu_search_threshold: 0 | ||
search_devices: | ||
- gpu0 | ||
- gpu1 | ||
build_index_devices: | ||
- gpu2 | ||
- gpu3 | ||
``` | ||
<div class="alert note"> | ||
gpu0, 1, 2, 3是分配给Docker容器的GPU中的前四个。 | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters