You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add MFU utility module with functions to calculate:
- Theoretical peak FLOPS for GPU
- Actual MFU percentage
- Model FLOPs for one forward pass
- Modify LoRAFinetuneRecipeDistributed to:
- Calculate model FLOPs after initialization
- Log MFU alongside other metrics in training loop
- Add fvcore as a dev dependency for FLOPs calculation
Closespytorch#2100
It would be helpful if torchtune can log MFU as a metric to measure the real GPU utilization.
The text was updated successfully, but these errors were encountered: