Traceback (most recent call last):


 "build.py", line 3, in <module>

from torch.utils.ffi import create_extension


 "/home/crystal/anaconda3/lib/python3.6/site-packages/torch/utils/ffi/__init__.py", line 1, in <module>

raise ImportError("torch.utils.ffi is deprecated. Please use cpp extensions instead.")
ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "apex/__init__.py", line 2, in <module>

from . import amp


 "apex/amp/__init__.py", line 1, in <module>

from .amp import init, half_function, float_function, promote_function,\


 "apex/amp/amp.py", line 1, in <module>

from . import compat, rnn_compat, utils, wrap


 "apex/amp/rnn_compat.py", line 1, in <module>

from . import utils, wrap


 "apex/amp/wrap.py", line 4, in <module>

from . import rnn_compat
ImportError: cannot import name rnn_compat
