You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, in SGLang Frontend Language, if I use s1 = s.fork(1)[0], can s1 reuse the kv cache of s?
I am using SGLang Frontend Language to implement blockwise parrallel decoding, and my implementation is as below.
However, I find that the runtime of draft and verify stage is same as prefill stage. It seems like it doesn't reuse the kv cache from prefill stage. How can I accelerate it? Is there any solution to reuse the kv cache?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, in SGLang Frontend Language, if I use s1 = s.fork(1)[0], can s1 reuse the kv cache of s?
I am using SGLang Frontend Language to implement blockwise parrallel decoding, and my implementation is as below.
However, I find that the runtime of draft and verify stage is same as prefill stage. It seems like it doesn't reuse the kv cache from prefill stage. How can I accelerate it? Is there any solution to reuse the kv cache?
Looking forward to your reply. Thanks a lot.
Environment
Beta Was this translation helpful? Give feedback.
All reactions