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 a bug when batch type is dict and one of the values is the list #2599

Merged
merged 7 commits into from
Oct 3, 2023

Conversation

mvpatel2000
Copy link
Contributor

What does this PR do?

Extends sample count functionality to include dict of lists. Adds a unit test.

Extends #2425 with a unit test + lint

composer/core/data_spec.py Outdated Show resolved Hide resolved
@mvpatel2000 mvpatel2000 merged commit 00939a0 into mosaicml:dev Oct 3, 2023
@mvpatel2000 mvpatel2000 deleted the mvpatel2000/adjust-count branch October 3, 2023 19:03
cli99 pushed a commit that referenced this pull request Oct 9, 2023
…2599)

* fix a bug when list in dict

* lint

* test

* lint

* adjsut error

---------

Co-authored-by: Michael Hu <[email protected]>
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.

3 participants