Lightning-AI / tutorials

Collection of Pytorch lightning tutorial form as rich scripts automatically transformed to ipython notebooks.
https://lightning-ai.github.io/tutorials
Apache License 2.0
290 stars 83 forks source link

Fine-Tuning Scheduler Tutorial Update for Lightning/PyTorch `2.4.0` #351

Closed speediedan closed 4 months ago

speediedan commented 4 months ago

Validated (locally) the Fine-Tuning Scheduler (FTS) tutorial for FTS/Lightning/PyTorch 2.4.0 (as of the recent 2.4.0 Lightning commit). (this PR is currently using 2.3.3 until Lightning and FTS 2.4.x are released)

The only minor changes in this PR are to explicitly set datasets trust_remote_code (which will be mandatory with Datasets 3.x) and to remove a reference to the now unsupported PT 2.0.x

Thank you for all your work and your consistently valuable contributions to the open-source ML community!

Before submitting

What does this PR do?

Updates the Fine-Tuning Scheduler tutorial to prepare for 2.4.0 tutorial publishing.

PR review

Anyone in the community is free to review the PR once the tests have passed. If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 🙃

codecov[bot] commented 4 months ago

Codecov Report

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

Project coverage is 70%. Comparing base (a01f01f) to head (9e1f233).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #351 +/- ## =================================== Coverage 70% 70% =================================== Files 2 2 Lines 441 441 =================================== Hits 307 307 Misses 134 134 ```