Texonom
Texonom
/
Engineering
Engineering
/Data Engineering/Artificial Intelligence/AI Development/AI Framework/Pytorch/Pytorch Architecture/
TorchDynamo
Search

TorchDynamo

Creator
Creator
Seonglae Cho
Created
Created
2023 Oct 29 7:39
Editor
Editor
Seonglae Cho
Edited
Edited
2024 Mar 5 15:59
Refs
Refs

Torch Dynamo traces torch API code and creates optimizable code blocks

Python to PyTorch's
Intermediate Representation
 

Runtimes

  • TensorRT
  • ONNX Runtime
 
 
github.com
https://github.com/kimbochen/md-blogs/tree/main/pytorch-systems-intro
TorchDynamo: An Experiment in Dynamic Python Bytecode Transformation
In Next Steps for PyTorch Compilers, we laid out a vision of deploying eager mode PyTorch to more production settings and investing in using compilers to make eager mode faster and easier to maintain. This move away from graph mode makes some things a lot harder. For example, simple fusions that cross operator boundaries are at first glance not possible without users modifying their models. Lazy Tensors is one way to recapture these optimization opportunities. However, because it exists b...
TorchDynamo: An Experiment in Dynamic Python Bytecode Transformation
https://dev-discuss.pytorch.org/t/torchdynamo-an-experiment-in-dynamic-python-bytecode-transformation/361
TorchDynamo: An Experiment in Dynamic Python Bytecode Transformation
 
 

Recommendations

Texonom
Texonom
/
Engineering
Engineering
/Data Engineering/Artificial Intelligence/AI Development/AI Framework/Pytorch/Pytorch Architecture/
TorchDynamo
Copyright Seonglae Cho