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

Fix silently ignored arguments in IndependentModelList #2249

Merged
merged 3 commits into from
Jan 13, 2023

Conversation

saitcakmak
Copy link
Collaborator

Fixes #2211 by introducing a _length_safe_zip that checks that the arguments are of equal length.

@saitcakmak saitcakmak requested a review from Balandat January 11, 2023 20:09
@saitcakmak
Copy link
Collaborator Author

@Balandat I made it into a generic util as suggested and used it in some other places where similar issues could arise.

Copy link
Collaborator

@Balandat Balandat left a comment

Choose a reason for hiding this comment

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

lgtm - we can wait until the pytorch PR that messed up the tests gets unlanded and retry them? Or could merge if this is urgent for some reason.

@saitcakmak
Copy link
Collaborator Author

No urgency to merge this. We can wait on the CI to land

Co-authored-by: Max Balandat <Balandat@users.noreply.github.com>
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.

[Bug] Use of zip leads to silent incomplete evaluation of IndependentModelList
2 participants