Skip to content

Speeding up training - #7

Merged
Sam-v6 merged 11 commits into
mainfrom
feature/miscl-clean-up
Dec 2, 2025
Merged

Sam-v6 merged 11 commits into
mainfrom
feature/miscl-clean-up

Conversation

@Sam-v6

@Sam-v6 Sam-v6 commented Dec 2, 2025 •

Copy link
Copy Markdown
Owner

What does this PR do?

Improving the speed for hyper-parameter optimization with Ray Tune

What are some specific details on the changes?

  • Speed changes for training
    • Using automatic mixed precision for forward passes with torch f16
    • Allowing TF32 for matrix multiplication
    • Increasing batch size to saturate GPU utilization (done with L4 GPU in mind for HPO)
  • Miscellaneous
    • Converting from os.path.join to use Path
    • Minor fixes to address some linting warnings (more to do here)
    • Added tune for 1 trial into CI pipeline
    • Dispersing over better model params for Ray Tune and updated model best params and pickled model
    • Fixing model definition in predictions

How has this been tested?

Introduced additional CI stage to cover Ray Tune (runs only 1 trial at 5 epochs), meant to test configuration

Important Notes

None

Checklist

  • [ X ] Tests have been added or updated to cover the changes.
  • [ X ] Documentation has been updated (if necessary)

@Sam-v6 Sam-v6 changed the title Feature/miscl clean up Speeding up training Dec 2, 2025
@Sam-v6
Sam-v6 merged commit 433e3aa into main Dec 2, 2025
1 check passed
@Sam-v6
Sam-v6 deleted the feature/miscl-clean-up branch December 2, 2025 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant