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

Add verbose and optimization args for parity tests (Gelu, Layernorm, … #9

Merged
merged 1 commit into from
May 30, 2023

Commits on May 30, 2023

  1. Add verbose and optimization args for parity tests (Gelu, Layernorm, … (

    microsoft#14739)
    
    …GPT_Attention)
    
    Some EPs require that onnxruntime and optimum optimizations are turned
    off in order to run correctly. Allowing this option during test runs
    allows the EP and library to perform their own optimization and be more
    representative of actual use case conditions.
    
    Important for EPs like MIGraphX which require optimizations to be offer
    for certain operations
    
    <!-- Describe your changes. -->
    
    Allow flags to turn off optimizations and add verbose output to confirm
    which EP is being used for the inference run and validate fallbacks
    
    <!-- - Why is this change required? What problem does it solve?
    - If it fixes an open issue, please link to the issue here. -->
    
    Related to: microsoft#14702 & microsoft#14700
    
    ---------
    
    Signed-off-by: Ted Themistokleous <tthemist@amd.com>
    Co-authored-by: Ted Themistokleous <tthemist@amd.com>
    TedThemistokleous and TedThemistokleous committed May 30, 2023
    Configuration menu
    Copy the full SHA
    9a76201 View commit details
    Browse the repository at this point in the history