Apex failing to import name rnn_compat
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 9k
- Forks
- 1.5k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 3
Description
Please let me know if you need more details but I am on ubuntu 16.04 and I am getting this error.
`Python 2.7.12 (default, Aug 22 2019, 16:36:40)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import apex
Traceback (most recent call last):
File "", line 1, in
File "apex/init.py", line 6, in
from . import amp
File "apex/amp/init.py", line 1, in
from .amp import init, half_function, float_function, promote_function,
File "apex/amp/amp.py", line 1, in
from . import compat, rnn_compat, utils, wrap
File "apex/amp/rnn_compat.py", line 1, in
from . import utils, wrap
File "apex/amp/wrap.py", line 4, in
from . import rnn_compat
ImportError: cannot import name rnn_compat`
Sorry about this not formatting correctly
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the import failure in the reported Ubuntu 16.04 and Python 2.7.12 environment, then read apex/init.py, apex/amp/amp.py, apex/amp/rnn_compat.py, and apex/amp/wrap.py in the traceback order. Done means importing apex succeeds without the reported ImportError, with the relevant behavior checked against the project's available tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100