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
'Linux > Error' 카테고리의 다른 글
ModuleNotFoundError: No module named 'skimage' (0) | 2023.07.20 |
---|---|
ValueError: too many values to unpack (0) | 2023.07.04 |
ModuleNotFoundError: No module named 'sacrebleu' (1) | 2023.06.28 |
ModuleNotFoundError: No module named 'sklearn' (0) | 2023.06.28 |
Reinstall missing kernel modules (0) | 2023.06.27 |
댓글