pytorch / torchtune

PyTorch native finetuning library
https://pytorch.org/torchtune/main/
BSD 3-Clause "New" or "Revised" License
4.37k stars 446 forks source link

[WIP] Reducing eval vision tests runtime #2022

Closed SalmanMohammadi closed 6 days ago

SalmanMohammadi commented 1 week ago

Context

What is the purpose of this PR? Is it to

Please link to any issues this PR addresses.

Changelog

What are the changes made in this PR? *

Test plan

Please make sure to do each of the following if applicable to your PR. If you're unsure about any one of these just ask and we will happily help. We also have a contributing page for some guidance on contributing.

UX

If your function changed a public API, please add a dummy example of what the user experience will look like when calling it. Here is a docstring example and a tutorial example

pytorch-bot[bot] commented 1 week ago

:link: Helpful Links

:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/torchtune/2022

Note: Links to docs will display an error until the docs builds have been completed.

:heavy_exclamation_mark: 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

:white_check_mark: No Failures

As of commit bfedad229fd42ded8bac3fdf9e3cc1f4f6c3d77d with merge base d5c54f376ad946060a84a84c40d9deba01d363f0 (image): :green_heart: Looks good so far! There are no failures yet. :green_heart:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

SalmanMohammadi commented 6 days ago

this branch

224.22s call     tests/recipes/test_eleuther_eval.py::TestEleutherEval::test_meta_eval_vision
212.66s call     tests/recipes/test_eleuther_eval.py::TestEleutherEval::test_hf_eval_vision

vs main

277.36s call     tests/recipes/test_eleuther_eval.py::TestEleutherEval::test_hf_eval_vision
276.25s call     tests/recipes/test_eleuther_eval.py::TestEleutherEval::test_meta_eval_vision

It's timeboxing time. @joecummings I humbly offer my meagre ~2 minutes speedup.