We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
on_disk_cache
When multiple workers try to create a folder structure at the same time it fails and raises FileExistsError.
FileExistsError
Expected behavior: create folder structure and continue
torchdata.datapipes.iter.IterableWrapper(urls)\ .on_disk_cache(filepath_fn=filepath_fn)\ .open_files_by_fsspec(mode='rb')\ .end_caching(filepath_fn=filepath_fn) dl = DataLoader(datapipe, batch_size=16, num_workers=96, persistent_workers=True)
torchdata==0.6.1
The text was updated successfully, but these errors were encountered:
I've opened a pull request which fixes this issue
Sorry, something went wrong.
No branches or pull requests
🐛 Describe the bug
When multiple workers try to create a folder structure at the same time it fails and raises
FileExistsError
.Expected behavior: create folder structure and continue
Versions
torchdata==0.6.1
The text was updated successfully, but these errors were encountered: