mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 16:48:03 +08:00
[Test] scaled_gemm_f8_i4_f16 skip test while sm != 89 (#3210)
This commit is contained in:
@@ -33,6 +33,10 @@ class Test(unittest.TestCase):
|
||||
paddle.seed(2024)
|
||||
print(paddle.device.cuda.get_device_properties())
|
||||
print(paddle.__git_commit__)
|
||||
prop = paddle.device.cuda.get_device_properties()
|
||||
cc = prop.major * 10 + prop.minor
|
||||
if cc != 89:
|
||||
self.skipTest("scaled_gemm_f8_i4_f16 only support sm 89!")
|
||||
|
||||
def quant_fp8_pertensor(self, tensor):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user