I am going through the documentation of recently released FX module to Pytorch release 1.10.
Can someone explain what does “pass writers” mean in this context?
FX is a toolkit for pass writers to facilitate Python-to-Python transformation of nn.Module
instances.
I tried looking up the term “pass writers” with no relevant result that can tie it back to FX module.
https://github.com/pytorch/pytorch/blob/master/torch/fx/OVERVIEW.md
Thanks!
jfix
(Jordan Fix)
November 2, 2021, 9:36pm
2
It’s just meant to reference a person (a “writer”) who writes some transformation (a “pass”) for the FX IR. E.g. relevant wiki page on a compiler that does multiple passes:
A multi-pass compiler is a type of compiler that processes the source code or abstract syntax tree of a program several times. This is in contrast to a one-pass compiler, which traverses the program only once. Each pass takes the result of the previous pass as the input, and creates an intermediate output. In this way, the (intermediate) code is improved pass by pass, until the final pass produces the final code.
Multi-pass compilers are sometimes called wide compilers,[citation needed] referrin...
1 Like
Appreciate your ELI5 explanation, @jfix ! Thank you.