Update docs with clean (#10819)

Summary:
Add tip about cleaning if installing ninja after a build.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/10819

Reviewed By: soumith

Differential Revision: D9480095

Pulled By: erikbrinkman

fbshipit-source-id: 96ae1387038afe6964a1bd1e2186468f6a5ea12f
This commit is contained in:
Erik Brinkman
2018-08-23 07:15:40 -07:00
committed by Facebook Github Bot
parent deda05e59f
commit 529fc68df2

View File

@ -182,6 +182,8 @@ information for the code in `torch/csrc`. More information at:
Python `setuptools` is pretty dumb, and always rebuilds every C file in a
project. If you install the ninja build system with `pip install ninja`,
then PyTorch will use it to track dependencies correctly.
If pytorch was already built, you will need to run `python setup.py clean` once
after installing ninja for builds to succeed.
#### Use CCache