You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dynamo SGLang integrates SGLang engines into Dynamo's distributed runtime, enabling advanced features like disaggregated serving, KV-aware routing, and request migration while maintaining full compatibility with SGLang's engine arguments.
57
+
58
+
### Argument Handling
59
+
60
+
Dynamo SGLang uses SGLang's native argument parser, so **most SGLang engine arguments work identically**. You can pass any SGLang argument (like `--model-path`, `--tp`, `--trust-remote-code`) directly to `dynamo.sglang`.
Copy file name to clipboardExpand all lines: components/backends/sglang/src/dynamo/sglang/args.py
+30-11Lines changed: 30 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,12 @@
49
49
"choices": get_reasoning_parser_names(),
50
50
"help": "Reasoning parser name for the model. If not specified, no reasoning parsing is performed.",
51
51
},
52
+
"use-sglang-tokenizer": {
53
+
"flags": ["--use-sglang-tokenizer"],
54
+
"action": "store_true",
55
+
"default": False,
56
+
"help": "Use SGLang's tokenizer. This will skip tokenization of the input and output and only v1/chat/completions will be available when using the dynamo frontend",
"The skip-tokenizer-init flag was not set. Using the sglang tokenizer/detokenizer instead. The dynamo tokenizer/detokenizer will not be used and only v1/chat/completions will be available"
0 commit comments