Revert "[Feature] Support Ernie FP8 on sm100 (#5593)" (#6275)

This reverts commit eb80724b71.
This commit is contained in:
JYChen
2026-01-30 11:22:01 +08:00
committed by GitHub
parent 292bab7e6d
commit 6c685c9474
11 changed files with 197 additions and 725 deletions
@@ -17,9 +17,15 @@ from typing import Optional
import numpy as np
import paddle
from fastdeploy.model_executor.layers.utils import get_sm_version
from fastdeploy.platforms import current_platform
def get_sm_version():
prop = paddle.device.cuda.get_device_properties()
cc = prop.major * 10 + prop.minor
return cc
_ENABLE_MACHETE = False
if current_platform.is_cuda() and get_sm_version() == 90:
try: