[Attention] Abstract the MLA prefill backends and eliminate cuDNN (#32623)
Signed-off-by: Matthew Bonanni <mbonanni@redhat.com> Signed-off-by: Lucas Wilkinson <lwilkins@redhat.com> Co-authored-by: Michael Goin <mgoin64@gmail.com> Co-authored-by: Lucas Wilkinson <lwilkins@redhat.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
Michael Goin
Lucas Wilkinson
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent
51295793a2
commit
f3fef12350
@@ -86,6 +86,9 @@ class DeviceCapability(NamedTuple):
|
||||
return NotImplemented
|
||||
return (self.major, self.minor) > (other.major, other.minor)
|
||||
|
||||
def __hash__(self) -> int:
|
||||
return hash((self.major, self.minor))
|
||||
|
||||
def as_version_str(self) -> str:
|
||||
return f"{self.major}.{self.minor}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user