Skip to content

Commit 0725846

Browse files
committed
fix a bug in native_backend
1 parent 7edb5d6 commit 0725846

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/sgl_jax/srt/layers/attention/native_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def _get_and_update_kv_cache(
133133
v = v.reshape(num_tokens, kv_heads, head_dim)
134134

135135
if forward_batch.forward_mode == ForwardMode.EXTEND:
136-
forward_batch.token_to_kv_pool.set_kv_buffer(
136+
token_to_kv_pool.set_kv_buffer(
137137
layer_id, forward_batch.out_cache_loc, k, v, is_decode=False
138138
)
139139
else:

0 commit comments

Comments
 (0)