Moving hypothesis and other installations to Docker (#47451)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/31136
This PR:
1. moves several installations to Docker from `test.sh` for both PyTorch and Caffe2
2. removes version fixing for numba and llvmlite as the issue linked has been resolved
Pull Request resolved: https://github.com/pytorch/pytorch/pull/47451
Reviewed By: walterddr
Differential Revision: D24791350
Pulled By: janeyx99
fbshipit-source-id: bf36cd419e30d9e02622ad7c7049fbc724c89579