[Platform] Move get_punica_wrapper() function to Platform (#11516)

Signed-off-by: Shanshan Shen <467638484@qq.com>
This commit is contained in:
Shanshan Shen
2025-01-13 13:12:10 +00:00
committed by GitHub
parent 458e63a2c6
commit a7d59688fb
6 changed files with 32 additions and 17 deletions
+7
View File
@@ -276,6 +276,13 @@ class Platform:
return False
return True
@classmethod
def get_punica_wrapper(cls) -> str:
"""
Return the punica wrapper for current platform.
"""
raise NotImplementedError
class UnspecifiedPlatform(Platform):
_enum = PlatformEnum.UNSPECIFIED