Skip to content

Commit

Permalink
[docs] Updates rolling batch document (deepjavalibrary#1003)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankfliu authored Aug 8, 2023
1 parent 4895d38 commit 6037ac0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions serving/docs/modes.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ option.enable_venv=true
option.rolling_batch=auto
#option.rolling_batch=lmi-dist
option.max_rolling_batch_size=64
option.paged_attention=false
option.max_rolling_batch_prefill_tokens=1088
```

In `serving.properties`, you can set the following properties. Model properties are accessible to `Translator`
Expand Down Expand Up @@ -129,10 +131,14 @@ engine=MPI
option.rolling_batch=auto
# use FlashAttention
#option.rolling_batch=lmi-dist
# use PagedAttention
#option.rolling_batch=vllm
#option.rolling_batch=scheduler
option.max_rolling_batch_size=64
# increase max_rolling_batch_prefill_tokens for long sequence
option.max_rolling_batch_prefill_tokens=1088
# disable PagedAttention if run into OOM
option.paged_attention=false
```


Expand Down

0 comments on commit 6037ac0

Please sign in to comment.