Skip to content

Commit

Permalink
chore: fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxiao committed May 25, 2022
1 parent e1acf9a commit 8d11227
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/user-guides/server.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,18 +271,17 @@ To scale to 4 CLIP replicas, simply adding `replicas: 4` under `uses:`:

```{code-block} yaml
---
emphasize-lines: 9
emphasize-lines: 7
---
jtype: Flow
version: '1'
with:
port: 51000
executors:
- name: clip_t
replicas: 4
uses:
jtype: CLIPEncoder
replicas: 4
metas:
py_modules:
- executors/clip_torch.py
Expand Down Expand Up @@ -315,9 +314,9 @@ with:
prefetch: 10
executors:
- name: clip_t
replicas: 4
uses:
jtype: CLIPEncoder
replicas: 4
metas:
py_modules:
- executors/clip_torch.py
Expand Down

0 comments on commit 8d11227

Please sign in to comment.