You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix FX Graph Cache issue in register_da8w4_concat_linear_cpu_pass (#2907)
* Fix FX Graph Cache issue in register_da8w4_concat_linear_cpu_pass
Fix the bug that the FX Graph Cache was being bypassed when using the
register_da8w4_concat_linear_cpu_pass, preventing cache hits on subsequent
model runs.
Implement DA8W4ConcatLinearCPUPass that inherits from CustomGraphPass.
Ensure it can be serialized and saved as fxgraph properly.
Add the unit test. When saving fxgraph, the fxgraph_cache_bypass shuold
remain at 0, confirming that the custom pass is no longer being rejected
by the cache system.
Signed-off-by: Cui, Yuxin <[email protected]>
* Modify the test description for test_da8w4_cpu
Modify the test description for test_da8w4_cpu.
Signed-off-by: Cui, Yuxin <[email protected]>
* Add more detailed comments
Signed-off-by: Cui, Yuxin <[email protected]>
---------
Signed-off-by: Cui, Yuxin <[email protected]>
0 commit comments