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 map() failing to create dataset when input_dir is None #100

Merged
merged 9 commits into from
Apr 12, 2024

Conversation

awaelchli
Copy link
Contributor

@awaelchli awaelchli commented Apr 11, 2024

Fixes #99

Not proud of the test that I added. It basically only tests that the create_dataset function is called. The test fails on main, but I'm looking for suggestions to make this more reliable.

src/litdata/processing/data_processor.py Outdated Show resolved Hide resolved
@awaelchli awaelchli marked this pull request as ready for review April 11, 2024 16:04
@awaelchli awaelchli added the bug Something isn't working label Apr 11, 2024
@awaelchli awaelchli changed the title WIP: Fix map() failing to create dataset when input_dir is None Fix map() failing to create dataset when input_dir is None Apr 11, 2024
@tchaton tchaton merged commit 577e181 into main Apr 12, 2024
32 checks passed
@tchaton tchaton deleted the bugfix/map-no-inputdir branch April 12, 2024 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dataset not created when using map() on data structure without file paths inside
2 participants