You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OnnxTransform -- Update to OnnxRuntime 0.2.0 (#2085)
* Initial checking to run unit tests on Linux
* Test linux execution on dev package of onnxruntime
* Added fix to onnxruntime nuget prop file to handle Linux dlls correctly
* test package copying all native dlls to output folder
* Add rpath to dll
* Update to Onnxruntime 2.0 package
* use cpu package
* uncomment device id in unit test
* folder PR comments
* minor fix
* minor change to kick off build
* minor change to kick off build
* remove reference to myget, and use nuget instead
* removed nullgpuID. Use AtMostOnce for gpuDeviceID and fallBackToCpu variables
* Folded more PR comments
* minor change to kick of build status
* minor change to kick off random build failure
* minor change to kick off build
* minor change to kick off build
/// Set parameter 'gpuDeviceId' to a valid non-negative integer. Typical device ID values are 0 or 1.
54
57
/// </p>
55
58
/// <p>The inputs and outputs of the ONNX models must be Tensor type. Sequence and Maps are not yet supported.</p>
56
-
/// <p>OnnxRuntime currently works on Windows 64-bit platforms only. Linux and OSX to be supported soon.</p>
59
+
/// <p>OnnxRuntime currently works on Windows and Ubuntu 16.04 Linux 64-bit platforms. Mac OS to be supported soon.</p>
57
60
/// <p>Visit https://github.com/onnx/models to see a list of readily available models to get started with.</p>
58
61
/// <p>Refer to http://onnx.ai' for more information about ONNX.</p>
59
62
/// </remarks>
@@ -70,10 +73,10 @@ public sealed class Arguments : TransformInputBase
70
73
[Argument(ArgumentType.Multiple|ArgumentType.Required,HelpText="Name of the output column.",SortOrder=2)]
71
74
publicstring[]OutputColumns;
72
75
73
-
[Argument(ArgumentType.AtMostOnce|ArgumentType.Required,HelpText="GPU device id to run on (e.g. 0,1,..). Null for CPU. Requires CUDA 10.0.",SortOrder=3)]
76
+
[Argument(ArgumentType.AtMostOnce,HelpText="GPU device id to run on (e.g. 0,1,..). Null for CPU. Requires CUDA 9.1.",SortOrder=3)]
74
77
publicint?GpuDeviceId=null;
75
78
76
-
[Argument(ArgumentType.AtMostOnce|ArgumentType.Required,HelpText="If true, resumes execution on CPU upon GPU error. If false, will raise the GPU execption.",SortOrder=4)]
79
+
[Argument(ArgumentType.AtMostOnce,HelpText="If true, resumes execution on CPU upon GPU error. If false, will raise the GPU execption.",SortOrder=4)]
77
80
publicboolFallbackToCpu=false;
78
81
}
79
82
@@ -581,5 +584,4 @@ public override SchemaShape GetOutputSchema(SchemaShape inputSchema)
Skip="Require 64 bit and Windows or Linux (Ubuntu 16.04).";
38
+
}
39
+
}
40
+
}
26
41
42
+
publicclassOnnxTransformTests:TestDataPipeBase
43
+
{
27
44
privateconstintinputSize=150528;
28
45
29
46
privateclassTestData
@@ -83,16 +100,11 @@ public OnnxTransformTests(ITestOutputHelper output) : base(output)
83
100
{
84
101
}
85
102
86
-
[ConditionalFact(typeof(Environment),nameof(Environment.Is64BitProcess))]// x86 fails with "An attempt was made to load a program with an incorrect format."
[ConditionalTheory(typeof(Environment),nameof(Environment.Is64BitProcess))]// x86 fails with "An attempt was made to load a program with an incorrect format."
[ConditionalFact(typeof(Environment),nameof(Environment.Is64BitProcess))]// x86 fails with "An attempt was made to load a program with an incorrect format."
0 commit comments