Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bnb/dev #128

Merged
merged 19 commits into from
Dec 21, 2022
Merged

Bnb/dev #128

merged 19 commits into from
Dec 21, 2022

Conversation

bnb32
Copy link
Collaborator

@bnb32 bnb32 commented Dec 21, 2022

Some refactoring to reduce length of class attribute lists in _init for DataHandler and ForwardPassStrategy. Replaced some for loops with vectorized equivalents. This gave us a few seconds for each fwp class.

Copy link
Member

@grantbuster grantbuster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This all looks good but I definitely want to encourage us to stop making changes to all the argument names constantly haha. This is still a good change in that spirit because it's more future proof than having a bunch of separate args floating around though.

@bnb32 bnb32 merged commit 0ff1d11 into main Dec 21, 2022
@bnb32 bnb32 deleted the bnb/dev branch December 21, 2022 21:01
github-actions bot pushed a commit that referenced this pull request Dec 21, 2022
Combined separate worker args to worker_kwargs dict and refactored dependent classes. Vectorized a few for loops.
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.

None yet

2 participants