mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
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:
committed by
Facebook Github Bot
parent
deda05e59f
commit
529fc68df2
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user