Allow install.py to only install deps of specified models. (#631)
Summary:
This PR fixes the following problems of the main `install.py`:
- Crash if the model directory doesn't have `install.py` script (should skip instead, because when switching between branches, such as v1.0 and main, some directories will be remained there by git, such as fastNLP in v1.0 will stay as an empty folder after switching to main)
- Doesn't support installing a specific model
Pull Request resolved: https://github.com/pytorch/benchmark/pull/631
Reviewed By: aaronenyeshi
Differential Revision: D33023150
Pulled By: xuzhao9
fbshipit-source-id: e27abc0254787c2f54369644e93ae336538aafce