未验证 提交 26e2b918 编写于 作者: W Wangzheee 提交者: GitHub

ernie: revert skip_layernorm_fp16 (#39991)

上级 1ff1c1e0
...@@ -105,7 +105,7 @@ class SkipLayerNormOpConverter : public OpConverter { ...@@ -105,7 +105,7 @@ class SkipLayerNormOpConverter : public OpConverter {
"in CustomSkipLayerNormPluginDynamic hidden " "in CustomSkipLayerNormPluginDynamic hidden "
"dimension should > 0")); "dimension should > 0"));
if (enable_int8) { if (enable_int8) {
type = static_cast<int>(nvinfer1::DataType::kINT8); type = static_cast<int>(nvinfer1::DataType::kHALF);
} }
const std::vector<nvinfer1::PluginField> fields{ const std::vector<nvinfer1::PluginField> fields{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册