Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.16.1 cherry picks #6108

Merged
merged 9 commits into from
May 9, 2024
Merged

1.16.1 cherry picks #6108

merged 9 commits into from
May 9, 2024

Commits on Apr 29, 2024

  1. fix a skipped shape infer code (#6049)

    ### Description
    <!-- - Describe your changes. -->
    
    ### Motivation and Context
    <!-- - Why is this change required? What problem does it solve? -->
    <!-- - If it fixes an open issue, please link to the issue here. -->
    
    Signed-off-by: Liqun Fu <liqfu@microsoft.com>
    (cherry picked from commit fa0b899)
    liqunfu authored and cjvolzka committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    416d2f4 View commit details
    Browse the repository at this point in the history
  2. Prevent crash on import after GCC 8 builds (#6048)

    ### Description
    Possible fix for #6047 based on
    https://stackoverflow.com/questions/33149878/experimentalfilesystem-linker-error/33159746#33159746
    
    ### Motivation and Context
    I'm not a cmake expert so there may be a better way to do this. This did
    allow me to build ONNX 1.16 on RHEL 8.
    
    ---------
    
    Signed-off-by: Charles Volzka <cjvolzka@us.ibm.com>
    Signed-off-by: Charles Volzka <42243335+cjvolzka@users.noreply.github.com>
    Co-authored-by: Thiago Crepaldi <thiago.crepaldi@microsoft.com>
    Co-authored-by: G. Ramalingam <grama@microsoft.com>
    (cherry picked from commit 3f24ef3)
    cjvolzka committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    77b5255 View commit details
    Browse the repository at this point in the history
  3. Add missing shape inference check for DequantizeLinear (#6080)

    Add missing `hasInputShape` condition in shape-inference for
    DequantizeLinear ... strangely missing in last two versions, but present
    in earlier version.
    
    Signed-off-by: G. Ramalingam <grama@microsoft.com>
    (cherry picked from commit 5ecc0a9)
    gramalingam authored and cjvolzka committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    fc1fa51 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. Prepare for rel-1.16.1 branch (#6106)

    ### Description
    Prepare for rel-1.16.1 branch
    
    ### Motivation and Context
    Prepare ONNX 1.16.1 release
    
    Signed-off-by: Charles Volzka <cjvolzka@us.ibm.com>
    (cherry picked from commit d6f8712)
    cjvolzka committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    1f5283b View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. chore(ci): build and test macOS universal2 wheels on macOS arm64 (#6117)

    ### Description
    Build and test macOS universal2 wheels on macOS arm64
    Removes x86_64 wheels.
    
    ### Motivation and Context
    `macos-latest` runners moved to macOS 14 running on arm64 hardware.
    This is breaking the macOS release pipeline.
    
    This PR rewrites the macOS release pipeline in 2 parts:
    - Build universal2 wheels on `macos-latest`
    - Test both arm64 & x86_64 parts of the universal2 wheel on
    `macos-latest`
    
    The x86_64 wheels have been removed as the universal2 ones can be used
    on x86_64.
    
    close #6105
    
    ---------
    
    Signed-off-by: Matthieu Darbois <mayeut@users.noreply.github.com>
    Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
    Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
    (cherry picked from commit 1529880)
    mayeut authored and cjvolzka committed May 2, 2024
    Configuration menu
    Copy the full SHA
    1fc5eb8 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. Fix input names for quantize/dequantize ONNX backend tests (#6122)

    ### Description
    #6123
    The input pb files for the following ONNX backend node tests have
    incorrect names that do not match the ONNX model:
    - test_dequantizelinear_uint4
    - test_dequantizelinear_int4
    - test_quantizelinear_e4m3fn
    - test_quantizelinear_e5m2
    - test_quantizelinear_uint4
    - test_quantizelinear_int4
    
    ### Motivation and Context
    The mismatch in input names causes issues when running these backend
    tests via ONNX Runtime.
    
    ---------
    
    Signed-off-by: Adrian Lizarraga <adlizarraga@microsoft.com>
    (cherry picked from commit 3bddb4d)
    adrianlizarraga authored and cjvolzka committed May 3, 2024
    Configuration menu
    Copy the full SHA
    00f1891 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

  1. fix(ci): install python dependencies with --only-binary :all: in ma…

    …nylinux (#6120)
    
    ### Description
    Only install python dependencies from wheels in manylinux.
    
    ### Motivation and Context
    The latest version of google-re2 dropped support for manylinux2014.
    google-re2 fails to build from sources thus failing the Linux release
    pipelines.
    
    This PR forces installation from wheels on manylinux which thus fallback
    on the latest version of google-re2 with a wheel for manylinux2014.
    
    Another solution would be to bump the manylinux images to manylinux_2_28
    but that could have impact on downstream users (e.g. impossible to
    install wheel from rh7, amazon linux 2, ubuntu 18.04).
    
    Signed-off-by: Matthieu Darbois <mayeut@users.noreply.github.com>
    Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
    (cherry picked from commit 9f6f3a0)
    mayeut authored and cjvolzka committed May 6, 2024
    Configuration menu
    Copy the full SHA
    e59d51c View commit details
    Browse the repository at this point in the history
  2. fix: install google-re2 with --only-binary option (#6129)

    ### Description
    
    Only install google-re2 from wheels.
    
    ### Motivation and Context
    
    The latest version of google-re2 dropped support for manylinux2014.
    google-re2 fails to build from sources thus failing the Linux release
    pipelines.
    
    This PR forces installation from wheels on manylinux which thus fallback
    on the latest version of google-re2 with a wheel for manylinux2014.
    It reverts #6120 which forced all
    dependencies to be available as wheels (psutil is not which forbids
    installing recent versions of jupyter/ipykernel).
    
    Another solution would be to bump the manylinux images to manylinux_2_28
    but that could have impact on downstream users (e.g. impossible to
    install wheel from rh7, amazon linux 2, ubuntu 18.04).
    
    Signed-off-by: Matthieu Darbois <mayeut@users.noreply.github.com>
    (cherry picked from commit aa2cdac)
    mayeut authored and cjvolzka committed May 6, 2024
    Configuration menu
    Copy the full SHA
    0559c8b View commit details
    Browse the repository at this point in the history

Commits on May 9, 2024

  1. Migrate CI to use Github Actions (#6075)

    Migrate CI to use Github Actions. Update Google Test to a newer version
    (some version in 2022). The latest commit has errors I don't know how to
    fix.
    
    Use `FetchContent` instead of `ExternalProject` to bring in googletest
    according to its documentation
    https://google.github.io/googletest/quickstart-cmake.html
    
    Fixes #6074 Fixes
    #6073
    
    ---------
    
    Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
    (cherry picked from commit 284b124)
    justinchuby authored and cjvolzka committed May 9, 2024
    Configuration menu
    Copy the full SHA
    84fe50a View commit details
    Browse the repository at this point in the history