Skip to content

Commit

Permalink
replace with fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-zilliz authored Sep 29, 2021
1 parent bced1db commit ba0feb9
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions site/zh-CN/faq/operational_faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,23 +141,7 @@ PyMilvus v1.1.2 已支持指定服务器连接超时时间。

#### 如何为建立索引和检索分配GPU?

在/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>
{{fragments/faq_assign_gpu.md}}


#### 仍有问题没有得到解答?
Expand Down

0 comments on commit ba0feb9

Please sign in to comment.