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

Speedup _cg_couple_sparse a bit #330

Merged
merged 1 commit into from
Sep 26, 2024
Merged

Speedup _cg_couple_sparse a bit #330

merged 1 commit into from
Sep 26, 2024

Conversation

Luthaf
Copy link
Member

@Luthaf Luthaf commented Sep 25, 2024

Moving the mu dimension first means that individual iterations store data close together in memory.

This makes a test with EquivariantPowerSpectrum from #329 go from 1.8s to 1.1s on my machine. Still horribly slow overall, but a step in the right direction.


📚 Documentation preview 📚: https://rascaline--330.org.readthedocs.build/en/330/

Copy link

github-actions bot commented Sep 25, 2024

Here is a pre-built version of the code in this pull request: wheels.zip, you can install it locally by unzipping wheels.zip and using pip to install the file matching your system

Moving the mu dimension first means that individual iterations
store data close together in memory
@Luthaf Luthaf merged commit fb7f363 into master Sep 26, 2024
25 checks passed
@Luthaf Luthaf deleted the faster-cg-sparse branch September 26, 2024 09:12
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.

1 participant