PaddleX icon indicating copy to clipboard operation
PaddleX copied to clipboard

fix enable_new_ir not work

Open TingquanGao opened this issue 1 year ago • 1 comments

TingquanGao avatar Oct 18 '24 09:10 TingquanGao

Thanks for your contribution!

paddle-bot[bot] avatar Oct 18 '24 09:10 paddle-bot[bot]

The priority of enable_new_ir() is lower than that of FLAGS-enable_pir.api, which results in enable_new_ir() not working when FLAGS_enable_pir_api is set to 1, but by default FLAGS_enable_pir_api is 1. QA would manually set FLAGS_enable_pir_api to 0 to make enable_new_ir() effective.

TingquanGao avatar Oct 23 '24 08:10 TingquanGao