benchmark
dc353698 - Fix models on python 3.11 (#1950)

Commit
2 years ago
Fix models on python 3.11 (#1950) Summary: The CI is broken due to the recent default Python version upgrade. Hereby we: - Fix soft_actor_critic code change caused by upgrade of gym - Upgrade omegaconf version due to Python and numpy version upgrade - Upgrade detectron2 model version - Move fambench_xlmr to canary_models We are moving fambench_xlmr to canary_models because it depends on fairseq, and fairseq: 1. Depends on omegaconf < 2.1, which is not compatible with Python 3.11 (https://github.com/facebookresearch/fairseq/blob/main/setup.py#L183) 2. Detectron2, on the other hand, requires omegaconf >=2.1 < 2.4, so they can not co-exist. (https://github.com/facebookresearch/detectron2/blob/main/setup.py#L189) We should suggest the owner of fairseq to update their code to adapt to omegaconf >=2.1. Pull Request resolved: https://github.com/pytorch/benchmark/pull/1950 Reviewed By: davidberard98, msaroufim Differential Revision: D49785274 Pulled By: xuzhao9 fbshipit-source-id: e46f56c28359f8a38e09e2b90d8e07d19b68d58a
Author
Parents
Loading