Hello,
When trying to execute the example here 4 PyTorch hangs indefinitely at the line
 x = F.relu(self.fc1(x))

This runs in virtual environment created by conda (using Python 3.6.5) and installed with
conda install pytorch-cpu torchvision-cpu -c pytorch

The virtual environment exports GCC 4.9.0 and glibc-2.14.1.
Here’s the output of the conda list command
# Name                    Version                   Build  Channel
ca-certificates           2018.03.07                    0
certifi                   2018.4.16                py36_0
cffi                      1.11.5           py36h9745a5d_0
freetype                  2.8                  hab7d2ae_1
intel-openmp              2018.0.0                      8
jpeg                      9b                   h024ee3a_2
libedit                   3.1                  heed3624_0
libffi                    3.2.1                hd88cf55_4
libgcc-ng                 7.2.0                hdf63c60_3
libgfortran-ng            7.2.0                hdf63c60_3
libpng                    1.6.34               hb9fc6fc_0
libstdcxx-ng              7.2.0                hdf63c60_3
libtiff                   4.0.9                h28f6b97_0
mkl                       2018.0.2                      1
mkl_fft                   1.0.1            py36h3010b51_0
mkl_random                1.0.1            py36h629b387_0
ncurses                   6.0                  h9df7e31_2
ninja                     1.8.2                h6bb024c_1
numpy                     1.14.2           py36hdbf6ddf_1
olefile                   0.45.1                   py36_0
openssl                   1.0.2o               h20670df_0
pillow                    5.1.0            py36h3deb7b8_0
pip                       10.0.1                   py36_0
pycparser                 2.18             py36hf9f622e_1
python                    3.6.5                hc3d631a_2
pytorch-cpu               0.4.0                py36_cpu_1    pytorch
readline                  7.0                  ha6073c6_4
setuptools                39.1.0                   py36_0
six                       1.11.0           py36h372c433_1
sqlite                    3.23.1               he433501_0
tk                        8.6.7                hc745277_3
torchvision-cpu           0.2.1                    py36_1    pytorch
wheel                     0.31.0                   py36_0
xz                        5.2.3                h5e939de_4
zlib                      1.2.11               ha838bed_2

Searching online suggests this hangs to be due to CUDA incompatibility issues, but I have no CUDA installed and am using the torch-cpu install. I also tried exporting
NO_CUDA=1 
CUDA_VISIBLE_DEVICES=

with no luck.
OS is CentOS 6.8 (no sudo access unfortunately)
Any ideas on what could be causing this?
Thanks!
S