https://github.com/hughperkins/torch-modder-notes
Notes for torch maintainers/modders
https://github.com/hughperkins/torch-modder-notes
Last synced: 3 months ago
JSON representation
Notes for torch maintainers/modders
- Host: GitHub
- URL: https://github.com/hughperkins/torch-modder-notes
- Owner: hughperkins
- License: mit
- Created: 2016-03-29T23:34:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-29T23:41:54.000Z (over 9 years ago)
- Last Synced: 2025-03-30T22:14:51.041Z (7 months ago)
- Size: 2.93 KB
- Stars: 10
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# torch-modder-notes
Notes for torch maintainers/modders
# High-level concepts / tweaks / gotchas
## cutorch/cunn
* Be sure to `luarocks install FindCUDA` prior to doing any cutorch/cunn/cu-other-stuff development. This will
mean that builds are incremental, rather than recompiling the entire project each time
## rpath
* For Mac OS X, Travis will happily run things just fine, even if you havent configured RPATH, by virtue
of the `LD_LIBRARY_PATH` and `DYLD_LIBRARY_PATH` settings in `torch-activate`. If you want to replicate
behavior on a real Mac, which includes [System Integrity Protection](https://support.apple.com/en-us/HT204899)
activated by default, unset
`LD_LIBRARY_PATH` and `DYLD_LIBRARY_PATH` in travis build, and you can reproduce the weird bugs your
users are probably having, and then fix them.
# Detailed code analysis
This is a "bit" out-of-date, but might provide some pointers. Or you can update it, and submit a pull
request :-)
- [torch code analysis](torch-dev-notes.md)