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: remove lru_cache from Weights #1160

Merged
merged 2 commits into from
Aug 13, 2024
Merged

fix: remove lru_cache from Weights #1160

merged 2 commits into from
Aug 13, 2024

Conversation

lgray
Copy link
Collaborator

@lgray lgray commented Aug 13, 2024

Fixes #1158

We added an lru_cache a long time ago to keep the taskgraph from exploding. More recent dask has deterministic task graphs and so we can drop this workaround, which had some unintended side-effects.

@lgray
Copy link
Collaborator Author

lgray commented Aug 13, 2024

@green-cabbage please check that this fixes your issue.

@lgray lgray changed the title fix: remove lru_cache from Weights and PackedSelection fix: remove lru_cache from Weights Aug 13, 2024
@green-cabbage
Copy link
Contributor

@green-cabbage please check that this fixes your issue.

Just confirmed that the fix works on my end. Thanks!

@lgray lgray enabled auto-merge August 13, 2024 19:12
@lgray lgray merged commit 4797ed8 into master Aug 13, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants