Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ColossalAI
Commits
59791431
Unverified
Commit
59791431
authored
Feb 21, 2023
by
Zheng Zeng
Committed by
GitHub
Feb 21, 2023
Browse files
[doc] fix typo in opt inference tutorial (#2849)
parent
93534643
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
examples/tutorial/opt/inference/README.md
examples/tutorial/opt/inference/README.md
+2
-2
No files found.
examples/tutorial/opt/inference/README.md
View file @
59791431
...
...
@@ -50,7 +50,7 @@ python opt_fastapi.py <model> --queue_size <QueueSize>
```
The
`<QueueSize>`
can be an integer in
`[0, MAXINT]`
. If it's
`0`
, the request queue size is infinite. If it's a positive integer, when the request queue is full, incoming requests will be dropped (the HTTP status code of response will be 406).
### Configure bat
h
cing
### Configure batc
h
ing
```
shell
python opt_fastapi.py <model>
--max_batch_size
<MaxBatchSize>
```
...
...
@@ -85,4 +85,4 @@ Then open the web interface link which is on your console.
See
[
script/processing_ckpt_66b.py
](
./script/processing_ckpt_66b.py
)
.
## OPT-175B
See
[
script/process-opt-175b
](
./script/process-opt-175b/
)
.
\ No newline at end of file
See
[
script/process-opt-175b
](
./script/process-opt-175b/
)
.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment