mirror of
https://github.com/deepseek-ai/DeepGEMM
synced 2025-06-26 23:15:49 +00:00
Fix typing
This commit is contained in:
@@ -73,7 +73,7 @@ class RuntimeCache:
|
|||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
self.cache = {}
|
self.cache = {}
|
||||||
|
|
||||||
def __setitem__(self, path, runtime) -> None:
|
def __setitem__(self, path: str, runtime: Runtime) -> None:
|
||||||
self.cache[path] = runtime
|
self.cache[path] = runtime
|
||||||
|
|
||||||
def get(self, path: str, runtime_cls: Type[Runtime]) -> Optional[Runtime]:
|
def get(self, path: str, runtime_cls: Type[Runtime]) -> Optional[Runtime]:
|
||||||
|
|||||||
Reference in New Issue
Block a user