Skip to content

Commit

Permalink
register to REG_INFO
Browse files Browse the repository at this point in the history
  • Loading branch information
dtang317 committed Nov 13, 2024
1 parent db06cac commit 7e4e72b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,7 @@ constexpr static OperatorRegistrationInformation operatorRegistrationInformation
{REG_INFO_MS( 1, BiasAdd, typeNameListDefault, supportedTypeListFloat16to32, DmlGraphSupport::Supported)},
{REG_INFO_MS( 1, QuickGelu, typeNameListDefault, supportedTypeListFloat16to32, DmlGraphSupport::Supported)},
{REG_INFO_MS( 1, GroupNorm, typeNameListGroupNorm, supportedTypeListGroupNorm, DmlGraphSupport::Supported)},
{REG_INFO_MS( 21, GroupNorm, typeNameListGroupNorm, supportedTypeListGroupNorm, DmlGraphSupport::Supported)},
{REG_INFO( 21, GroupNorm, typeNameListGroupNorm, supportedTypeListGroupNorm, DmlGraphSupport::Supported)},
{REG_INFO_MS( 1, MatMulNBits, typeNameListTwo, supportedTypeListMatMulNBits, DmlGraphSupport::Supported, requiredConstantCpuInputs(), std::nullopt, QueryMatMulNBits)},

// Operators that need to alias an input with an output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@ namespace OperatorHelper
static const int sc_sinceVer_Transpose = 21;
static const int sc_sinceVer_Identity = 21;
static const int sc_sinceVer_QLinearMatMul = 21;
static const int sc_sinceVer_GroupNorm = 21;
}

namespace MsftOperatorSet1
Expand Down Expand Up @@ -497,10 +498,4 @@ namespace OperatorHelper
static const int sc_sinceVer_MatMulNBits = 1;
static const int sc_sinceVer_DynamicQuantizeMatMul = 1;
} // namespace MsftOperatorSet1

namespace MsftOperatorSet21
{
static const int sc_sinceVer_GroupNorm = 21;
} // namespace MsftOperatorSet21

} // namespace OperatorHelper

0 comments on commit 7e4e72b

Please sign in to comment.