Fixing intel Supports windowing.

This commit is contained in:
Nicolas Patry 2024-10-11 21:28:22 +02:00
parent 3dbdf63ec5
commit fe2f251504
No known key found for this signature in database
GPG Key ID: 788A1EA699458B2F

View File

@ -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