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
change
sglang
Commits
c3f2fc5a
Unverified
Commit
c3f2fc5a
authored
Oct 13, 2024
by
Byron Hsu
Committed by
GitHub
Oct 13, 2024
Browse files
[doc] Add engine section in backend.md (#1656)
parent
7ee6c259
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
docs/en/backend.md
docs/en/backend.md
+9
-0
No files found.
docs/en/backend.md
View file @
c3f2fc5a
...
...
@@ -93,6 +93,15 @@ python -m sglang.launch_server --model-path meta-llama/Meta-Llama-3-8B-Instruct
python -m sglang.launch_server --model-path meta-llama/Meta-Llama-3-8B-Instruct --tp 4 --nccl-init sgl-dev-0:50000 --nnodes 2 --node-rank 1
```
### SRT Engine: Direct Inference Without HTTP
SGLang provides a direct inference engine
**without an HTTP server**
. This can be used for:
1.
**Offline Batch Inference**
2.
**Building Custom Servers**
We provide usage examples
[
here
](
https://github.com/sgl-project/sglang/tree/main/examples/runtime/engine
)
### Supported Models
**Generative Models**
...
...
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