mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-16 14:41:53 +00:00
[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:
@@ -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'
|
||||
|
Reference in New Issue
Block a user