facebookresearch / vissl

VISSL is FAIR's library of extensible, modular and scalable components for SOTA Self-Supervised Learning with images.
https://vissl.ai
MIT License
3.25k stars 331 forks source link

VISSL: make hydra version checking more robust #449

Closed pixelb closed 2 years ago

pixelb commented 2 years ago

Summary: Upstream hydra now is at "1.2.0dev1" which the last component throws an exception with the current parsing scheme. Here we restrict to the numeric portion which should suffice. Another option may be to depend on packaging.version.parse().

Differential Revision: D31557803

facebook-github-bot commented 2 years ago

This pull request was exported from Phabricator. Differential Revision: D31557803