Glow: [GraphOptimizer] Shouldn't there be an option to disable specific graph optimizations that are happening?

Created on 26 Mar 2019  路  2Comments  路  Source: pytorch/glow

I am looking at the _optimize()_ function and came across _optimizePool()_. I would like to have an option to disable this optimization. Is it a good Idea to add an command line option to disable this optimization?

Most helpful comment

To avoid duplicate issues, I am closing this issue as it appears to be a very much related/same to #1641.

All 2 comments

I think disabling optimizations via the command line isn't a direction we want to go -- e.g. it's not scalable at all, since other optimizations may want to be disabled too. Ideally it's something the backend would control through some mechanism -- this is related to https://github.com/pytorch/glow/issues/1641. I'd love for someone to take a swing at that issue if you're up for it.

To avoid duplicate issues, I am closing this issue as it appears to be a very much related/same to #1641.

Was this page helpful?
0 / 5 - 0 ratings