diff options
author | Edward Z. Yang <ezyang@mit.edu> | 2017-06-14 06:04:45 -0400 |
---|---|---|
committer | Adam Paszke <adam.paszke@gmail.com> | 2017-06-14 12:04:45 +0200 |
commit | 9fd354e643b20a15e26e8fe5f0543d35ac0f91f8 (patch) | |
tree | b4127398d69f2cebda4fb0524287531d18c7e6ba /CONTRIBUTING.md | |
parent | c8e9bc493bf653c2744d944c60dc830c7ac2d0f1 (diff) | |
download | pytorch-9fd354e643b20a15e26e8fe5f0543d35ac0f91f8.tar.gz pytorch-9fd354e643b20a15e26e8fe5f0543d35ac0f91f8.tar.bz2 pytorch-9fd354e643b20a15e26e8fe5f0543d35ac0f91f8.zip |
More accurate build instructions based on @apaszke's comments. (#1800)
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r-- | CONTRIBUTING.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f3da120acb..6538064052 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -106,10 +106,11 @@ not very optimized for incremental rebuilds, this will actually be very slow. Far better is to only request rebuilds of the parts of the project you are working on: -- Working on `torch/csrc`? Run `python setup.py build_ext` to rebuild. +- Working on `torch/csrc`? Run `python setup.py develop` to rebuild + (NB: no `build` here!) - Working on `torch/lib/TH`, did not make any cmake changes, and just want to - see if it compiles? Run `(cd torch/lib/build/TH && make install -j40)`. This + see if it compiles? Run `(cd torch/lib/build/TH && make install -j$(getconf _NPROCESSORS_ONLN))`. This applies for any other subdirectory of `torch/lib`. **Warning: Changes you make here will not be visible from Python.** See below. |