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

parallel load with no attributes #253

Merged
merged 8 commits into from
Feb 6, 2024
Merged

Conversation

jrs65
Copy link
Contributor

@jrs65 jrs65 commented Aug 16, 2023

  • feat hints to override
  • fix(memh5): error with distributed loading of files with datasets in groups
  • ffirst
  • refactor(memh5): move no selections sentinel to empty list to simplify

@jrs65 jrs65 requested a review from rikvl August 16, 2023 06:54
@jrs65 jrs65 force-pushed the parallel-load-with-no-attributes branch 5 times, most recently from d94f17d to eca92ff Compare August 16, 2023 17:09
Copy link
Contributor

@rikvl rikvl left a comment

Choose a reason for hiding this comment

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

I think you can go ahead and merge this. I couldn't find anything wrong with this, but can't say that I have fully understood everything.

For my benefit, maybe you can explain

  • In _copy_from_file, what would you expect the difference to be between key and item.name?
  • What's the benefit of passing fname rather than h5group to MPIArray.from_file?

This extends the hints argument to a dictionary to allow it to force
distributed loading of datasets with no specific `__memh5_distributed`
markers.
@jrs65 jrs65 force-pushed the parallel-load-with-no-attributes branch from eca92ff to 8523abf Compare January 31, 2024 00:33
@jrs65 jrs65 force-pushed the parallel-load-with-no-attributes branch from 8523abf to 41496df Compare January 31, 2024 01:52
Copy link
Contributor

@rikvl rikvl left a comment

Choose a reason for hiding this comment

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

Are the failed run-tests caused by something upstream?

This swaps from using the pytest-lazy-fixture plugin to the
pytest-lazy-fixtures plugin which supports the underlying changes in
pytest 8.
Also update the ruff config to avoid deprecated usage.
@jrs65 jrs65 merged commit bea4d36 into master Feb 6, 2024
5 checks passed
@jrs65 jrs65 deleted the parallel-load-with-no-attributes branch February 6, 2024 00:57
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.

None yet

2 participants