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
8d2d876f
Unverified
Commit
8d2d876f
authored
Aug 14, 2024
by
Ying Sheng
Committed by
GitHub
Aug 14, 2024
Browse files
[Fix] fix the typo bug for window attention (#1106)
parent
326df4ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/srt/model_executor/model_runner.py
python/sglang/srt/model_executor/model_runner.py
+1
-1
No files found.
python/sglang/srt/model_executor/model_runner.py
View file @
8d2d876f
...
@@ -337,7 +337,7 @@ class ModelRunner:
...
@@ -337,7 +337,7 @@ class ModelRunner:
use_tensor_cores
=
use_tensor_cores
,
use_tensor_cores
=
use_tensor_cores
,
)
)
else
:
else
:
self
.
flashinfer_workspace_buffer
s
=
torch
.
empty
(
self
.
flashinfer_workspace_buffer
=
torch
.
empty
(
global_config
.
flashinfer_workspace_size
,
global_config
.
flashinfer_workspace_size
,
dtype
=
torch
.
uint8
,
dtype
=
torch
.
uint8
,
device
=
"cuda"
,
device
=
"cuda"
,
...
...
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