tensorflow / ngraph-bridge

TensorFlow-nGraph bridge
Other
137 stars 65 forks source link

Questions about performance tuning #801

Closed pinzhenx closed 3 years ago

pinzhenx commented 3 years ago

I'm tuning perf of a TF model with ngraph-bridge v0.22, and I have some initial questions about this project:

  1. There are two ways to register ngraph pass: a) optimization passes, b) grappler optimizer. It seems that the first method has been kind of deprecated (?). So what's the difference between these two?

  2. How much perf gain we could get by setting enable_variables_and_optimizers?

  3. How about the PlaidML op coverage of this version?

  4. Is there any general guide about tuning ngraph-tf performance (build flags, runtime configs, caveats to different workloads)?