mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-28 20:11:22 +00:00
Skip DNNL's opset18 tests (#15275)
### Description DNNL EP doesn't support opset18 yet. So, let it skip such tests so that we could still test the other EPs. The models mentioned above are ONNX node tests that live in github.com/onnx/onnx
This commit is contained in:
parent
6d464748ba
commit
75f6861cb8
1 changed files with 4 additions and 2 deletions
|
|
@ -118,10 +118,12 @@ TEST_P(ModelTest, Run) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (model_info->GetONNXOpSetVersion() == 10 && provider_name == "dnnl") {
|
||||
if ((model_info->GetONNXOpSetVersion() == 10 || model_info->GetONNXOpSetVersion() >= 18) && provider_name == "dnnl") {
|
||||
// DNNL can run most of the model tests, but only part of
|
||||
// them is enabled here to save CI build time.
|
||||
SkipTest(" dnnl doesn't support opset 10");
|
||||
std::ostringstream oss;
|
||||
oss << " dnnl doesn't support opset " << model_info->GetONNXOpSetVersion();
|
||||
SkipTest(oss.str());
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue