PiPPy icon indicating copy to clipboard operation
PiPPy copied to clipboard

use torchDynamo instead of tracing to get graph?

Open Jack47 opened this issue 2 years ago • 3 comments

hi guys, this project is awesome comparing with torch pipe, I have some models that are not supported by tracing. Would you guys have plan to support torchDynamo to get fx.graph?

torchDynamo creates this FX Graph through bytecode analysis and is designed to mix Python execution with compiled backends to get the best of both worlds: usability and performance.

Jack47 avatar Sep 06 '22 02:09 Jack47

Yes, definitely. We do plan to support torchdynamo as the frontend in the near future.

anj-s avatar Sep 06 '22 18:09 anj-s

Yes, definitely. We do plan to support torchdynamo as the frontend in the near future.

cool, glad to hear that, I will test it once released!

Jack47 avatar Sep 07 '22 04:09 Jack47

Hi @anj-s, is TorchDynamo support being worked on? I see dynamo mentioned in some of the code/comments under spmd/compiler and pippy/fx (and the pippy_dynamo.py example) but wasn't sure if the integration is a work in process or completed?

Happy to try contributing any missing pieces if you think that will be helpful!

Vatshank avatar Feb 28 '23 01:02 Vatshank