torch / distro

Torch installation in a self-contained folder
BSD 3-Clause "New" or "Revised" License
555 stars 481 forks source link

Support build torch7 on windows #169

Closed howard0su closed 7 years ago

howard0su commented 7 years ago

Get torch, optim, nn, xlua and their dependency works. largely based on existing windows script.

Tested on Windows 10

howard0su commented 7 years ago

This is still ongoing effort. At least this patch addressed the problems:

  1. avoid reinstall every dependency when running installdep_win.bat
  2. build many packages expect a) trepl: need one patch to support libedit. or we need find another implementation of readline on Windows. https://github.com/howard0su/trepl/commit/e14fd5ee668a30634998e2f7d48e9fb71b53e884
b) luaffifb: already a pull request there to support Windows

c) the following packages should be useful enough: torch, optim, nn, xlua and their dependency.

the next step is getting more packages build include cuXXX packages and evaluate performance.