If code changed, you would have to rebuild at least the changed functions and whatever is depending on it.


The contributing docs 3 have some information about e.g. ccache etc., which are useful for contributing to PyTorch.