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

vectorize so3, so that I don't have to wait for 20 minutes #218

Closed
wants to merge 1 commit into from

Conversation

tornikeo
Copy link

Importing utils/so3.py takes absolutely forever. Yes, it's a one-time call, but I don't want to suffer it when I move this every time I use this code on a fresh remote VM. So I vectorized the heaviest calculations

I tested this locally, but I don't see a tests/ directory to check this PR automatically.

Also, are you guys open to me adding a few automated tests for this repo? The recent BELKA challenge on kaggle will likely generate a lot of PRs and issues, and having test suite will make approving and checking good changes lot easier.

@jsilter
Copy link
Collaborator

jsilter commented Apr 26, 2024

Have you done a runtime comparison that you could share?

I'm definitely open to reviewing automated tests if you'd like to add some.

jsilter added a commit that referenced this pull request Apr 30, 2024
* Ensure we calculate rotatable bonds on the version of the ligand with no hydrogens. Also fix spelling of rotable -> rotatable. Closes GH-220 (@Nobody-Zhang)

* Vectorize SO3 calculations. Closes PR GH-218 (@tornikeo)

* Pin pytorch-lightning version. Closes GH-193 (@mikael-h-christensen)

* Guard against divide by zero in torus.py. Closes GH-161 (@amorehead)

* Update e3nn version to 0.5.1. Closes GH-155 (@amorehead)

* Add a little more info on docker container to README.md
@jsilter
Copy link
Collaborator

jsilter commented Apr 30, 2024

Included in v1.1.2

@jsilter jsilter closed this Apr 30, 2024
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