[platform] Add verify_quantization in platform. (#10757)

Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com>
This commit is contained in:
wangxiyuan
2024-11-29 15:22:21 +00:00
committed by GitHub
parent 3132aac043
commit 661175bc82
10 changed files with 38 additions and 27 deletions
+2
View File
@@ -10,7 +10,9 @@ else:
class NeuronPlatform(Platform):
_enum = PlatformEnum.NEURON
device_name: str = "neuron"
device_type: str = "neuron"
supported_quantization: list[str] = ["neuron_quant"]
@classmethod
def get_device_name(cls, device_id: int = 0) -> str: