Apex: Segmentation fault...

Created on 21 Aug 2018  路  5Comments  路  Source: NVIDIA/apex

Ubuntu 18.04.1
Cuda 9.2
C++ 7.3.0
Python 3.6.5

nvidia/apex$ python setup.py install
Segmentation fault (core dumped)

Cheers
Pei

Most helpful comment

I successfully install the apex but face the segmentation fault when training.

So I check the installation again. I notice that I ignore the warning when installing apex. My bad.
Remember to update the gcc 4.x to gcc 5.x , which may also lead to segmentation fault

In a nutshell, the solution is
conda install -c psi4 gcc-5

All 5 comments

Are you using the most recent version of Apex? Top of tree apex is python-only, and the setup.py is extremely simple. If that's segfaulting, it's a strange issue.

Ubuntu 18.04.1
Cuda 9.2
C++ 7.3.0
Python 3.6.5

nvidia/apex$ python setup.py install
Segmentation fault (core dumped)

Cheers
Pei

i have the same problem
try
pip install --upgrade setuptools
it helps for me

I successfully install the apex but face the segmentation fault when training.

So I check the installation again. I notice that I ignore the warning when installing apex. My bad.
Remember to update the gcc 4.x to gcc 5.x , which may also lead to segmentation fault

In a nutshell, the solution is
conda install -c psi4 gcc-5

I successfully install the apex but face the segmentation fault when training.

So I check the installation again. I notice that I ignore the warning when installing apex. My bad.
Remember to update the gcc 4.x to gcc 5.x , which may also lead to segmentation fault

In a nutshell, the solution is
conda install -c psi4 gcc-5

Thank you!

I successfully install the apex but face the segmentation fault when training.

So I check the installation again. I notice that I ignore the warning when installing apex. My bad.
Remember to update the gcc 4.x to gcc 5.x , which may also lead to segmentation fault

In a nutshell, the solution is
conda install -c psi4 gcc-5

Does updating the gcc version affect other dependencies

Was this page helpful?
0 / 5 - 0 ratings