Skip to content

Commit

Permalink
Upgrade mishards for v0.10.4 (#4356)
Browse files Browse the repository at this point in the history
Signed-off-by: yinghao.zou <[email protected]>
  • Loading branch information
BossZou committed Dec 2, 2020
1 parent de0669f commit 2d57c5c
Show file tree
Hide file tree
Showing 10 changed files with 75 additions and 10 deletions.
13 changes: 13 additions & 0 deletions core/conf/demo/server_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,19 @@ gpu:
build_index_devices:
- gpu0

#----------------------+------------------------------------------------------------+------------+-----------------+
# FPGA Config | Description | Type | Default |
#----------------------+------------------------------------------------------------+------------+-----------------+
# enable | Use FPGA devices or not. | Boolean | false |
#----------------------+------------------------------------------------------------+------------+-----------------+
# search_devices | The list of FPGA devices used for search computation. | DeviceList | fpga0 |
# | Must be in format fpgax. | | |
#----------------------+------------------------------------------------------------+------------+-----------------+
fpga:
enable: false
search_devices:
- fpga0

#----------------------+------------------------------------------------------------+------------+-----------------+
# Logs Config | Description | Type | Default |
#----------------------+------------------------------------------------------------+------------+-----------------+
Expand Down
8 changes: 4 additions & 4 deletions core/conf/server_config.template
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,12 @@ gpu:
- gpu0

#----------------------+------------------------------------------------------------+------------+-----------------+
# FPGA Config | Description | Type | Default |
# FPGA Config | Description | Type | Default |
#----------------------+------------------------------------------------------------+------------+-----------------+
# enable | Use FPGA devices or not. | Boolean | false |
# enable | Use FPGA devices or not. | Boolean | false |
#----------------------+------------------------------------------------------------+------------+-----------------+
# search_devices | The list of FPGA devices used for search computation. | DeviceList | gpu0 |
# | Must be in format fpgax. | | |
# search_devices | The list of FPGA devices used for search computation. | DeviceList | fpga0 |
# | Must be in format fpgax. | | |
#----------------------+------------------------------------------------------------+------------+-----------------+

fpga:
Expand Down
2 changes: 1 addition & 1 deletion shards/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Follow below steps to start a standalone Milvus instance with Mishards from sour
3. Start Milvus server.

```shell
$ sudo nvidia-docker run --rm -d -p 19530:19530 -v /tmp/milvus/db:/var/lib/milvus/db milvusdb/milvus:0.10.3-gpu-d091720-f962e8
$ sudo nvidia-docker run --rm -d -p 19530:19530 -v /tmp/milvus/db:/var/lib/milvus/db milvusdb/milvus:0.10.4-gpu-d120220-e72454
```

4. Update path permissions.
Expand Down
2 changes: 1 addition & 1 deletion shards/README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Python 版本为3.6及以上。
3. 启动 Milvus 服务。

```shell
$ sudo nvidia-docker run --rm -d -p 19530:19530 -v /tmp/milvus/db:/var/lib/milvus/db milvusdb/milvus:0.10.3-gpu-d091720-f962e8
$ sudo nvidia-docker run --rm -d -p 19530:19530 -v /tmp/milvus/db:/var/lib/milvus/db milvusdb/milvus:0.10.4-gpu-d120220-e72454
```

4. 更改目录权限。
Expand Down
4 changes: 2 additions & 2 deletions shards/all_in_one/all_in_one.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
milvus_wr:
runtime: nvidia
restart: always
image: milvusdb/milvus:0.10.3-gpu-d091720-f962e8
image: milvusdb/milvus:0.10.4-gpu-d120220-e72454
ports:
- "0.0.0.0:19540:19530"
volumes:
Expand All @@ -13,7 +13,7 @@ services:
milvus_ro:
runtime: nvidia
restart: always
image: milvusdb/milvus:0.10.3-gpu-d091720-f962e8
image: milvusdb/milvus:0.10.4-gpu-d120220-e72454
ports:
- "0.0.0.0:19541:19530"
volumes:
Expand Down
13 changes: 13 additions & 0 deletions shards/all_in_one/ro_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,19 @@ gpu:
build_index_devices:
- gpu0

#----------------------+------------------------------------------------------------+------------+-----------------+
# FPGA Config | Description | Type | Default |
#----------------------+------------------------------------------------------------+------------+-----------------+
# enable | Use FPGA devices or not. | Boolean | false |
#----------------------+------------------------------------------------------------+------------+-----------------+
# search_devices | The list of FPGA devices used for search computation. | DeviceList | fpga0 |
# | Must be in format fpgax. | | |
#----------------------+------------------------------------------------------------+------------+-----------------+
fpga:
enable: false
search_devices:
- fpga0

#----------------------+------------------------------------------------------------+------------+-----------------+
# Logs Config | Description | Type | Default |
#----------------------+------------------------------------------------------------+------------+-----------------+
Expand Down
13 changes: 13 additions & 0 deletions shards/all_in_one/wr_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,19 @@ gpu:
build_index_devices:
- gpu0

#----------------------+------------------------------------------------------------+------------+-----------------+
# FPGA Config | Description | Type | Default |
#----------------------+------------------------------------------------------------+------------+-----------------+
# enable | Use FPGA devices or not. | Boolean | false |
#----------------------+------------------------------------------------------------+------------+-----------------+
# search_devices | The list of FPGA devices used for search computation. | DeviceList | fpga0 |
# | Must be in format fpgax. | | |
#----------------------+------------------------------------------------------------+------------+-----------------+
fpga:
enable: false
search_devices:
- fpga0

#----------------------+------------------------------------------------------------+------------+-----------------+
# Logs Config | Description | Type | Default |
#----------------------+------------------------------------------------------------+------------+-----------------+
Expand Down
4 changes: 2 additions & 2 deletions shards/all_in_one_with_mysql/all_in_one.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
milvus_wr:
runtime: nvidia
restart: always
image: milvusdb/milvus:0.10.3-gpu-d091720-f962e8
image: milvusdb/milvus:0.10.4-gpu-d120220-e72454
volumes:
- /tmp/milvus/db:/var/lib/milvus/db
- ./wr_server.yml:/var/lib/milvus/conf/server_config.yaml
Expand All @@ -29,7 +29,7 @@ services:
milvus_ro:
runtime: nvidia
restart: always
image: milvusdb/milvus:0.10.3-gpu-d091720-f962e8
image: milvusdb/milvus:0.10.4-gpu-d120220-e72454
volumes:
- /tmp/milvus/db:/var/lib/milvus/db
- ./ro_server.yml:/var/lib/milvus/conf/server_config.yaml
Expand Down
13 changes: 13 additions & 0 deletions shards/all_in_one_with_mysql/ro_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,19 @@ gpu:
build_index_devices:
- gpu0

#----------------------+------------------------------------------------------------+------------+-----------------+
# FPGA Config | Description | Type | Default |
#----------------------+------------------------------------------------------------+------------+-----------------+
# enable | Use FPGA devices or not. | Boolean | false |
#----------------------+------------------------------------------------------------+------------+-----------------+
# search_devices | The list of FPGA devices used for search computation. | DeviceList | fpga0 |
# | Must be in format fpgax. | | |
#----------------------+------------------------------------------------------------+------------+-----------------+
fpga:
enable: false
search_devices:
- fpga0

#----------------------+------------------------------------------------------------+------------+-----------------+
# Logs Config | Description | Type | Default |
#----------------------+------------------------------------------------------------+------------+-----------------+
Expand Down
13 changes: 13 additions & 0 deletions shards/all_in_one_with_mysql/wr_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,19 @@ gpu:
build_index_devices:
- gpu0

#----------------------+------------------------------------------------------------+------------+-----------------+
# FPGA Config | Description | Type | Default |
#----------------------+------------------------------------------------------------+------------+-----------------+
# enable | Use FPGA devices or not. | Boolean | false |
#----------------------+------------------------------------------------------------+------------+-----------------+
# search_devices | The list of FPGA devices used for search computation. | DeviceList | fpga0 |
# | Must be in format fpgax. | | |
#----------------------+------------------------------------------------------------+------------+-----------------+
fpga:
enable: false
search_devices:
- fpga0

#----------------------+------------------------------------------------------------+------------+-----------------+
# Logs Config | Description | Type | Default |
#----------------------+------------------------------------------------------------+------------+-----------------+
Expand Down

0 comments on commit 2d57c5c

Please sign in to comment.