Skip to content

Conversation

@wschin
Copy link
Member

@wschin wschin commented Sep 19, 2018

  1. Introduce a new argument to SaveOnnx, which is OnnxVersion.
    Two values are currently allowed, "Latest" and "Experimental".
    Note that "Latest" means that the produced ONNX model meets
    the latest ONNX release while "Experimental" may produce
    things not officially supported in ONNX.
  2. For (1), the interface of saving ONNX is slightly changed. Now,
    CanSaveOnnx requires an OnnxContext as its input argument,
    because if a model can be saved to ONNX depends on the targeted
    ONNX version now.
  3. Add exporter for ConvertTransform. It doesn't use standard
    ONNX operator.

Related issue: #945

1. Introduce a new argument to SaveOnnx, which is OnnxVersion.
   Two values are currently allowed, "Latest" and "Experimental".
   Note that "Latest" means that the produced ONNX model meets
   the latest ONNX release while "Experimental" may produce
   things not officially supported in ONNX.
2. For (1), the interface of saving ONNX is slightly changed. Now,
   CanSaveOnnx requires an OnnxContext as its input argument.
3. Add exporter for ConvertTransform. It doesn't use standard
   ONNX operator.
@dnfclas
Copy link

dnfclas commented Sep 19, 2018

CLA assistant check
All CLA requirements met. #Resolved

@wschin wschin requested a review from jignparm September 20, 2018 16:34
@markusweimer
Copy link

markusweimer commented Sep 21, 2018

This PR does not reference an issue. Can you please file one and reference it in the PR description? #Resolved

@wschin
Copy link
Member Author

wschin commented Sep 21, 2018

@markusweimer , sure. Thanks for reminding. #Resolved

@Ivanidzo4ka
Copy link
Contributor

Ivanidzo4ka commented Sep 25, 2018

Can you make sure it pass build system? #Resolved

@codemzs codemzs requested a review from TomFinley October 2, 2018 16:39
Copy link
Member

@codemzs codemzs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Copy link
Contributor

@Ivanidzo4ka Ivanidzo4ka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@justinormont
Copy link
Contributor

Looks like there's a test which failed:

2018-10-09T17:45:52.5177105Z Failed   Microsoft.ML.Runtime.RunTests.TestEntryPoints.EntryPointCatalog
2018-10-09T17:45:52.5177853Z Error Message:
2018-10-09T17:45:52.5178689Z  Assert.True() Failure
2018-10-09T17:45:52.5178806Z Expected: True
2018-10-09T17:45:52.5179047Z Actual:   False
2018-10-09T17:45:52.5179125Z Stack Trace:
2018-10-09T17:45:52.5179196Z    at Microsoft.ML.Runtime.RunTests.BaseTestBaseline.Done() in /__w/1/s/test/Microsoft.ML.TestFramework/BaseTestBaseline.cs:line 149
2018-10-09T17:45:52.5179510Z    at Microsoft.ML.Runtime.RunTests.TestEntryPoints.EntryPointCatalog() in /__w/1/s/test/Microsoft.ML.Core.Tests/UnitTests/TestEntryPoints.cs:line 300
2018-10-09T17:45:52.5180265Z Standard Output Messages:
2018-10-09T17:45:52.5181202Z  Output matches baseline: '../Common/EntryPoints/core_ep-list.tsv'
2018-10-09T17:45:52.5181605Z  *** Failure: Output and baseline mismatch at line 2492: '../Common/EntryPoints/core_manifest.json'
2018-10-09T17:45:52.5181707Z  Test EntryPointCatalog: completed normally: failed
2018-10-09T17:45:52.5181824Z 
2018-10-09T17:45:52.5182157Z 
2018-10-09T17:45:52.5709539Z Results File: /__w/1/s/bin/AnyCPU.Debug/Microsoft.ML.Core.Tests/_d036fad37c59_2018-10-09_17_44_56.trx
2018-10-09T17:45:52.5712294Z 
2018-10-09T17:45:52.5715346Z Total tests: 105. Passed: 101. Failed: 1. Skipped: 3.
2018-10-09T17:45:52.5717716Z Test Run Failed.
2018-10-09T17:45:52.5734548Z Test execution time: 59.2323 Seconds

@wschin wschin merged commit 5684398 into dotnet:master Oct 10, 2018
@wschin wschin deleted the saveconvert branch October 10, 2018 00:54
@ghost ghost locked as resolved and limited conversation to collaborators Mar 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants