Fix several bugs in the bisection script. (#628)
Summary:
This PR improves the bisector:
1. Use "main" branch instead of "master"
2. If pytorch build fails, delete the build directory, and retry
3. Enable XNNPACK, disable TEST in build
4. Cleanup all the staled packages before building the new commit.
Pull Request resolved: https://github.com/pytorch/benchmark/pull/628
Reviewed By: erichan1
Differential Revision: D33002572
Pulled By: xuzhao9
fbshipit-source-id: 2ef7730eb1f841183dbf37cf5d2ac47a036a4d4c