We are still encountering the warning about default g++ parameters,
but in a slightly different context.

The hardware is a fresh Jetson TX1 flash of Jetpack 2.3.  Theano
0.9.0.dev2 and Lasagne 0.2.dev1 are successfully (as far as we know)
installed.  .Theanorc is set appropriately for gpu and float 32.  We
are trying to run the basic mnist test of lasagne, as seen here:

Once the warning passes, the code DOES run on the GPU, so that isn't
the problem, but warning is worrisome.  There is nothing to compare
against to find out if our performance is really suffering.

As far as we can tell, the following line (line 259) is what actually
triggers the warning, but we don't understand why:

    prediction = lasagne.layers.get_output(network)

The lengthy warning, along with the first few lines of output, is:

Using gpu device 0: NVIDIA Tegra X1 (CNMeM is disabled, cuDNN 5105)
Loading data...
Building model and compiling functions...
WARNING (theano.gof.cmodule): OPTIMIZATION WARNING: Theano was not
able to find the default g++ parameters. This is needed to tune the
compilation to your specific CPU. This can slow down the execution of
Theano functions. Please submit the following lines to Theano's
mailing list so that we can fix this problem:
 ['# 1 "<stdin>"\n', '# 1 "<built-in>"\n', '# 1 "<command-line>"\n',
'# 1 "/usr/include/stdc-predef.h" 1 3 4\n', '# 1 "<command-line>"
2\n', '# 1 "<stdin>"\n', 'Using built-in specs.\n',
'COLLECT_GCC=/usr/bin/g++\n', 'Target: aarch64-linux-gnu\n',
"Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
--prefix=/usr --program-suffix=-5 --enable-shared
--enable-linker-build-id --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --libdir=/usr/lib
--enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object
--disable-libquadmath --enable-plugin --with-system-zlib
--disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-multiarch
--enable-fix-cortex-a53-843419 --disable-werror
--enable-checking=release --build=aarch64-linux-gnu
--host=aarch64-linux-gnu --target=aarch64-linux-gnu\n", 'Thread model:
posix\n', 'gcc version 5.4.0 20160609 (Ubuntu/Linaro
5.4.0-6ubuntu1~16.04.2) \n', "COLLECT_GCC_OPTIONS='-E' '-v'
'-shared-libgcc' '-mlittle-endian' '-mabi=lp64'\n", '
/usr/lib/gcc/aarch64-linux-gnu/5/cc1 -E -quiet -v -imultiarch
aarch64-linux-gnu - -mlittle-endian -mabi=lp64
-fstack-protector-strong -Wformat -Wformat-security\n', 'ignoring
nonexistent directory "/usr/local/include/aarch64-linux-gnu"\n',
'ignoring nonexistent directory
'#include "..." search starts here:\n', '#include <...> search starts
here:\n', ' /usr/lib/gcc/aarch64-linux-gnu/5/include\n', '
/usr/local/include\n', '
/usr/lib/gcc/aarch64-linux-gnu/5/include-fixed\n', '
/usr/include/aarch64-linux-gnu\n', ' /usr/include\n', 'End of search
"COLLECT_GCC_OPTIONS='-E' '-v' '-shared-libgcc' '-mlittle-endian'
Starting training...
Epoch 1 of 500 took 3.747s
  training loss:                1.216096
  validation loss:              0.407022
  validation accuracy:          88.43 %
Epoch 2 of 500 took 3.801s
  training loss:                0.568582
  validation loss:              0.307121
  validation accuracy:          91.07 %
Epoch 3 of 500 took 3.741s
  training loss:                0.464842
  validation loss:              0.265230
  validation accuracy:          92.27 %

John S. Novak, III


You received this message because you are subscribed to the Google Groups 
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to theano-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to