본문 바로가기
Linux/Error

raise ProcessExitedException( torch.multiprocessing.spawn.ProcessExitedException: process 0 terminated with signal SIGSEGV

by 띰쥬 2023. 6. 28.
728x90
반응형
SMALL

[Error]

raise ProcessExitedException( torch.multiprocessing.spawn.ProcessExitedException: process 0 terminated with signal SIGSEGV

 

[Solution]

test : 

python -c 'from fairseq import libnat; print(libnat.suggested_ed2_path([[1, 2, 3, 4]], [[1, 3, 4, 5, 6]], 0))'

 

에러가 나면,

git clone https://github.com/pytorch/fairseq.git && cd fairseq
conda install gcc_linux-64 gxx_linux-64
pip install cython
python setup.py build_ext --inplace

위에 내용 실행 후,

 

test :

python -c 'from fairseq import libnat; print(libnat.suggested_ed2_path([[1, 2, 3, 4]], [[1, 3, 4, 5, 6]], 0))'

 

test 했을때 libnat.suggested_ed2_path([[1, 2, 3, 4]], [[1, 3, 4, 5, 6]], 0)가 나오면 완료.

 

 

728x90
반응형
LIST

댓글