mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Report unsupport reason during tuning (#15246)
This commit is contained in:
parent
60cc082f0a
commit
027e231a83
1 changed files with 1 additions and 0 deletions
|
|
@ -225,6 +225,7 @@ class TunableOp {
|
|||
static bool IsSupported(Op<ParamsT>& op, const ParamsT* param) {
|
||||
Status status = op.IsSupported(param);
|
||||
if (status.Category() == common::StatusCategory::NONE && status.Code() == common::StatusCode::INVALID_ARGUMENT) {
|
||||
LOGS_DEFAULT(VERBOSE) << "unsupported reason: " << status.ErrorMessage();
|
||||
return false;
|
||||
}
|
||||
ORT_THROW_IF_ERROR(status);
|
||||
|
|
|
|||
Loading…
Reference in a new issue