Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix docs not showing error, remove circleci docs scripts (#105678)
Docs were not exiting with failure, for example https://github.com/pytorch/pytorch/actions/runs/5604612586/job/15184094038#step:9:1131 because the if statement returned 0 if we want to exit. Also get rid of the circleci scripts since they aren't used anywhere. Example error: ``` copying static files... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done build finished with problems, 1 warning. make: *** [Makefile:49: html] Error 1 + code=2 + '[' 2 -ne 0 ']' + set +x ========================= /opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/nn/parallel/comm.py:docstring of torch.nn.parallel.comm.scatter:1: WARNING: more than one target found for cross-reference 'Stream': torch.cuda.Stream, torch.cuda.streams.Stream, torch.cpu.Stream ========================= Docs build failed. If the failure is not clear, scan back in the log for any WARNINGS or for the line build finished with problems (tried to echo the WARNINGS above the ==== line) ========================= + return 2 + exit 0 ``` Pull Request resolved: #105678 Approved by: https://github.com/seemethere
- Loading branch information