mlcommons / GaNDLF

A generalizable application framework for segmentation, regression, and classification using PyTorch
https://gandlf.org
Apache License 2.0
158 stars 79 forks source link

Hardcoding pip version for workflows #887

Closed benmalef closed 3 months ago

benmalef commented 3 months ago

Brief description

This PR tries to fix the following error with the new version of pip(24.1.1). Latest pip (24.1, released on 06/20/2024) does not install omegaconf==2.1.0 due to non-standard metadata:

DEPRECATION: omegaconf 2.1.0 has a non-standard dependency specifier PyYAML>=5.1.*. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of omegaconf or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063

logging error

Solution

In this thread is the solution.
It is proposed to update the pip version in the files.

Proposed Changes

Temporarily, I have updated files to use pip 24.0 until this is fixed. The following are modified:

Checklist

github-actions[bot] commented 3 months ago

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

benmalef commented 3 months ago

Hi @sarthakpati, please review the PR.