Skip to content

PFCCLab/mydynamo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Dynamo

Learning internals of torchdynamo

Notes

  • tinyvm.py is a very tiny script to demo a stack virtual machine that interpretes python bytecodes.
  • naive_transform.py is demostrating howto transform bytecodes of a + b to a * b + a + b by utilizing pep523.
  • paddle_fx_poc.py is a poc for creating a python IR for paddle python program by symbolic trace.

Development Setup

initial setup

python setup.py develop  # compiles C/C++ extension
python naive_transform.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published