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.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
_ffi | Loading commit data... | |
arith | Loading commit data... | |
autotvm | Loading commit data... | |
contrib | Loading commit data... | |
driver | Loading commit data... | |
exec | Loading commit data... | |
ir | Loading commit data... | |
micro | Loading commit data... | |
relay | Loading commit data... | |
rpc | Loading commit data... | |
runtime | Loading commit data... | |
target | Loading commit data... | |
te | Loading commit data... | |
tir | Loading commit data... | |
__init__.py | Loading commit data... | |
error.py | Loading commit data... | |
generic.py | Loading commit data... | |
testing.py | Loading commit data... |