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
e94e60d6
Commit
e94e60d6
authored
Jun 21, 2024
by
Lianmin Zheng
Browse files
make flashinfer workspace larger
parent
d2f8bfb2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/srt/managers/controller/model_runner.py
python/sglang/srt/managers/controller/model_runner.py
+1
-1
No files found.
python/sglang/srt/managers/controller/model_runner.py
View file @
e94e60d6
...
@@ -360,7 +360,7 @@ class ModelRunner:
...
@@ -360,7 +360,7 @@ class ModelRunner:
use_tensor_cores
=
False
use_tensor_cores
=
False
workspace_buffer
=
torch
.
empty
(
workspace_buffer
=
torch
.
empty
(
32
*
1024
*
1024
,
dtype
=
torch
.
int8
,
device
=
"cuda"
128
*
1024
*
1024
,
dtype
=
torch
.
int8
,
device
=
"cuda"
)
)
self
.
flashinfer_prefill_wrapper
=
BatchPrefillWithPagedKVCacheWrapper
(
self
.
flashinfer_prefill_wrapper
=
BatchPrefillWithPagedKVCacheWrapper
(
workspace_buffer
,
"NHD"
workspace_buffer
,
"NHD"
...
...
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