[fx] support meta tracing for aten level computation graphs like functorch. (#1536)

* [fx] support meta tracing for aten level computation graphs like functorch.

* [fx] support meta tracing for aten level computation graphs like functorch.

* [fx] remove redundant import.

* [fx] add docstring.
This commit is contained in:
Super Daniel
2022-09-05 12:10:09 +08:00
committed by GitHub
parent 521078ffc9
commit 70129603aa
6 changed files with 107 additions and 7 deletions

View File

@@ -1,4 +1,9 @@
try:
from ._meta_registrations import *
except:
import torch
print(f'_meta_registrations seems to be incompatible with PyTorch {torch.__version__}.')
from .initialize import (initialize, launch, launch_from_openmpi, launch_from_slurm, launch_from_torch,
get_default_parser)
__version__ = '0.0.1'
__version__ = '0.1.9'