Building with cpp and cuda causes distrbuted to crash
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 9k
- Forks
- 1.5k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 3
Description
Hi,
I can successfully build and use python only apex however when I compile with cpp and cuda, the compilation is successful but the simple example crashes with the error.
File "//anaconda3/lib/python3.7/site-packages/torch/distributed/launch.py", line 235, in
main()
File "//anaconda3/lib/python3.7/site-packages/torch/distributed/launch.py", line 231, in main cmd=process.args)subprocess.CalledProcessError: Command '['//bin/python', '-u', 'distributed_data_parallel.py', '--local_rank=0']' died with <Signals.SIGSEGV: 11>.
or is it the case the case for pytorch > 4.0, we should not be building with cuda_ext and cpp_ext and simple python is sufficient.
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 by reproducing the crash with the cpp and CUDA build using the mentioned distributed_data_parallel.py example, then compare it with the Python-only build. Read the torch.distributed.launch traceback and determine whether the supported build configuration is documented. Done means identifying the cause or documenting the correct build requirements.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python, pytorch
- Domain
- build-system, distributed-systems, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100