Commit 981009d
authored
[Fix] PagedKVCache fetching compute stream when copy stream is needed (#16714)
This PR fixes an issue in PagedKVCache, where a compute stream will
always be fetched. For backends like WebGPU, the `GetCurrentStream`
function is not implemented, which leads to an error when fetching
the compute stream.1 parent 8023a98 commit 981009d
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
443 | 442 | | |
444 | 443 | | |
445 | | - | |
446 | 444 | | |
447 | 445 | | |
| 446 | + | |
| 447 | + | |
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
| |||
0 commit comments