apache / submarine

Submarine is Cloud Native Machine Learning Platform.
https://submarine.apache.org/
Apache License 2.0
691 stars 254 forks source link

SUBMARINE-1372. Fix tensorflow 2.6.5 in CI always failed #1057

Closed cdmikechen closed 1 year ago

cdmikechen commented 1 year ago

What is this PR for?

Limit torch under 3.0.0 and fix mypy error

What type of PR is it?

Hot Fix

Todos

What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-1372

How should this be tested?

python CI

Screenshots (if appropriate)

Questions:

codecov[bot] commented 1 year ago

Codecov Report

Merging #1057 (9dc3c1f) into master (de303fa) will increase coverage by 0.04%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1057      +/-   ##
==========================================
+ Coverage   75.94%   75.98%   +0.04%     
==========================================
  Files         119      119              
  Lines        5000     5000              
==========================================
+ Hits         3797     3799       +2     
+ Misses       1203     1201       -2     
Flag Coverage Δ
python-integration 59.72% <100.00%> (+2.12%) :arrow_up:
python-unit 52.48% <0.00%> (ø)

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

Impacted Files Coverage Δ
...submarine/store/model_registry/sqlalchemy_store.py 97.09% <100.00%> (+0.82%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more