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
a2ffdd60
Commit
a2ffdd60
authored
Nov 18, 2025
by
shangxl
Browse files
forward_batch_info.py 增加环境变量
parent
e4e2b478
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
python/sglang/srt/model_executor/forward_batch_info.py
python/sglang/srt/model_executor/forward_batch_info.py
+2
-0
No files found.
python/sglang/srt/model_executor/forward_batch_info.py
View file @
a2ffdd60
...
@@ -317,6 +317,8 @@ class ForwardBatch:
...
@@ -317,6 +317,8 @@ class ForwardBatch:
tbo_parent_token_range
:
Optional
[
Tuple
[
int
,
int
]]
=
None
tbo_parent_token_range
:
Optional
[
Tuple
[
int
,
int
]]
=
None
tbo_children
:
Optional
[
List
[
ForwardBatch
]]
=
None
tbo_children
:
Optional
[
List
[
ForwardBatch
]]
=
None
use_sglang_create_chunked_prefix_cache_kv_indices
=
get_bool_env_var
(
"SGLANG_CREATE_CHUNKED_PREFIX_CACHE_KV_INDICES"
)
@
classmethod
@
classmethod
def
init_new
(
def
init_new
(
cls
,
cls
,
...
...
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