From 5c095c602b4662c6fea9ca21cce8e100a6ec7969 Mon Sep 17 00:00:00 2001 From: Gaius Date: Fri, 17 Nov 2023 10:48:32 +0800 Subject: [PATCH] docs: fix typo in torchserve document Signed-off-by: Gaius --- docs/setup/integration/torchserve.md | 5 ++--- .../current/setup/integration/torchserve.md | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/setup/integration/torchserve.md b/docs/setup/integration/torchserve.md index f0ab8fd1..55a0b23b 100644 --- a/docs/setup/integration/torchserve.md +++ b/docs/setup/integration/torchserve.md @@ -95,7 +95,7 @@ kind load docker-image dragonflyoss/dfdaemon:latest #### Create dragonfly cluster based on helm charts -Create helm charts configuration file `charts-config.yaml` and set `dfdaemon.config.agents.regx` to +Create helm charts configuration file `charts-config.yaml` and set `dfdaemon.config.proxies.regx` to match the download path of the object storage, configuration content is as follows: ```yaml @@ -294,8 +294,7 @@ Create the `config.json` configuration to configure the Dragonfly Endpoint for S - addr: The address of Drangonfly's Peer HTTP proxy. - header: Adds a request header to the request. - filter: Used to generate unique tasks and filter unnecessary query parameters in the URL. -- object_storage: The object storage configuration, where type can be s3, oss, abs, gcs, - refer to the [object storage configuration](https://www.yuque.com/baimo/dsehg9/que4o40e9px9nufb#3db09a23) for details. +- object_storage: The object storage configuration, where type can be s3, oss, abs and gcs. In the filter of the configuration, set different values when using different object storage: diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/setup/integration/torchserve.md b/i18n/zh/docusaurus-plugin-content-docs/current/setup/integration/torchserve.md index ea24aa85..46917ae3 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/setup/integration/torchserve.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/setup/integration/torchserve.md @@ -292,7 +292,7 @@ export DRAGONFLY_ENDPOINT_CONFIG=/etc/dragonfly-endpoint/config.json - addr: Drangonfly 的 Peer 的 HTTP Proxy 的地址。 - header: 为请求增加请求头。 - filter: 用于生成唯一的任务,并过滤 URL 中不必要的查询参数。 -- object_storage: 模型文件所在对象存储的配置,其中 type 可为 s3,oss,abs,gcs,具体参考[对象存储配置](https://www.yuque.com/baimo/dsehg9/bhnbe93g7kw4grt6#3db09a23)。 +- object_storage: 模型文件所在对象存储的配置,其中 type 可为 s3,oss,abs 和 gcs。 配置文件中的 `filter` 部分, 根据对象存储类型设置不同值: