Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Alphafold3
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RC Data Science
community-containers
Alphafold3
Commits
a08cffd6
Commit
a08cffd6
authored
7 months ago
by
Augustin Zidek
Browse files
Options
Downloads
Patches
Plain Diff
Fail hard if running on a device with GPU capability < 8.0
PiperOrigin-RevId: 697640745
parent
08ee672e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1
Cloned AlphaFold 3 repo into this one
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
run_alphafold.py
+11
-0
11 additions, 0 deletions
run_alphafold.py
with
11 additions
and
0 deletions
run_alphafold.py
+
11
−
0
View file @
a08cffd6
...
...
@@ -610,6 +610,17 @@ def main(_):
print
(
f
'
Failed to create output directory
{
_OUTPUT_DIR
.
value
}
:
{
e
}
'
)
raise
if
_RUN_INFERENCE
.
value
:
# Fail early on incompatible devices, but only if we're running inference.
gpu_devices
=
jax
.
local_devices
(
backend
=
'
gpu
'
)
if
gpu_devices
and
float
(
gpu_devices
[
0
].
compute_capability
)
<
8.0
:
raise
ValueError
(
'
There are currently known unresolved numerical issues with using
'
'
devices with compute capability less than 8.0. See
'
'
https://github.com/google-deepmind/alphafold3/issues/59 for
'
'
tracking.
'
)
notice
=
textwrap
.
wrap
(
'
Running AlphaFold 3. Please note that standard AlphaFold 3 model
'
'
parameters are only available under terms of use provided at
'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment