Fixing intel Supports windowing. (#2637)
This commit is contained in:
parent
3dbdf63ec5
commit
0c478846c5
|
@ -68,5 +68,5 @@ else:
|
||||||
def clamp(self, max):
|
def clamp(self, max):
|
||||||
if SYSTEM == "rocm":
|
if SYSTEM == "rocm":
|
||||||
return self
|
return self
|
||||||
raise NotImplementedError("Not implemented seqlen for paged")
|
self.input_lengths = torch.clamp(self.input_lengths, max=max)
|
||||||
return Seqlen(torch.clamp(self.input_lengths, max=max))
|
return self
|
||||||
|
|
Loading…
Reference in New Issue