Skip to content

Commit

Permalink
Merge pull request #1202 from usegalaxy-eu/alphafold-gpu
Browse files Browse the repository at this point in the history
never trust the linter
  • Loading branch information
bgruening authored May 13, 2024
2 parents ad31ecd + 07507e7 commit 6294aa7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions files/galaxy/tpv/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,10 @@ tools:
execute: |
from random import SystemRandom
if SystemRandom().random() < 0.10:
entity.gpus = 1
entity.params['singularity_run_extra_arguments'] = '--env ALPHAFOLD_DB=/data/db/databases/alphafold_databases,ALPHAFOLD_USE_GPU=True'
entity.gpus = 1
entity.params['singularity_run_extra_arguments'] = '--env ALPHAFOLD_DB=/data/db/databases/alphafold_databases,ALPHAFOLD_USE_GPU=True'
else:
entity.params['singularity_run_extra_arguments'] = '--env ALPHAFOLD_DB=/data/db/databases/alphafold_databases,ALPHAFOLD_USE_GPU=False'
# tweak amount of requested memory depending on the AlphaFold model to be run
- id: model_preset_multimer
if: job.get_param_values(app).get("model_preset") == "multimer"
Expand Down

0 comments on commit 6294aa7

Please sign in to comment.