Move dep checks before fairseq imports in hubconf.py (fixes #3093) (#3104)
Move dep checks before fairseq imports in hubconf.py (fixes #3093) (#3104)

Summary: Pull Request resolved: https://github.com/pytorch/fairseq/pull/3104

Reviewed By: alexeib

Differential Revision: D25786013

Pulled By: myleott

fbshipit-source-id: 894b104f275573ce824d7f2318d043516f0e0c5c

pytorch/fairseq,pytorch/fairseq,pytorch/fairseq