Unverified Commit 0c478846 authored by Nicolas Patry's avatar Nicolas Patry Committed by GitHub
Browse files

Fixing intel Supports windowing. (#2637)

parent 3dbdf63e
......@@ -68,5 +68,5 @@ else:
def clamp(self, max):
if SYSTEM == "rocm":
return self
raise NotImplementedError("Not implemented seqlen for paged")
return Seqlen(torch.clamp(self.input_lengths, max=max))
self.input_lengths = torch.clamp(self.input_lengths, max=max)
return self
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment