pytorch contributing compilation

  1. refer to this page to learn about the entire docs about contributing
    https://github.com/pytorch/pytorch/wiki/The-Ultimate-Guide-to-PyTorch-Contributions : Setup the developer environment

  2. need to pay attention

rm -rf build
git submodule deinit -f .
git clean -xdf
python setup.py clean
git submodule update --init --recursive # very important to sync the submodules
python setup.py develop                 # then try running the command again
  1. contributing reference table of contents
    https://github.com/pytorch/pytorch/blob/main/CONTRIBUTING.md
posted @ 2024-07-11 21:59  ijpq  阅读(27)  评论(0编辑  收藏  举报