Skip to content
Snippets Groups Projects

Cloned AlphaFold 3 repo into this one

Merged Fortune Iriaye requested to merge clone-alphafold3-github into main
1 file
+ 11
0
Compare changes
  • Side-by-side
  • Inline
+ 11
0
@@ -610,6 +610,17 @@ def main(_):
@@ -610,6 +610,17 @@ def main(_):
print(f'Failed to create output directory {_OUTPUT_DIR.value}: {e}')
print(f'Failed to create output directory {_OUTPUT_DIR.value}: {e}')
raise
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(
notice = textwrap.wrap(
'Running AlphaFold 3. Please note that standard AlphaFold 3 model'
'Running AlphaFold 3. Please note that standard AlphaFold 3 model'
' parameters are only available under terms of use provided at'
' parameters are only available under terms of use provided at'
Loading