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

CoreML: Aggregated changes to add all required ops for priority model #21472

Merged
merged 11 commits into from
Jul 25, 2024

Commits on Jul 24, 2024

  1. Changes to add all required ops for priority model

    - Add Concat (#21423)
    - Add DepthToSpace (#21426)
    - Add LeakyRelu (#21453)
    - Add test scripts (#21427)
    - Add ability to set coreml flags from python (#21434)
    
    Also updated partitioning utils to support dropping constant initializers from a ComputeCapability's inputs. We copy these to a CoreML model so don't need the originals. If they remain as inputs ORT can't free them as they appear to be in use.
    
    Misc changes
    - Fix SkipLayerNormFusion incorrectly setting `modified`
      - causes unnecessary loops of the L2 transformers
    skottmckay committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    aa990cb View commit details
    Browse the repository at this point in the history
  2. Fix QNN failure.

    Drop SkipLayerNormFusion change - need to investigate test failures.
    Update session state and allocation planner to handle ORT format models where an EP drops constant initializers.
    skottmckay committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    464c836 View commit details
    Browse the repository at this point in the history
  3. waste of time

    skottmckay committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    63b23fa View commit details
    Browse the repository at this point in the history
  4. merge

    skottmckay committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    664f37a View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

  1. Address PR comments.

    Refine the handling of initailizers that become unused in an ORT format model
    skottmckay committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    a1ac35e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bf5d3da View commit details
    Browse the repository at this point in the history
  3. Fix exclude

    skottmckay committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    dcf0c17 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    84854c8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    00de6e6 View commit details
    Browse the repository at this point in the history
  6. Fix python lint

    skottmckay committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    9193172 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e813409 View commit details
    Browse the repository at this point in the history