mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
skip quantized model C# tests on GPU (#13782)
### Description
Skip quantized model C# tests on GPU too.
### Motivation and Context
It looks the current test result isn't reasonable.
https://github.com/onnx/models/issues/581
Once we update the image, the quantized model [test data will be
generated with
VNNI](ba629906dd),
the CI would be broken.
This commit is contained in:
parent
7df8f84228
commit
777c474f61
1 changed files with 1 additions and 9 deletions
|
|
@ -451,13 +451,9 @@ namespace Microsoft.ML.OnnxRuntime.Tests
|
|||
//var modelRoot = new DirectoryInfo(Path.Combine(modelsDir, opsetDir.Name));
|
||||
foreach (var modelDir in opsetDir.EnumerateDirectories())
|
||||
{
|
||||
#if USE_CUDA
|
||||
if (!skipModels.ContainsKey(modelDir.Name))
|
||||
#else
|
||||
if (!(skipModels.ContainsKey(modelDir.Name) ||
|
||||
if (!(skipModels.ContainsKey(modelDir.Name) ||
|
||||
modelDir.Name.Contains("int8", StringComparison.OrdinalIgnoreCase) ||
|
||||
modelDir.Name.Contains("qdq", StringComparison.OrdinalIgnoreCase)))
|
||||
#endif
|
||||
{
|
||||
yield return new object[] { modelDir.Parent.FullName, modelDir.Name };
|
||||
}
|
||||
|
|
@ -475,13 +471,9 @@ namespace Microsoft.ML.OnnxRuntime.Tests
|
|||
{
|
||||
foreach (var modelDir in opsetDir.EnumerateDirectories())
|
||||
{
|
||||
#if USE_CUDA
|
||||
if (skipModels.ContainsKey(modelDir.Name))
|
||||
#else
|
||||
if (skipModels.ContainsKey(modelDir.Name) ||
|
||||
modelDir.Name.Contains("int8", StringComparison.OrdinalIgnoreCase) ||
|
||||
modelDir.Name.Contains("qdq", StringComparison.OrdinalIgnoreCase))
|
||||
#endif
|
||||
{
|
||||
//Console.WriteLine("Model {0} is skipped due to the error: {1}", modelDir.FullName, skipModels[modelDir.Name]);
|
||||
yield return new object[] { modelDir.Parent.FullName, modelDir.Name };
|
||||
|
|
|
|||
Loading…
Reference in a new issue