profile
viewpoint
Sam Gross colesbury Facebook AI Research New York

adamlerer/pytorch-examples 5

Simple examples to introduce PyTorch

colesbury/dataloader_test 5

Tests performance of dataloader with multiprocessing vs. threads

colesbury/ccache 2

ccache - a fast compiler cache

colesbury/cpython 1

Semi-official read-only mirror of the CPython Mercurial repository

colesbury/abseil-cpp 0

Abseil Common Libraries (C++)

colesbury/analytics-ios 0

The hassle-free way to integrate analytics into any iOS application.

colesbury/android-libs 0

Libraries for Android

issue commenttorch/torch7

Decision to move to Python -- Why?

Python is much slower.

zerothi

comment created time in 21 hours

issue closedtorch/torch7

YOLO3 make error

I tried to build yolo3 model with the instructions of here. https://pjreddie.com/darknet/yolo/ . but when i change my make file for GPU configuration as follows and set all the paths in the makefile.

GPU=1 CUDNN=1 CUDNN_HALF=0 OPENCV=1 AVX=0 OPENMP=0 LIBSO=0 ZED_CAMERA=1 ZED_CAMERA_v2_8=0

But when I make it, the following error occurred. Can someone help me with this? used versions cuda 10 Opencv 4.4.0

chmod +x *.sh
nvcc -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=[sm_50,compute_50] -gencode arch=compute_52,code=[sm_52,compute_52] -gencode arch=compute_61,code=[sm_61,compute_61] -Iinclude/ -I3rdparty/stb/include -DOPENCV `pkg-config --cflags opencv4 2> /dev/null || pkg-config --cflags opencv` -DGPU -I/usr/lib/cuda/include -DCUDNN --compiler-options "-Wall -Wfatal-errors -Wno-unused-result -Wno-unknown-pragmas -fPIC -Ofast -DOPENCV -DGPU -DCUDNN -I/usr/local/cudnn/include -DZED_STEREO -I/usr/local/zed/include" -c ./src/convolutional_kernels.cu -o obj/convolutional_kernels.o
/usr/include/c++/8/utility(307): error: pack expansion does not make use of any argument packs

/usr/include/c++/8/utility(329): error: pack expansion does not make use of any argument packs

/usr/include/c++/8/utility(329): error: expected a ">"
          detected during instantiation of type "std::make_integer_sequence<std::size_t, _Num>" 
(340): here

3 errors detected in the compilation of "/tmp/tmpxft_00008ad9_00000000-10_convolutional_kernels.compute_61.cpp1.ii".
make: *** [Makefile:180: obj/convolutional_kernels.o] Error 1

closed time in a day

ShanakaRG

issue openedtorch/torch7

YOLO3 make error

I tried to build yolo3 model with the instructions of here. https://pjreddie.com/darknet/yolo/ . but when i change my make file for GPU configuration as follows and set all the paths in the makefile.

GPU=1 CUDNN=1 CUDNN_HALF=0 OPENCV=1 AVX=0 OPENMP=0 LIBSO=0 ZED_CAMERA=1 ZED_CAMERA_v2_8=0

But when I make it, the following error occurred. Can someone help me with this? used versions cuda 10 Opencv 4.4.0

chmod +x *.sh
nvcc -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=[sm_50,compute_50] -gencode arch=compute_52,code=[sm_52,compute_52] -gencode arch=compute_61,code=[sm_61,compute_61] -Iinclude/ -I3rdparty/stb/include -DOPENCV `pkg-config --cflags opencv4 2> /dev/null || pkg-config --cflags opencv` -DGPU -I/usr/lib/cuda/include -DCUDNN --compiler-options "-Wall -Wfatal-errors -Wno-unused-result -Wno-unknown-pragmas -fPIC -Ofast -DOPENCV -DGPU -DCUDNN -I/usr/local/cudnn/include -DZED_STEREO -I/usr/local/zed/include" -c ./src/convolutional_kernels.cu -o obj/convolutional_kernels.o
/usr/include/c++/8/utility(307): error: pack expansion does not make use of any argument packs

/usr/include/c++/8/utility(329): error: pack expansion does not make use of any argument packs

/usr/include/c++/8/utility(329): error: expected a ">"
          detected during instantiation of type "std::make_integer_sequence<std::size_t, _Num>" 
(340): here

3 errors detected in the compilation of "/tmp/tmpxft_00008ad9_00000000-10_convolutional_kernels.compute_61.cpp1.ii".
make: *** [Makefile:180: obj/convolutional_kernels.o] Error 1

created time in a day

issue openedtorch/cunn

CMake Error at THCUNN_generated_LookupTable.cu.o.cmake:267 (message):

when I tried to install the cunn through luarocks: luarocks make rocks/cunn-scm-1.rockspec, it occurs error:

/media/xxx/21EC3ABD229B0E60/project/cnncomplete-master/torch/cunn/lib/THCUNN/LookupTable.cu(32): error: identifier "__shfl" is undefined

/media/xxx/21EC3ABD229B0E60/project/cnncomplete-master/torch/cunn/lib/THCUNN/LookupTable.cu(49): warning: function "__any"
/usr/local/cuda/include/device_atomic_functions.h(178): here was declared deprecated ("__any() is not valid on compute_70 and above, and should be replaced with __any_sync().To continue using __any(), specify virtual architecture compute_60 when targeting sm_70 and above, for example, using the pair of compiler options: -arch=compute_60 -code=sm_70.")

1 error detected in the compilation of "/tmp/tmpxft_00002d60_00000000-6_LookupTable.cpp1.ii".
CMake Error at THCUNN_generated_LookupTable.cu.o.cmake:267 (message):
  Error generating file
  /media/xxx/21EC3ABD229B0E60/project/cnncomplete-master/torch/cunn/build/lib/THCUNN/CMakeFiles/THCUNN.dir//./THCUNN_generated_LookupTable.cu.o


lib/THCUNN/CMakeFiles/THCUNN.dir/build.make:8598: recipe for target 'lib/THCUNN/CMakeFiles/THCUNN.dir/THCUNN_generated_LookupTable.cu.o' failed
make[2]: *** [lib/THCUNN/CMakeFiles/THCUNN.dir/THCUNN_generated_LookupTable.cu.o] Error 1
CMakeFiles/Makefile2:130: recipe for target 'lib/THCUNN/CMakeFiles/THCUNN.dir/all' failed
make[1]: *** [lib/THCUNN/CMakeFiles/THCUNN.dir/all] Error 2
Makefile:148: recipe for target 'all' failed
make: *** [all] Error 2

and in LookupTable.cu

#if __CUDA_ARCH__ >= 300

  #pragma unroll
  for (int i = 1; i <= 16; i++)
  {
    dup |= (__shfl(val, (laneId + i) % 32) == val);    <- line 32
  }

#else

  volatile __shared__ int values[128];
  values[threadIdx.x] = val;
  const int offset = threadIdx.x - laneId;

  #pragma unroll
  for (int i = 1; i <= 16; i++)
  {
    dup |= (values[offset + ((laneId + i) % 32)] == val);
  }

#endif

created time in 5 days

issue commentpytorch/tnt

why first point in a different trace in module VisdomPlotLogger? Can we fix it?

Found workaround: specify the legend in opts when creating VisdomPlotLogger object.

plot_logger = VisdomPlotLogger("line", opts={'legend': ['x', 'y']})

pauking

comment created time in 12 days

issue commenttorch/nn

How to resume training from a certain epoch or how to update an already trained model in torch ?

Check this out https://debuggercafe.com/effective-model-saving-and-resuming-training-in-pytorch/ You can first save the checkpoint and reload when your want to resume training. Hope this helps.

maryam089

comment created time in 19 days

issue openedtorch/nn

Compatibility issues

Getting following errors: AttributeError: module 'torch.nn' has no attribute 'Identity' for old versions like PyTorch 0.4.1 AttributeError: 'torch.dtype' object has no attribute 'type' for latest versions like PyTorch 1.1.0

AttributeError: module 'torch.nn' has no attribute 'Identity' - It was added in PyTorch 1.1.0 so the solution is to upgrade to the latest version https://github.com/huggingface/transformers/issues/869

AttributeError: 'torch.dtype' object has no attribute 'type' downgrading to PyTorch 0.4.1 makes it work. https://github.com/facebookresearch/MUSE/issues/101

Facing compatibility issues.. How to use both in a single piece of code??

created time in 19 days

issue commenttorch/torch7

Cannot create state: not enough memory

same issue as well. Did you ever solve it?

jack-debug

comment created time in a month

issue openedtorch/torch7

tls_local_tensor_type_set can not find _C.pyd simplely?

?tls_local_tensor_type_set@impl@c10@@YA?AULocalTensorTypeSet@12@XZ于动态链接库 D:\Users\pgjgg\PycharmProjects\form2fit\venv\Lib\site-packages\torchvision_C.pyd上。

(venv) D:\Users\pgjgg\PycharmProjects\form2fit\form2fit\form2fit\code\gui>main.py D:/Users/pgjgg/PycharmProjects/form2fit/form2fit/form2fit/code/gui/ Traceback (most recent call last): File "D:\Users\pgjgg\PycharmProjects\form2fit\form2fit\form2fit\code\gui\main.py", line 422, in <module> window = Debugger(args) File "D:\Users\pgjgg\PycharmProjects\form2fit\form2fit\form2fit\code\gui\main.py", line 43, in init self._init_loader_and_network() File "D:\Users\pgjgg\PycharmProjects\form2fit\form2fit\form2fit\code\gui\main.py", line 61, in _init_loader_and_network background_subtract=config.BACKGROUND_SUBTRACT[self._foldername], KeyError: 'D:/Users/pgjgg/PycharmProjects/form2fit/form2fit/form2fit/code/gui/'

BNFO2$0FT{9X8XVC%9Z`PU8

created time in 2 months

issue commenttorch/torch7

Installation error with RTX 2080, CUDA 9.0, CUDNN 7.4 nvcc fatal : Unsupported gpu architecture 'compute_75'

@ha-lins @WanliXue @pablovicentem @nohboogy @zhangqijun Had the same problem and got to the bottom of it. My configuration is a Tesla T4 with 410.92 driver and CUDA 9.2, Ubuntu 18.10. The thing is, the torch installer tries for some reason to use the highest compute capability supported by the device (or the driver - not sure which), but ignores the compute capability supported by the CUDA toolkit. So, in my case the device supports compute capability 7.5, but CUDA 9.2 supports only 7.0 or 7.2 (not sure which one). You can guess I got the samenvcc fatal : Unsupported gpu architecture 'compute_75' The solution is to force the nvcc compile options to use a lower compute capability. This can be achieved by setting the following environment variable:

export TORCH_CUDA_ARCH_LIST="7.0"

Just before running ./install.sh from the torch directory. Note that the list may contain more than one compute capability, e.g. it can be "6.0 6.2 7.0 7.2". This will be reflected in the CUDA_NVCC_FLAGS -gencode arch=compute_70,code=sm_70 and those will be outputted to the terminal during the build.

I follow this solution but seem it does not work for me. I have tried other lower version, but still not working.

nohboogy

comment created time in 2 months

issue commenttorch/torch7

Unable to install torch7 on manjaro

Tried with this https://github.com/nagadomi/distro and it worked . Previously tried with the same repo but it did not worked . After reinstalling cmake and changing gcc version from 6 to 4.9 its working (I am not sure what was issue before).

iLegolas

comment created time in 3 months

issue openedtorch/torch7

Unable to install torch7 on manjaro

-- Looking for stddef.h - found
-- Check size of void*
-- Check size of void* - done
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_sequential - mkl_core - m]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_sequential - mkl_core - m]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl - guide - pthread - m]
--   Library mkl: not found
-- MKL library not found
-- Checking for [openblas]
--   Library openblas: /usr/lib/libopenblas.so
-- Looking for sgemm_
-- Looking for sgemm_ - found
-- Performing Test BLAS_F2C_DOUBLE_WORKS
-- Performing Test BLAS_F2C_DOUBLE_WORKS - Failed
-- Performing Test BLAS_F2C_FLOAT_WORKS
-- Performing Test BLAS_F2C_FLOAT_WORKS - Success
-- Performing Test BLAS_USE_CBLAS_DOT
-- Performing Test BLAS_USE_CBLAS_DOT - Success
-- Found a library with BLAS API (open).
-- Looking for cheev_
-- Looking for cheev_ - found
-- Found a library with LAPACK API. (open)
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for shm_open
-- Looking for shm_open - found
-- Looking for shm_unlink
-- Looking for shm_unlink - found
-- Looking for malloc_usable_size
-- Looking for malloc_usable_size - found
-- Performing Test C_HAS_THREAD
-- Performing Test C_HAS_THREAD - Success
CMake Deprecation Warning at lib/luaT/CMakeLists.txt:3 (CMAKE_POLICY):
  The OLD behavior for policy CMP0026 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Configuring done
-- Generating done
-- Build files have been written to: /home/stark/torch/pkg/torch/build
Scanning dependencies of target luaT
Scanning dependencies of target TH
[  2%] Building C object lib/luaT/CMakeFiles/luaT.dir/luaT.c.o
[  7%] Building C object lib/TH/CMakeFiles/TH.dir/THHalf.c.o
[  7%] Building C object lib/TH/CMakeFiles/TH.dir/THGeneral.c.o
[ 10%] Building C object lib/TH/CMakeFiles/TH.dir/THAllocator.c.o
[ 12%] Building C object lib/TH/CMakeFiles/TH.dir/THSize.c.o
[ 15%] Building C object lib/TH/CMakeFiles/TH.dir/THStorage.c.o
[ 17%] Building C object lib/TH/CMakeFiles/TH.dir/THTensor.c.o
[ 20%] Building C object lib/TH/CMakeFiles/TH.dir/THBlas.c.o
[ 23%] Building C object lib/TH/CMakeFiles/TH.dir/THLapack.c.o
[ 25%] Building C object lib/TH/CMakeFiles/TH.dir/THLogAdd.c.o
[ 28%] Building C object lib/TH/CMakeFiles/TH.dir/THRandom.c.o
[ 30%] Building C object lib/TH/CMakeFiles/TH.dir/THFile.c.o
[ 35%] Building C object lib/TH/CMakeFiles/TH.dir/THDiskFile.c.o
[ 35%] Building C object lib/TH/CMakeFiles/TH.dir/THMemoryFile.c.o
[ 38%] Building C object lib/TH/CMakeFiles/TH.dir/THAtomic.c.o
[ 41%] Building C object lib/TH/CMakeFiles/TH.dir/THVector.c.o
[ 43%] Building C object lib/TH/CMakeFiles/TH.dir/generic/simd/convolve.c.o
[ 46%] Building C object lib/TH/CMakeFiles/TH.dir/generic/simd/convolve5x5_sse.c.o
[ 48%] Building C object lib/TH/CMakeFiles/TH.dir/vector/AVX.c.o
[ 51%] Building C object lib/TH/CMakeFiles/TH.dir/generic/simd/convolve5x5_avx.c.o
[ 53%] Building C object lib/TH/CMakeFiles/TH.dir/vector/AVX2.c.o
[ 56%] Linking C shared library libluaT.so
[ 56%] Built target luaT
[ 58%] Linking C shared library libTH.so
[ 58%] Built target TH
[ 64%] Generating random.c
[ 64%] Generating TensorMath.c
Scanning dependencies of target torch
[ 69%] Building C object CMakeFiles/torch.dir/File.c.o
[ 69%] Building C object CMakeFiles/torch.dir/DiskFile.c.o
[ 71%] Building C object CMakeFiles/torch.dir/MemoryFile.c.o
[ 74%] Building C object CMakeFiles/torch.dir/PipeFile.c.o
[ 79%] Building C object CMakeFiles/torch.dir/Storage.c.o
[ 79%] Building C object CMakeFiles/torch.dir/Tensor.c.o
[ 82%] Building C object CMakeFiles/torch.dir/Timer.c.o
[ 84%] Building C object CMakeFiles/torch.dir/utils.c.o
[ 87%] Building C object CMakeFiles/torch.dir/init.c.o
[ 89%] Building C object CMakeFiles/torch.dir/TensorOperator.c.o
[ 92%] Building C object CMakeFiles/torch.dir/TensorMath.c.o
[ 94%] Building C object CMakeFiles/torch.dir/random.c.o
[ 97%] Building C object CMakeFiles/torch.dir/Generator.c.o
[100%] Linking C shared module libtorch.so
[100%] Built target torch
cd build && make install
[  5%] Built target luaT
[ 58%] Built target TH
[100%] Built target torch
Install the project...
-- Install configuration: "Release"
-- Installing: /home/stark/torch/install/share/cmake/torch/TorchExports.cmake
-- Installing: /home/stark/torch/install/share/cmake/torch/TorchExports-release.cmake
-- Installing: /home/stark/torch/install/share/cmake/torch/TorchConfig.cmake
-- Installing: /home/stark/torch/install/share/cmake/torch/TorchWrap.cmake
-- Installing: /home/stark/torch/install/share/cmake/torch/TorchPathsInit.cmake
-- Installing: /home/stark/torch/install/share/cmake/torch/TorchPackage.cmake
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lib/libtorch.so
-- Set runtime path of "/home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lib/libtorch.so" to "$ORIGIN/../lib:/home/stark/torch/install/lib"
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/init.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/File.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/Tensor.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/CmdLine.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/FFInterface.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/Tester.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/TestSuite.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/paths.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/test.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/README.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/utility.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/file.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/gather.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/diskfile.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/memoryfile.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/random.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/index.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/pipefile.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/timer.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/storage.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/cmdline.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/maths.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/tester.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/tensor.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/serialization.md
-- Installing: /home/stark/torch/install/lib/libTH.so.0
-- Set runtime path of "/home/stark/torch/install/lib/libTH.so.0" to "$ORIGIN/../lib"
-- Installing: /home/stark/torch/install/lib/libTH.so
-- Installing: /home/stark/torch/install/include/TH/TH.h
-- Installing: /home/stark/torch/install/include/TH/THAllocator.h
-- Installing: /home/stark/torch/install/include/TH/THMath.h
-- Installing: /home/stark/torch/install/include/TH/THBlas.h
-- Installing: /home/stark/torch/install/include/TH/THDiskFile.h
-- Installing: /home/stark/torch/install/include/TH/THFile.h
-- Installing: /home/stark/torch/install/include/TH/THFilePrivate.h
-- Installing: /home/stark/torch/install/include/TH/THGeneral.h
-- Installing: /home/stark/torch/install/include/TH/THGenerateAllTypes.h
-- Installing: /home/stark/torch/install/include/TH/THGenerateDoubleType.h
-- Installing: /home/stark/torch/install/include/TH/THGenerateFloatType.h
-- Installing: /home/stark/torch/install/include/TH/THGenerateHalfType.h
-- Installing: /home/stark/torch/install/include/TH/THGenerateLongType.h
-- Installing: /home/stark/torch/install/include/TH/THGenerateIntType.h
-- Installing: /home/stark/torch/install/include/TH/THGenerateShortType.h
-- Installing: /home/stark/torch/install/include/TH/THGenerateCharType.h
-- Installing: /home/stark/torch/install/include/TH/THGenerateByteType.h
-- Installing: /home/stark/torch/install/include/TH/THGenerateFloatTypes.h
-- Installing: /home/stark/torch/install/include/TH/THGenerateIntTypes.h
-- Installing: /home/stark/torch/install/include/TH/THLapack.h
-- Installing: /home/stark/torch/install/include/TH/THLogAdd.h
-- Installing: /home/stark/torch/install/include/TH/THMemoryFile.h
-- Installing: /home/stark/torch/install/include/TH/THRandom.h
-- Installing: /home/stark/torch/install/include/TH/THSize.h
-- Installing: /home/stark/torch/install/include/TH/THStorage.h
-- Installing: /home/stark/torch/install/include/TH/THTensor.h
-- Installing: /home/stark/torch/install/include/TH/THTensorApply.h
-- Installing: /home/stark/torch/install/include/TH/THTensorDimApply.h
-- Installing: /home/stark/torch/install/include/TH/THTensorMacros.h
-- Installing: /home/stark/torch/install/include/TH/THVector.h
-- Installing: /home/stark/torch/install/include/TH/THAtomic.h
-- Installing: /home/stark/torch/install/include/TH/THHalf.h
-- Installing: /home/stark/torch/install/include/TH/vector/AVX.h
-- Installing: /home/stark/torch/install/include/TH/vector/AVX2.h
-- Installing: /home/stark/torch/install/include/TH/generic/THBlas.c
-- Installing: /home/stark/torch/install/include/TH/generic/THBlas.h
-- Installing: /home/stark/torch/install/include/TH/generic/THLapack.c
-- Installing: /home/stark/torch/install/include/TH/generic/THLapack.h
-- Installing: /home/stark/torch/install/include/TH/generic/THStorage.c
-- Installing: /home/stark/torch/install/include/TH/generic/THStorage.h
-- Installing: /home/stark/torch/install/include/TH/generic/THStorageCopy.c
-- Installing: /home/stark/torch/install/include/TH/generic/THStorageCopy.h
-- Installing: /home/stark/torch/install/include/TH/generic/THTensor.c
-- Installing: /home/stark/torch/install/include/TH/generic/THTensor.h
-- Installing: /home/stark/torch/install/include/TH/generic/THTensorConv.c
-- Installing: /home/stark/torch/install/include/TH/generic/THTensorConv.h
-- Installing: /home/stark/torch/install/include/TH/generic/THTensorCopy.c
-- Installing: /home/stark/torch/install/include/TH/generic/THTensorCopy.h
-- Installing: /home/stark/torch/install/include/TH/generic/THTensorLapack.c
-- Installing: /home/stark/torch/install/include/TH/generic/THTensorLapack.h
-- Installing: /home/stark/torch/install/include/TH/generic/THTensorMath.c
-- Installing: /home/stark/torch/install/include/TH/generic/THTensorMath.h
-- Installing: /home/stark/torch/install/include/TH/generic/THTensorRandom.c
-- Installing: /home/stark/torch/install/include/TH/generic/THTensorRandom.h
-- Installing: /home/stark/torch/install/include/TH/generic/THVectorDispatch.c
-- Installing: /home/stark/torch/install/include/TH/generic/THVector.h
-- Installing: /home/stark/torch/install/share/cmake/torch/THConfig.cmake
-- Installing: /home/stark/torch/install/lib/libluaT.so.0
-- Set runtime path of "/home/stark/torch/install/lib/libluaT.so.0" to "$ORIGIN/../lib"
-- Installing: /home/stark/torch/install/lib/libluaT.so
-- Installing: /home/stark/torch/install/include/luaT.h
-- Installing: /home/stark/torch/install/share/cmake/torch/luaTConfig.cmake
Updating manifest for /home/stark/torch/install/lib/luarocks/rocks
torch scm-1 is now built and installed in /home/stark/torch/install/ (license: BSD)

Updating manifest for /home/stark/torch/install/lib/luarocks/rocks
dok scm-1 is now built and installed in /home/stark/torch/install/ (license: BSD)

gcc -O2 -fPIC -I/home/stark/torch/install/include -c utils.c -o utils.o
gcc -shared -o treplutils.so -L/home/stark/torch/install/lib utils.o
gcc -O2 -fPIC -I/home/stark/torch/install/include -c readline.c -o readline.o
gcc -shared -o readline.so -L/home/stark/torch/install/lib readline.o -lreadline
Updating manifest for /home/stark/torch/install/lib/luarocks/rocks
trepl scm-1 is now built and installed in /home/stark/torch/install/ (license: BSD)

Warning: unmatched variable LUALIB
cmake -E make_directory build && cd build && cmake .. -DLUALIB= -DCMAKE_BUILD_TYPE=Release  -DCMAKE_INSTALL_PREFIX="/home/stark/torch/install/lib/luarocks/rocks/sys/1.1-0" && make
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 4.9.4
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Torch7 in /home/stark/torch/install
-- Configuring done
-- Generating done
-- Build files have been written to: /home/stark/torch/pkg/sys/build
Scanning dependencies of target sys
[ 50%] Building C object CMakeFiles/sys.dir/sys.c.o
[100%] Linking C shared module libsys.so
[100%] Built target sys
cd build && make install
[100%] Built target sys
Install the project...
-- Install configuration: "Release"
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/sys/1.1-0/lib/libsys.so
-- Set runtime path of "/home/stark/torch/install/lib/luarocks/rocks/sys/1.1-0/lib/libsys.so" to "$ORIGIN/../lib:/home/stark/torch/install/lib"
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/sys/1.1-0/lua/sys/init.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/sys/1.1-0/lua/sys/colors.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/sys/1.1-0/lua/sys/fpath.lua
Updating manifest for /home/stark/torch/install/lib/luarocks/rocks
sys 1.1-0 is now built and installed in /home/stark/torch/install/ (license: BSD)

Updating manifest for /home/stark/torch/install/lib/luarocks/rocks
xlua 1.0-0 is now built and installed in /home/stark/torch/install/ (license: BSD)

Updating manifest for /home/stark/torch/install/lib/luarocks/rocks
moses 1.6.1-1 is now built and installed in /home/stark/torch/install/ (license: MIT <http://www.opensource.org/licenses/mit-license.php>)

cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/stark/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/stark/torch/install/lib/luarocks/rocks/nn/scm-1"  -DLUA_INCDIR="/home/stark/torch/install/include" -DLUA_LIBDIR="/home/stark/torch/install/lib" && make

CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 4.9.4
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Torch7 in /home/stark/torch/install
-- TH_LIBRARIES: TH
-- Found OpenMP_C: -fopenmp (found version "4.0") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.0")  
-- Compiling with OpenMP support
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    LUA_INCDIR
    LUA_LIBDIR


-- Build files have been written to: /home/stark/torch/extra/nn/build
Scanning dependencies of target THNN
[ 50%] Building C object lib/THNN/CMakeFiles/THNN.dir/init.c.o
[100%] Linking C shared module libTHNN.so
[100%] Built target THNN
cd build && make install
[100%] Built target THNN
Install the project...
-- Install configuration: "Release"
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Abs.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/AbsCriterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Add.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/AddConstant.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/BCECriterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/BatchNormalization.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Bilinear.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Bottle.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CAdd.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CAddTable.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CAddTensorTable.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CDivTable.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CMaxTable.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CMinTable.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CMul.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CMulTable.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CReLU.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CSubTable.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Clamp.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ClassNLLCriterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ClassSimplexCriterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Collapse.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Concat.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ConcatTable.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Constant.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Container.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Contiguous.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Convert.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Copy.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Cosine.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CosineDistance.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CosineEmbeddingCriterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Criterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CriterionTable.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CrossEntropyCriterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Decorator.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/DepthConcat.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/DistKLDivCriterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/DistanceRatioCriterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/DontCast.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/DotProduct.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Dropout.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ELU.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ErrorMessages.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Euclidean.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Exp.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/FlattenTable.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/GPU.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/GatedLinearUnit.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/GradientReversal.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/HardShrink.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/HardTanh.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/HingeEmbeddingCriterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Identity.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Index.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/IndexLinear.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Jacobian.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/JoinTable.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Kmeans.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/L1Cost.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/L1HingeEmbeddingCriterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/L1Penalty.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/LayerNormalization.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/LeakyReLU.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Linear.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/LinearWeightNorm.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Log.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/LogSigmoid.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/LogSoftMax.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/LookupTable.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MM.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MSECriterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MV.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MapTable.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MarginCriterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MarginRankingCriterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MaskedSelect.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Max.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Maxout.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Mean.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Min.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MixtureTable.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Module.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ModuleCriterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Mul.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MulConstant.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MultiCriterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MultiLabelMarginCriterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MultiLabelSoftMarginCriterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MultiMarginCriterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/NaN.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Narrow.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/NarrowTable.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Normalize.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/OneHot.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/PReLU.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Padding.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/PairwiseDistance.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Parallel.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ParallelCriterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ParallelTable.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/PartialLinear.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/PixelShuffle.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Power.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/PrintSize.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Profile.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/RReLU.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ReLU.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ReLU6.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Replicate.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Reshape.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Select.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SelectTable.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Sequential.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Sigmoid.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SmoothL1Criterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SoftMarginCriterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SoftMax.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SoftMin.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SoftPlus.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SoftShrink.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SoftSign.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SparseJacobian.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SparseLinear.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialAdaptiveAveragePooling.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialAdaptiveMaxPooling.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialAutoCropMSECriterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialAveragePooling.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialBatchNormalization.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialClassNLLCriterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialContrastiveNormalization.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialConvolution.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialConvolutionLocal.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialConvolutionMM.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialConvolutionMap.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialCrossMapLRN.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialDepthWiseConvolution.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialDilatedConvolution.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialDilatedMaxPooling.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialDivisiveNormalization.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialDropout.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialFractionalMaxPooling.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialFullConvolution.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialFullConvolutionMap.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialLPPooling.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialLogSoftMax.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialMaxPooling.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialMaxUnpooling.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialReflectionPadding.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialReplicationPadding.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialSoftMax.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialSubSampling.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialSubtractiveNormalization.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialUpSamplingBilinear.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialUpSamplingNearest.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialZeroPadding.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SplitTable.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Sqrt.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Square.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Squeeze.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/StochasticGradient.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Sum.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/THNN.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/THNN_h.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Tanh.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/TanhShrink.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/TemporalConvolution.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/TemporalDynamicKMaxPooling.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/TemporalMaxPooling.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/TemporalRowConvolution.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/TemporalSubSampling.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Threshold.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Transpose.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Unsqueeze.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/View.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricAveragePooling.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricBatchNormalization.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricConvolution.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricDilatedConvolution.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricDilatedMaxPooling.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricDropout.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricFractionalMaxPooling.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricFullConvolution.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricMaxPooling.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricMaxUnpooling.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricReplicationPadding.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/WeightNorm.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/WeightedEuclidean.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/WeightedMSECriterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/WhiteNoise.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ZeroGrad.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ZipTable.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ZipTableOneToMany.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/hessian.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/init.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/test.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/utils.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/criterion.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/transfer.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/softmin.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/lena.jpg
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/sshrink.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/htanh.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/rrelu.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/hshrink.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/softsign.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/softmax.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/sigmmoid.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/elu.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/logsoftmax.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/power.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/logsigmoid.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/prelu.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/exp.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/tanh.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/lenap.jpg
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/relu.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/sqrt.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/abs.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/softplus.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/square.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/sigmoid.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/relu6.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/containers.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/simple.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/index.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/module.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/table.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/overview.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/testing.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/convolution.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/training.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/README.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lib/libTHNN.so
-- Set runtime path of "/home/stark/torch/install/lib/luarocks/rocks/nn/scm-1/lib/libTHNN.so" to "$ORIGIN/../lib:/home/stark/torch/install/lib"
-- Installing: /home/stark/torch/install/include/THNN/THNN.h
-- Installing: /home/stark/torch/install/include/THNN/generic/THNN.h
Updating manifest for /home/stark/torch/install/lib/luarocks/rocks
nn scm-1 is now built and installed in /home/stark/torch/install/ (license: BSD)

cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/stark/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/stark/torch/install/lib/luarocks/rocks/graph/scm-1" && make
   
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 4.9.4
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Torch7 in /home/stark/torch/install
-- Configuring done
-- Generating done
-- Build files have been written to: /home/stark/torch/extra/graph/build
cd build && make install
Install the project...
-- Install configuration: "Release"
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/graph/scm-1/lua/graph/Edge.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/graph/scm-1/lua/graph/Node.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/graph/scm-1/lua/graph/graphviz.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/graph/scm-1/lua/graph/init.lua
Updating manifest for /home/stark/torch/install/lib/luarocks/rocks
graph scm-1 is now built and installed in /home/stark/torch/install/ (license: UNKNOWN)

cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/stark/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/stark/torch/install/lib/luarocks/rocks/nngraph/scm-1" && make
   
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 4.9.4
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Torch7 in /home/stark/torch/install
-- Configuring done
-- Generating done
-- Build files have been written to: /home/stark/torch/extra/nngraph/build
cd build && make install
Install the project...
-- Install configuration: "Release"
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/JustElement.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/JustTable.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/ModuleFromCriterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/gmodule.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/graphinspecting.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/init.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/nest.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/nesting.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/node.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/simple_print.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/utils.lua
Updating manifest for /home/stark/torch/install/lib/luarocks/rocks
nngraph scm-1 is now built and installed in /home/stark/torch/install/ (license: UNKNOWN)

Warning: unmatched variable LUALIB
cmake -E make_directory build && cd build && cmake .. -DLUALIB= -DLUA_INCDIR="/home/stark/torch/install/include" -DLUA_LIBDIR="/home/stark/torch/install/lib"  -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/stark/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0" && make
   
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 4.9.4
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Torch7 in /home/stark/torch/install
-- Found JPEG: /usr/lib/libjpeg.so (found version "80") 
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") 
-- Found PNG: /usr/lib/libpng.so (found version "1.6.37") 
-- Found OpenMP_C: -fopenmp (found version "4.0") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.0")  
-- Compiling with OpenMP support
-- Looking for jpeg_mem_src
-- Looking for jpeg_mem_src - found
-- Looking for jpeg_mem_dest
-- Looking for jpeg_mem_dest - found
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    LUA_INCDIR
    LUA_LIBDIR


-- Build files have been written to: /home/stark/torch/pkg/image/build
Scanning dependencies of target image
[ 12%] Building C object CMakeFiles/image.dir/image.c.o
[ 25%] Linking C shared module libimage.so
[ 25%] Built target image
Scanning dependencies of target lua_png
[ 37%] Building C object CMakeFiles/lua_png.dir/png.c.o
[ 50%] Linking C shared module liblua_png.so
[ 50%] Built target lua_png
Scanning dependencies of target jpeg
[ 62%] Building C object CMakeFiles/jpeg.dir/jpeg.c.o
[ 75%] Linking C shared module libjpeg.so
[ 75%] Built target jpeg
Scanning dependencies of target ppm
[ 87%] Building C object CMakeFiles/ppm.dir/ppm.c.o
[100%] Linking C shared module libppm.so
[100%] Built target ppm
cd build && make install
[ 25%] Built target image
[ 50%] Built target lua_png
[ 75%] Built target jpeg
[100%] Built target ppm
Install the project...
-- Install configuration: "Release"
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libppm.so
-- Set runtime path of "/home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libppm.so" to "$ORIGIN/../lib:/home/stark/torch/install/lib"
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libjpeg.so
-- Set runtime path of "/home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libjpeg.so" to "$ORIGIN/../lib:/home/stark/torch/install/lib"
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/liblua_png.so
-- Set runtime path of "/home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/liblua_png.so" to "$ORIGIN/../lib:/home/stark/torch/install/lib"
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libimage.so
-- Set runtime path of "/home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libimage.so" to "$ORIGIN/../lib:/home/stark/torch/install/lib"
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/init.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/win.ui
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/test.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/grace_hopper_512.jpg
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/fabio.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/corrupt-ihdr.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/gray3x1.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/grace_hopper_512.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/fabio.jpg
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/P4.pbm
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/P5.pgm
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/P6.ppm
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/bmp-without-ext
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/rectangle.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/P2.pgm
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/gray16-1x2.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/rgb2x1.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/rgb16-2x1.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/foobar.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/README.md
Updating manifest for /home/stark/torch/install/lib/luarocks/rocks
image 1.1.alpha-0 is now built and installed in /home/stark/torch/install/ (license: BSD)

cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/stark/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0" && make
   
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 4.9.4
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Torch7 in /home/stark/torch/install
-- Configuring done
-- Generating done
-- Build files have been written to: /home/stark/torch/pkg/optim/build
cd build && make install
Install the project...
-- Install configuration: "Release"
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/ConfusionMatrix.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/Logger.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/adadelta.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/adagrad.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/adam.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/adamax.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/asgd.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/cg.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/checkgrad.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/cmaes.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/de.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/fista.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/init.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/lbfgs.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/lswolfe.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/nag.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/polyinterp.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/rmsprop.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/rprop.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/sgd.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc/intro.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc/image
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc/image/parameterflattening.svg.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc/image/parameterflattening.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc/image/parameterflattening.svg
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc/algos.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc/logger.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc/logger_plot.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/README.md
Updating manifest for /home/stark/torch/install/lib/luarocks/rocks
optim 1.0.5-0 is now built and installed in /home/stark/torch/install/ (license: BSD)

Found CUDA on your machine. Installing CUDA packages
Warning: unmatched variable LUALIB

jopts=$(getconf _NPROCESSORS_CONF)

echo "Building on $jopts cores"
cmake -E make_directory build && cd build && cmake .. -DLUALIB= -DLUA_INCDIR=/home/stark/torch/install/include -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS} -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/stark/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/stark/torch/install/lib/luarocks/rocks/cutorch/scm-1" && make -j$jopts install

Building on 12 cores
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 4.9.4
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Torch7 in /home/stark/torch/install
-- Found CUDA: /opt/cuda (found suitable version "10.1", minimum required is "6.5") 
-- Removing -DNDEBUG from compile flags
-- TH_LIBRARIES: TH
-- MAGMA not found. Compiling without MAGMA support
-- Automatic GPU detection failed. Building for common architectures.
-- Autodetected CUDA architecture(s): 3.0;3.5;5.0;5.2;6.0;6.1;6.1+PTX
-- got cuda version 10.1
-- Found CUDA with FP16 support, compiling with torch.CudaHalfTensor
-- CUDA_NVCC_FLAGS: -D__CUDA_NO_HALF_OPERATORS__;-gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_61,code=compute_61;-DCUDA_HAS_FP16=1
-- THC_SO_VERSION: 0
-- Performing Test HAS_LUAL_SETFUNCS
-- Performing Test HAS_LUAL_SETFUNCS - Failed
-- Configuring done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_cublas_device_LIBRARY (ADVANCED)
    linked by target "THC" in directory /home/stark/torch/extra/cutorch/lib/THC

-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.

Error: Build error: Failed building.

I am following this http://torch.ch/docs/getting-started.html guide to install .

gcc version: gcc (GCC) 4.9.4 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

cmake version :

cmake version 3.18.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).

This did not work:

./clean.sh
export TORCH_NVCC_FLAGS="-D__CUDA_NO_HALF_OPERATORS__"
./install.sh

Please someone help me . 

created time in 3 months

more