http://torch.ch

Related tags

torch7
Overview

Join the chat at https://gitter.im/torch/torch7 Build Status

Development Status

Torch is not in active developement. The functionality provided by the C backend of Torch, which are the TH, THNN, THC, THCUNN libraries is actively extended and re-written in the ATen C++11 library (source, mirror). ATen exposes all operators you would expect from torch7, nn, cutorch, and cunn directly in C++11 and includes additional support for sparse tensors and distributed operations. It is to note however that the API and semantics of the backend libraries in Torch-7 are different from the semantice provided by ATen. For example ATen provides numpy-style broadcasting while TH* dont. For information on building the forked Torch-7 libraries in C, refer to "The C interface" in pytorch/aten/src/README.md.

Need help?

Torch7 community support can be found at the following locations. As of 2019, the Torch-7 community is close to non-existent.

Torch Package Reference Manual

Torch is the main package in Torch7 where data structures for multi-dimensional tensors and mathematical operations over these are defined. Additionally, it provides many utilities for accessing files, serializing objects of arbitrary types and other useful utilities.

Torch Packages

  • Tensor Library
    • Tensor defines the all powerful tensor object that provides multi-dimensional numerical arrays with type templating.
    • Mathematical operations that are defined for the tensor object types.
    • Storage defines a simple storage interface that controls the underlying storage for any tensor object.
  • File I/O Interface Library
  • Useful Utilities
    • Timer provides functionality for measuring time.
    • Tester is a generic tester framework.
    • CmdLine is a command line argument parsing utility.
    • Random defines a random number generator package with various distributions.
    • Finally useful utility functions are provided for easy handling of torch tensor types and class inheritance.

Useful Links

Issues
  • Add support for compilation on Windows using mingw32

    Add support for compilation on Windows using mingw32

    This patch enables Torch7 compilation on Windows using mingw32 (or tdm-gcc with msys/msys2).

    The steps needed:

    1. Install torch/cwrap and torch/paths
    2. Run the following commands:
    cmake -E make_directory build
    cd build
    cmake .. -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=Release -DLUALIB=lua51.dll -DLUA_INCDIR="%LUA_INCDIR%" -DLUA_LIBDIR="%LUA_LIBDIR%" -DLUA="%LUA%"
    make
    

    Related ticket: #150. I've tested this under Windows 8.1 using msys2 and tdm-gcc-4.8, but it should work with other versions and configurations of mingw.

    opened by pkulchenko 190
  • [Roadmap] August 2015 - March 2016

    [Roadmap] August 2015 - March 2016

    Hey everyone.

    Over the last month or so, Ronan, Clement, Koray and I have been consolidating community and developer feedback, as well as thinking hard on the core design changes needed to keep Torch competitive and effective.

    We prepared a first draft of the roadmap, located here:

    https://github.com/torch/torch7/blob/master/ROADMAP.md

    Everyone is invited to read it, give their opinions, propose changes, and participate in making the roadmap more sensible in your eyes.

    We are extremely open to feedback and will incorporate any changes or additions that the majority think that are sensible.

    Looking forward to your suggestions.

    opened by soumith 59
  • Adding AVX Optimizations with Runtime Dispatch

    Adding AVX Optimizations with Runtime Dispatch

    Work in Progress.

    Initial work by Roberth Guthrie (@rguthrie3) and more additions ongoing by Keren Zhou (@jokeren)

    This speeds up our Tensor Math ops. On add, we have up to 11x speedup already, and more to come.

    opened by soumith 40
  • [Port] Portability problem introduced by THVector.c

    [Port] Portability problem introduced by THVector.c

    Check buildlog here: https://buildd.debian.org/status/package.php?p=lua-torch-torch7&suite=experimental#problem-1

    All architectures fails to build except for x86.

    opened by cdluminate 31
  • tensor:free() should only free underlying storage.

    tensor:free() should only free underlying storage.

    In Lua, explicitly calling :free() on a Tensor is currently buggy - it actually frees the THTensor struct itself in C, making any future reference to it invalid (leading to segfaults). This patch makes :free() only act on the referenced storage, but preserves the THTensor struct intact (and also maintains the ref counter to 1) — the result: the user can free a tensor-referenced storage from Lua, but the THTensor struct itself will always be handled by the GC.

    opened by clementfarabet 30
  • Added support for hashing tensors.

    Added support for hashing tensors.

    (note: this incorporates public domain code from https://github.com/andikleen/spooky-c to implement spooky hash).

    opened by jjh42 28
  • Memory leak when creating Tensors inside a for loop ?

    Memory leak when creating Tensors inside a for loop ?

    There might be a memory leak in the following (toy) example:

    for i=1,10000 do
      local a = torch.Tensor(10000):zero()
    end
    

    This allocates around 600MB of memory, and I can't free it afterwards, even after calling collectgarbage() several times. If I run this loop several times, more memory gets used and no way to get it back, unless closing luajit. If I add a collectgarbage() inside the for loop, everything works fine, but the loop takes 20x more time to complete.

    I understand that torch Tensors are allocated on C side, and that memory is freed when there is no more reference to the underlying data. I thought it could be a luajit problem, but using jit.off() didn't change anything.

    Any thoughts about that ? Or is the only solution to avoid Tensor creation at all price, reusing already created Tensors in situations like that ?

    opened by fmassa 23
  • torch/luarocks failing to fetch manifests

    torch/luarocks failing to fetch manifests

    Example Input: luarocks install nn

    Output:

    Warning: Failed searching manifest: Failed fetching manifest for https://raw.githubusercontent.com/torch/rocks/master - Failed downloading https://raw.githubusercontent.com/torch/rocks/master/manifest Warning: Failed searching manifest: Failed fetching manifest for https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master - Failed downloading https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/manifest

    Version: LuaRocks 2.2.0beta1

    opened by Dwood15 21
  • THAlloc/THRealloc attempt lua GC on failure

    THAlloc/THRealloc attempt lua GC on failure

    The Lua garbage collector isn't aware of torch-allocated memory, so it doesn't know when to run the GC and the user ends up having to call collectgarbage() manually from their script, or running out of memory.

    This PR lets THAlloc and THRealloc attempt lua GC if malloc/realloc fails.

    This idea is thanks to @colesbury, I just had some free time to implement it.

    To demonstrate, you can run the following

    require 'torch'
    for i=1,1000 do
      print(i)
      a = torch.FloatTensor(1000000000):zero()
    end
    

    This loop will run out of memory prior to this PR, but now the GC will be run.

    I'll add this to cutorch as will if this gets acepted.

    @soumith @andresy

    opened by adamlerer 21
  • Pass optional allocator to storage.

    Pass optional allocator to storage.

    Allows passing in an allocator as the first parameter when creating a storage.

    opened by dominikgrewe 20
  • Cannot install. Error: Unknown command: cask

    Cannot install. Error: Unknown command: cask

    Following steps at http://torch.ch/docs/getting-started.html

    After bash install-deps I get the following error: Error: Unknown command: cask

    brew --version Homebrew 3.1.6

    opened by ShivaliGoel 0
  • fix(docs): corrects typo in project README

    fix(docs): corrects typo in project README

    Scope of change is restricted to docs only. Change is in agreement with Standard American English.

    opened by plan-do-break-fix 0
  • build failed on AArch64, Fedora 33

    build failed on AArch64, Fedora 33

    [[email protected] build]$ make VERBOSE=1 -j1 /usr/bin/cmake -S/data/jw/torch7 -B/data/jw/torch7/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /data/jw/torch7/build/CMakeFiles /data/jw/torch7/build//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/data/jw/torch7/build' make -f lib/TH/CMakeFiles/TH.dir/build.make lib/TH/CMakeFiles/TH.dir/depend make[2]: Entering directory '/data/jw/torch7/build' cd /data/jw/torch7/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /data/jw/torch7 /data/jw/torch7/lib/TH /data/jw/torch7/build /data/jw/torch7/build/lib/TH /data/jw/torch7/build/lib/TH/CMakeFiles/TH.dir/DependInfo.cmake --color= make[2]: Leaving directory '/data/jw/torch7/build' make -f lib/TH/CMakeFiles/TH.dir/build.make lib/TH/CMakeFiles/TH.dir/build make[2]: Entering directory '/data/jw/torch7/build' make[2]: Nothing to be done for 'lib/TH/CMakeFiles/TH.dir/build'. make[2]: Leaving directory '/data/jw/torch7/build' [ 58%] Built target TH make -f lib/luaT/CMakeFiles/luaT.dir/build.make lib/luaT/CMakeFiles/luaT.dir/depend make[2]: Entering directory '/data/jw/torch7/build' cd /data/jw/torch7/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /data/jw/torch7 /data/jw/torch7/lib/luaT /data/jw/torch7/build /data/jw/torch7/build/lib/luaT /data/jw/torch7/build/lib/luaT/CMakeFiles/luaT.dir/DependInfo.cmake --color= make[2]: Leaving directory '/data/jw/torch7/build' make -f lib/luaT/CMakeFiles/luaT.dir/build.make lib/luaT/CMakeFiles/luaT.dir/build make[2]: Entering directory '/data/jw/torch7/build' make[2]: Nothing to be done for 'lib/luaT/CMakeFiles/luaT.dir/build'. make[2]: Leaving directory '/data/jw/torch7/build' [ 58%] Built target luaT make -f CMakeFiles/torch.dir/build.make CMakeFiles/torch.dir/depend make[2]: Entering directory '/data/jw/torch7/build' [ 58%] Generating random.c cd /data/jw/torch7 && /data/jw/torch7/random.lua /data/jw/torch7/build/random.c /bin/sh: /data/jw/torch7/random.lua: Permission denied make[2]: *** [CMakeFiles/torch.dir/build.make:85: random.c] Error 126 make[2]: Leaving directory '/data/jw/torch7/build' make[1]: *** [CMakeFiles/Makefile2:154: CMakeFiles/torch.dir/all] Error 2 make[1]: Leaving directory '/data/jw/torch7/build' make: *** [Makefile:149: all] Error 2 [[email protected] build]$

    opened by LutzWeischerFujitsu 0
  • tls_local_tensor_type_set can not find _C.pyd simplely?

    tls_local_tensor_type_set can not find _C.pyd simplely?

    [email protected]@[email protected]@[email protected]@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 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

    opened by pengguanjun 0
  • Unable to install torch7 on manjaro

    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).
    
    

    nvcc --version :

    nvcc: NVIDIA (R) Cuda compiler driver
    Copyright (c) 2005-2019 NVIDIA Corporation
    Built on Sun_Jul_28_19:07:16_PDT_2019
    Cuda compilation tools, release 10.1, V10.1.243
    

    cudnn version : 7.6

    This did not work:

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

    Please someone help me .

    opened by iLegolas 2
  • Installing Torch in google colab after upgrading cmake, previously worked fine but give me

    Installing Torch in google colab after upgrading cmake, previously worked fine but give me "Error: Build error: Failed building"

    -- Found CUDA with FP16 support, compiling with torch.CudaHalfTensor -- CUDA_NVCC_FLAGS: -D__CUDA_NO_HALF_OPERATORS__;-gencode;arch=compute_37,code=sm_37;-DCUDA_HAS_FP16=1 -- THC_SO_VERSION: 0 -- Performing Test HAS_LUAL_SETFUNCS -- Performing Test HAS_LUAL_SETFUNCS - Failed 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_LIBRARY (ADVANCED) linked by target "THC" in directory /content/Mydrive/torch/extra/cutorch/lib/THC

    -- Configuring incomplete, errors occurred! See also "/content/Mydrive/torch/extra/cutorch/build/CMakeFiles/CMakeOutput.log". See also "/content/Mydrive/torch/extra/cutorch/build/CMakeFiles/CMakeError.log".

    Error: Build error: Failed building.

    opened by emnabou 0
  • Decision to move to Python -- Why?

    Decision to move to Python -- Why?

    Dear torch dev's

    I have tried searching around for figuring out why you discontinued the Lua interface and moved to Python.

    In particular this has my interest since we also have a Lua interface, but are struggling a bit with end-users adapting it.

    So any thoughts on your switch that might be useful for the community who are in the (maybe?) same position as you were would be extremely helpful. Arguments, pros-cons, why Python, etc.. ;)

    Hope you'll take the time to answer!

    Thanks!

    opened by zerothi 1
  • Torch Installation Problems

    Torch Installation Problems

    I am having errors for the installation of TORCH on windows 10 both via conda and pip installation procedure. The below are errors I used to see when using the conda and the pip method. Please how do I install a TORCH successfully on my windows 10?

    ### 1. conda install torch Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve.

    PackagesNotFoundError: The following packages are not available from current channels:

    torch Current channels:

    https://repo.anaconda.com/pkgs/main/win-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/win-64 https://repo.anaconda.com/pkgs/r/noarch https://repo.anaconda.com/pkgs/msys2/win-64 https://repo.anaconda.com/pkgs/msys2/noarch To search for alternate channels that may provide the conda package you're looking for, navigate to

    https://anaconda.org and use the search bar at the top of the page.

    ### 2. pip install torch Collecting torch Using cached torch-0.1.2.post2.tar.gz (128 kB) Requirement already satisfied: pyyaml in c:\users\ncc\anaconda3\lib\site-packages (from torch) (5.3) Building wheels for collected packages: torch Building wheel for torch (setup.py) ... error ERROR: Command errored out with exit status 1: command: 'c:\users\ncc\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-3tvog4zh\torch\setup.py'"'"'; file='"'"'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-3tvog4zh\torch\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-wheel-18_df4kc' cwd: C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-3tvog4zh\torch Complete output (30 lines): running bdist_wheel running build running build_deps Traceback (most recent call last): File "", line 1, in File "C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-3tvog4zh\torch\setup.py", line 265, in description="Tensors and Dynamic neural networks in Python with strong GPU acceleration", File "c:\users\ncc\anaconda3\lib\site-packages\setuptools_init_.py", line 161, in setup return distutils.core.setup(**attrs) File "c:\users\ncc\anaconda3\lib\distutils\core.py", line 148, in setup dist.run_commands() File "c:\users\ncc\anaconda3\lib\distutils\dist.py", line 966, in run_commands self.run_command(cmd) File "c:\users\ncc\anaconda3\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "c:\users\ncc\anaconda3\lib\site-packages\wheel\bdist_wheel.py", line 223, in run self.run_command('build') File "c:\users\ncc\anaconda3\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "c:\users\ncc\anaconda3\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "c:\users\ncc\anaconda3\lib\distutils\command\build.py", line 135, in run self.run_command(cmd_name) File "c:\users\ncc\anaconda3\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "c:\users\ncc\anaconda3\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-3tvog4zh\torch\setup.py", line 51, in run from tools.nnwrap import generate_wrappers as generate_nn_wrappers ModuleNotFoundError: No module named 'tools.nnwrap' ERROR: Failed building wheel for torch Running setup.py clean for torch ERROR: Command errored out with exit status 1: command: 'c:\users\ncc\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-3tvog4zh\torch\setup.py'"'"'; file='"'"'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-3tvog4zh\torch\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' clean --all cwd: C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-3tvog4zh\torch Complete output (2 lines): running clean error: [Errno 2] No such file or directory: '.gitignore' ERROR: Failed cleaning build dir for torch Failed to build torch Installing collected packages: torch Running setup.py install for torch ... error ERROR: Command errored out with exit status 1: command: 'c:\users\ncc\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-3tvog4zh\torch\setup.py'"'"'; file='"'"'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-3tvog4zh\torch\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-record-hhnohi47\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\ncc\anaconda3\Include\torch' cwd: C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-3tvog4zh\torch Complete output (23 lines): running install running build_deps Traceback (most recent call last): File "", line 1, in File "C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-3tvog4zh\torch\setup.py", line 265, in description="Tensors and Dynamic neural networks in Python with strong GPU acceleration", File "c:\users\ncc\anaconda3\lib\site-packages\setuptools_init_.py", line 161, in setup return distutils.core.setup(**attrs) File "c:\users\ncc\anaconda3\lib\distutils\core.py", line 148, in setup dist.run_commands() File "c:\users\ncc\anaconda3\lib\distutils\dist.py", line 966, in run_commands self.run_command(cmd) File "c:\users\ncc\anaconda3\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-3tvog4zh\torch\setup.py", line 99, in run self.run_command('build_deps') File "c:\users\ncc\anaconda3\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "c:\users\ncc\anaconda3\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-3tvog4zh\torch\setup.py", line 51, in run from tools.nnwrap import generate_wrappers as generate_nn_wrappers ModuleNotFoundError: No module named 'tools.nnwrap'

    ERROR: Command errored out with exit status 1: 'c:\users\ncc\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-3tvog4zh\torch\setup.py'"'"'; file='"'"'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-3tvog4zh\torch\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-record-hhnohi47\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\ncc\anaconda3\Include\torch' Check the logs for full command output.

    opened by SulaimanSnoma 0
  • Segmentation Fault (core dumped) Prob

    Segmentation Fault (core dumped) Prob

    Whenever : require('torch') require('nn') I get a segfault message. What could be the cause of the problem?

    opened by DrDumbenstein 0
  • where is torch/csrc/autograd/generated/VariableType.h?

    where is torch/csrc/autograd/generated/VariableType.h?

    want some help, cant find it now

    opened by Ayanamiyui 1
Owner
Torch
Torch
C++ library for solving large sparse linear systems with algebraic multigrid method

AMGCL AMGCL is a header-only C++ library for solving large sparse linear systems with algebraic multigrid (AMG) method. AMG is one of the most effecti

Denis Demidov 419 Jun 10, 2021
C++ Empirical Transfer Function Estimate (ETFE) Similar to MATLAB tfestimate, pwelch, and cpsd

ETFE.hpp emulates MATLAB's tfestimate, pwelch, and cpsd functions. It calculates the experimental transfer function estimate between input x and output y txy, the power spectral densities pxx and pyy, and the cross spectral density pxy. By default, it behaves exactly as MATLAB's functions, and similarly can be provided with specified windows, overlap, and FFT sizes. The output has been tested to precisely match that of MATLAB's (see matlab\test.m).

Evan Pezent 17 May 27, 2021
Primary repository for the Trilinos Project

Trilinos Website | Documentation | Mailing List | Packages The Trilinos Project is an effort to develop algorithms and enabling technologies within an

Trilinos 640 Jun 14, 2021
C++ implementation of the Python Numpy library

NumCpp: A Templatized Header Only C++ Implementation of the Python NumPy Library

David Pilger 1.7k Jun 12, 2021