openclimatefix / ocf_datapipes

OCF's DataPipe based dataloader for training and inference
MIT License
13 stars 11 forks source link

Upgrade torch #113

Closed peterdudfield closed 1 year ago

peterdudfield commented 1 year ago

Pull Request

Description

upgrade torch use OCF zipper add some more debug statements

Fixes #81

How Has This Been Tested?

CI tests

Checklist:

codecov-commenter commented 1 year ago

Codecov Report

Merging #113 (c74e1e9) into main (169bc32) will decrease coverage by 0.01%. The diff coverage is 76.92%.

:exclamation: Current head c74e1e9 differs from pull request most recent head c7cfcd3. Consider uploading reports for the commit c7cfcd3 to get more accurate results

@@            Coverage Diff             @@
##             main     #113      +/-   ##
==========================================
- Coverage   79.33%   79.31%   -0.02%     
==========================================
  Files         107      107              
  Lines        4200     4260      +60     
==========================================
+ Hits         3332     3379      +47     
- Misses        868      881      +13     
Impacted Files Coverage Δ
ocf_datapipes/training/metnet_gsp_national.py 32.72% <0.00%> (ø)
ocf_datapipes/training/metnet_national.py 17.27% <0.00%> (ø)
ocf_datapipes/training/metnet_national_class.py 0.00% <0.00%> (ø)
ocf_datapipes/training/metnet_pv_national.py 18.86% <0.00%> (ø)
ocf_datapipes/training/simple_pv.py 100.00% <ø> (ø)
ocf_datapipes/transform/xarray/remove_nans.py 89.47% <33.33%> (ø)
ocf_datapipes/select/select_id.py 79.31% <66.66%> (-7.65%) :arrow_down:
ocf_datapipes/utils/utils.py 51.57% <66.66%> (+5.20%) :arrow_up:
ocf_datapipes/transform/xarray/normalize.py 86.84% <71.42%> (-1.40%) :arrow_down:
ocf_datapipes/batch/merge_numpy_modalities.py 100.00% <100.00%> (ø)
... and 17 more

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