finegrain-ai / refiners

A microframework on top of PyTorch with first-class citizen APIs for foundation model adaptation
https://refine.rs
MIT License
584 stars 43 forks source link

Fix typing issues coming from torch 2.4 version #397

Closed limiteinductive closed 1 month ago

limiteinductive commented 1 month ago

With the release of PyTorch 2.4, some typing changed, most notably: