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
6128f7cf
Unverified
Commit
6128f7cf
authored
Dec 08, 2024
by
Yineng Zhang
Committed by
GitHub
Dec 08, 2024
Browse files
fix: specify dtype with begin_forward aka plan (#2404)
parent
a2486eb5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
python/sglang/srt/layers/attention/flashinfer_backend.py
python/sglang/srt/layers/attention/flashinfer_backend.py
+2
-0
No files found.
python/sglang/srt/layers/attention/flashinfer_backend.py
View file @
6128f7cf
...
@@ -678,6 +678,7 @@ class FlashInferIndicesUpdaterPrefill:
...
@@ -678,6 +678,7 @@ class FlashInferIndicesUpdaterPrefill:
self
.
num_qo_heads
,
self
.
num_qo_heads
,
self
.
num_kv_heads
,
self
.
num_kv_heads
,
self
.
head_dim
,
self
.
head_dim
,
q_data_type
=
self
.
q_data_type
,
)
)
# cached part
# cached part
...
@@ -691,6 +692,7 @@ class FlashInferIndicesUpdaterPrefill:
...
@@ -691,6 +692,7 @@ class FlashInferIndicesUpdaterPrefill:
self
.
num_kv_heads
,
self
.
num_kv_heads
,
self
.
head_dim
,
self
.
head_dim
,
1
,
1
,
q_data_type
=
self
.
q_data_type
,
)
)
...
...
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