Skip to content

Commit

Permalink
fix: specify dtype with begin_forward aka plan (#2404)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhyncs authored Dec 8, 2024
1 parent a2486eb commit 6128f7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/sglang/srt/layers/attention/flashinfer_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,7 @@ def call_begin_forward(
self.num_qo_heads,
self.num_kv_heads,
self.head_dim,
q_data_type=self.q_data_type,
)

# cached part
Expand All @@ -691,6 +692,7 @@ def call_begin_forward(
self.num_kv_heads,
self.head_dim,
1,
q_data_type=self.q_data_type,
)


Expand Down

0 comments on commit 6128f7c

Please sign in to comment.