TissueImageAnalytics / tiatoolbox

Computational Pathology Toolbox developed by TIA Centre, University of Warwick.
https://warwick.ac.uk/tia
Other
340 stars 71 forks source link

⚡️Refine `torch.compile` and Add to WSI Registration #800

Closed Abdol closed 3 weeks ago

Abdol commented 3 months ago

This mini-PR refines torch.compile implementation in TIAToolbox and adds the functionality to DFBRFeatureExtractor.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.89%. Comparing base (a767843) to head (646d3da).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## enhance-torch-compile #800 +/- ## ====================================================== Coverage 99.89% 99.89% ====================================================== Files 69 69 Lines 8603 8607 +4 Branches 1646 1647 +1 ====================================================== + Hits 8594 8598 +4 Misses 1 1 Partials 8 8 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Abdol commented 1 month ago

Due to a pytest error occurring in GitHub CI (not on my machine), I disabled automatically enabling torch.compile for compatible GPUs. I intend to re-add this feature as a separate PR for ModelABC.

Abdol commented 1 month ago

A kind follow up on reviewing this PR. Thanks in advance.