nod-ai / SHARK-ModelDev

Unified compiler/runtime for interfacing with PyTorch Dynamo.
Apache License 2.0
94 stars 48 forks source link

[tracking] Eager execution support. #105

Open raikonenfnu opened 12 months ago

raikonenfnu commented 12 months ago

Pytorch v1.0 EagerMode

A small background from Pytorch's site on Eager Mode vs Graph/JIT/FX mode:

"PyTorch supports two execution modes [1]: eager mode and graph mode. In eager mode, operators in a model are immediately >executed as they are encountered. In contrast, in graph mode, operators are first synthesized into a graph, which will then be >compiled and executed as a whole. Eager mode is easier to use, more suitable for ML researchers, and hence is the default mode >of execution. On the other hand, graph mode typically delivers higher performance and hence is heavily used in production."

We'd like to introduce Pytorch v1.0's eager mode support on Turbine. To do such we'd need these features/tasks below:

:muscle: = help wanted

vivekkhandelwal1 commented 2 months ago

Hi @raikonenfnu, are we still working on this issue?