Skip to content

Conversation

@szmazurek
Copy link
Collaborator

Fixes #726

Proposed Changes

  • changed required numpy version to 1.25.0
  • changed allowed python versions to 3.9 and 3.10
  • modified the workflows and Dockerfiles configuration to build and test against python3.9

Checklist

  • I have read the CONTRIBUTING guide.
  • My PR is based from the current GaNDLF master .
  • Non-breaking change (does not break existing functionality): provide as many details as possible for any breaking change.
  • Function/class source code documentation added/updated.
  • Code has been blacked for style consistency.
  • If applicable, version information has been updated in GANDLF/version.py.
  • If adding a git submodule, add to list of exceptions for black styling in pyproject.toml file.
  • Usage documentation has been updated, if appropriate.
  • Tests added or modified to cover the changes; if coverage is reduced, please give explanation.
  • If customized dependency installation is required (i.e., a separate pip install step is needed for PR to be functional), please ensure it is reflected in all the files that control the CI, namely: python-test.yml, and all docker files [1,2,3].

- changed requirements in the setup.py to require proper Python and numpy versions
- the tests were ran for Python 3.9 and 3.10 versions, passed
- minor modifications in the code for numpy 1.25 type compatibility
- changed versions in worflows .yml files to 3.9
- changed versions in Dockerfiles to 3.9
- changed versions in mlcube configs to 3.9
- /build folder remains unchanged for now
- changed the ubuntu version to 20.04
- changed CUDA image to be compatibilie with ubuntu 20.04
@github-actions
Copy link
Contributor

github-actions bot commented Nov 9, 2023

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

@codecov
Copy link

codecov bot commented Nov 9, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (16f337e) 94.69% compared to head (5ba191e) 94.72%.

❗ Current head 5ba191e differs from pull request most recent head 25f90eb. Consider uploading reports for the commit 25f90eb to get more accurate results

Files Patch % Lines
GANDLF/cli/deploy.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #730      +/-   ##
==========================================
+ Coverage   94.69%   94.72%   +0.02%     
==========================================
  Files         117      117              
  Lines        8221     8221              
==========================================
+ Hits         7785     7787       +2     
+ Misses        436      434       -2     
Flag Coverage Δ
unittests 94.72% <66.66%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sarthakpati sarthakpati changed the title upgrade to python3.9/3.10 and numpy 1.25.0 Upgrade base python and numpy versions Nov 13, 2023
Copy link
Collaborator

@sarthakpati sarthakpati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor changes requested.

sarthakpati
sarthakpati previously approved these changes Nov 13, 2023
Copy link
Collaborator

@sarthakpati sarthakpati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sarthakpati sarthakpati disabled auto-merge November 14, 2023 15:56
@sarthakpati sarthakpati merged commit 4caedb5 into mlcommons:master Nov 14, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Nov 14, 2023
@szmazurek szmazurek deleted the feature/python_3_10_numpy_1_25 branch November 21, 2023 07:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New dependency versions (Pandas and PyTorch 2.0) need newer numpy

2 participants