Skip to content

Commit

Permalink
Enable DeBERTa plugin in parser
Browse files Browse the repository at this point in the history
  • Loading branch information
symphonylyh committed Apr 20, 2022
1 parent 5f27e45 commit 0510e54
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ModelImporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,10 @@ bool ModelImporter::supportsOperator(const char* op_name) const
{
return true;
}
if (std::string(op_name) == "DisentangledAttentionPlugin")
{
return true;
}
return _op_importers.count(op_name);
}
bool ModelImporter::parseWithWeightDescriptors(void const* serialized_onnx_model, size_t serialized_onnx_model_size)
Expand Down

0 comments on commit 0510e54

Please sign in to comment.