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

[IR][TRANSFORM] Enable CopyOnWrite for TIR passes. #5309

Merged
merged 1 commit into from
Apr 12, 2020
Merged

Commits on Apr 11, 2020

  1. [IR][TRANSFORM] Enable CopyOnWrite for passes.

    This PR enables the copy on write optimizations passes:
    - Enable COW for IRModule both TIR and relay passes.
    - Enabled COW for PrimFunc in TIR passes.
    
    Need more thoughts into whether/how to enable COW
    for relay::Function, due to some function passes depend
    on the presence of IRModule for context information,
    and the std::move of the related function to nullptr
    might affect the related behavior.
    tqchen committed Apr 11, 2020
    Configuration menu
    Copy the full SHA
    b56862b View commit details
    Browse the repository at this point in the history