NVIDIA / NVIDIA/apex

Apex failing to import name rnn_compat

Open
#496 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.