This repository has been archived by the owner on Jun 18, 2024. It is now read-only.
forked from google-deepmind/alphafold
-
Notifications
You must be signed in to change notification settings - Fork 0
Make bulk inference easier & output internal embeddings #1
Open
pvasu
wants to merge
19
commits into
main
Choose a base branch
from
output-embeddings
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- load in features if already computed - allow computing features for multiple fastas in parallel - allow disabling Amber relaxation, b/c our sequences have X's
sorting fastas by seq len and padding to round up to nearest 50, so many consecutive sequences can be run by the same compiled Jax model. Note that different models (1 through 5) have different sizes (e.g. extra msa size), so for now you must choose exactly one model in run_docker.py. In the future, may want to refactor run_alphafold.py so the outer loop is over models instead of inputs.
On a related note, tried running multiple inputs on a single GPU in separate child processes, but that was actually slower than doing it serially.
- split up feature generation vs model running - run one model at a time, thru all inputs (for Jax compile speedup), and then rank models at the end. - don't run a model if output already exists
…ker re-build on code changes
(workaround for now, in the interest of time)
…s at the end. Do that now.
…beddings .pkl is outputted. Also, when ranking models, grab plddt from the small embeddings .pkl file, not the huge result .pkl file.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.