-
Notifications
You must be signed in to change notification settings - Fork 3k
Fix concurrent script loading with force_redownload #6718
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 concurrent script loading with force_redownload #6718
Conversation
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
| # we use a hash as subdirectory_name to be able to have multiple versions of a dataset/metric processing file together | ||
| importable_subdirectory = os.path.join(importable_directory_path, subdirectory_name) | ||
| importable_local_file = os.path.join(importable_subdirectory, name + ".py") | ||
| importable_file = os.path.join(importable_subdirectory, name + ".py") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a variable name change for consistency
mariosasko
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Co-authored-by: Mario Šaško <[email protected]>
Show benchmarksPyArrow==8.0.0 Show updated benchmarks!Benchmark: benchmark_array_xd.json
Benchmark: benchmark_getitem_100B.json
Benchmark: benchmark_indices_mapping.json
Benchmark: benchmark_iterating.json
Benchmark: benchmark_map_filter.json
Show updated benchmarks!Benchmark: benchmark_array_xd.json
Benchmark: benchmark_getitem_100B.json
Benchmark: benchmark_indices_mapping.json
Benchmark: benchmark_iterating.json
Benchmark: benchmark_map_filter.json
|

I added
lock_importable_fileinget_dataset_builder_classandextend_dataset_builder_for_streamingto fix the issue, and I also added a testcc @clefourrier