Skip to content

Speedup _cg_couple_sparse a bit#330

Merged
Luthaf merged 1 commit intomasterfrom
faster-cg-sparse
Sep 26, 2024
Merged

Speedup _cg_couple_sparse a bit#330
Luthaf merged 1 commit intomasterfrom
faster-cg-sparse

Conversation

@Luthaf
Copy link
Copy Markdown
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/

@github-actions
Copy link
Copy Markdown

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
@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