ModuleNotFoundError: No module named 'fused_layer_norm_cuda'
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 9k
- Forks
- 1.5k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 3
Description
When I am trying to use apex on server, an error occurred
ubuntu 16.04
python 3.7
pytorch 0.4.1
GPU V100
cuda 9.0
cudnn 7.1.2
def __init__(self, normalized_shape, eps=1e-5, elementwise_affine=True):
super(FusedLayerNorm, self).__init__()
global fused_layer_norm_cuda
fused_layer_norm_cuda= importlib.import_module("fused_layer_norm_cuda")
ModuleNotFoundError: No module named 'fused_layer_norm_cuda'
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
Start at the FusedLayerNorm.init entry point and the importlib.import_module("fused_layer_norm_cuda") call shown in the report. Reproduce the failure with the listed Ubuntu, Python, PyTorch, GPU, CUDA, and cuDNN versions, then inspect how the Apex installation provides this module. Done means FusedLayerNorm imports without ModuleNotFoundError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch, ubuntu
- Domain
- machine-learning, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100