NVIDIA / NVIDIA/apex

scaled_upper_triang_masked_softmax_cuda: undefined symbol

Open
#1,677 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
9k
Forks
1.5k
Avg merge
2d 4h
Merged PRs (30d)
3

Description

Hello, I have this issue:

  File "<frozen importlib._bootstrap>", line 583, in module_from_spec
  File "<frozen importlib._bootstrap_external>", line 1043, in create_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: .../megatron/fused_kernels/build/scaled_upper_triang_masked_softmax_cuda.so: undefined symbol: _ZN3c106detail19maybe_wrap_dim_slowEllb

My configuration:

apex                     0.1
torch                    1.11.0+cu113
torchaudio               0.11.0+cu113
torchfile                0.1.0
torchvision              0.12.0+cu113
ubuntu                   18.04
gcc                      7.5.0

I will be glad for any help!

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

Start with the reported import failure for megatron/fused_kernels/build/scaled_upper_triang_masked_softmax_cuda.so and compare the listed PyTorch 1.11.0+cu113, Apex 0.1, Ubuntu 18.04, and GCC 7.5.0 versions. Done means the extension imports without the undefined-symbol error, with the required compatibility or reproduction details recorded.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, python, pytorch
Domain
build-system, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.