[go: nahoru, domu]

Skip to content

August 7 ExecutionEngine Port

gcatron edited this page Aug 7, 2019 · 1 revision

The ExecutionEngine has been ported to use the HostManager.

The issue tracking this is https://github.com/pytorch/glow/issues/3239.

As a result of this port there are some changes we wanted to call out.

  • The ExecutionEngine now owns a module, any functions to be run must be added to this module.
  • Compile() no longer takes a function, the compile method now compiles all functions in the module. As a side effect compile can only be called once without resetting the module.

For simple tests there should be minimal differences from before. This change allows our tests to exercise the whole runtime stack and has already been useful in identifying and fixing a few bugs.