[Fix] Fix NaN issues by fixing the cuda graph padding values for flashinfer (#1779)
This commit is contained in:
1 parent
72e7b57a75
commit
0089c4bc96
1 file changed
+1
-1
@@ -290,7 +290,7 @@ class CudaGraphRunner:
|
||||
index = bisect.bisect_left(self.capture_bs, raw_bs)
|
||||
bs = self.capture_bs[index]
|
||||
if bs != raw_bs:
|
||||
self.seq_lens.fill_(self.seq_len_fill_value)
|
||||
self.seq_lens.fill_(1)
|
||||
self.out_cache_loc.zero_()
|
||||
|
||||
# Common inputs
|
||||
|
||||
Reference in new issue
Block a user