Ticket #20256: colab_error.txt

File colab_error.txt, 8.4 KB (added by goddard@…, 2 months ago)

Added by email2trac

Line 
1Please cite ColabFold: Making protein folding accessible to all. Nature Methods (2022) if you use these predictions.
2/tmp/ipykernel_5099/2047926643.py:117: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
3 % datetime.datetime.utcnow().strftime('%Y-%m-%d'))
4INFO:__main__:Starting prediction on 2026-05-01 UTC time
5INFO:__main__:Installing ColabFold on Google Colab virtual machine.
6Installing ColabFold
7Using Tesla T4 graphics processor
8Downloading alphafold2_ptm weights to .: 100%|██████████| 3.47G/3.47G [03:19<00:00, 18.6MB/s]
9---------------------------------------------------------------------------
10RuntimeError Traceback (most recent call last)
11/usr/local/lib/python3.12/dist-packages/colabfold/batch.py in run(queries, result_dir, num_models, is_complex, num_recycles, recycle_early_stop_tolerance, model_order, num_ensemble, model_type, msa_mode, use_templates, custom_template_path, num_relax, relax_max_iterations, relax_tolerance, relax_stiffness, relax_max_outer_iterations, keep_existing_results, rank_by, pair_mode, pairing_strategy, data_dir, host_url, user_agent, random_seed, num_seeds, recompile_padding, zip_results, prediction_callback, save_single_representations, save_pair_representations, jobname_prefix, save_all, save_recycles, use_dropout, use_gpu_relax, stop_at_score, dpi, max_seq, max_extra_seq, pdb_hit_file, local_pdb_path, use_cluster_profile, feature_dict_callback, calc_extra_ptm, use_probs_extra, **kwargs)
12 1293 import jax.tools.colab_tpu
13-> 1294 jax.tools.colab_tpu.setup_tpu()
14 1295 logger.info('Running on TPU')
15
1614 frames
17/usr/local/lib/python3.12/dist-packages/jax/tools/colab_tpu.py in setup_tpu(tpu_driver_version)
18 19 """Raises an error. Do not use."""
19---> 20 raise RuntimeError(
20 21 "jax.tools.colab_tpu.setup_tpu() was required for older JAX versions"
21
22RuntimeError: jax.tools.colab_tpu.setup_tpu() was required for older JAX versions running on older generations of TPUs, and should no longer be used.
23
24During handling of the above exception, another exception occurred:
25
26ImportError Traceback (most recent call last)
27/tmp/ipykernel_5099/2047926643.py in <cell line: 0>()
28 335 remove_from_list(seq_list, 'prokaryote') # Obsolete "prokaryote" flag
29 336
30--> 337 run_prediction(seq_list, use_templates = use_templates, energy_minimize = not dont_minimize)
31
32/tmp/ipykernel_5099/2047926643.py in run_prediction(sequences, job_name, msa_mode, pair_mode, use_templates, custom_template_path, energy_minimize, model_type, num_recycles, dpi, install_log)
33 73
34 74 from colabfold.batch import run
35---> 75 run(
36 76 queries=queries,
37 77 result_dir='.',
38
39/usr/local/lib/python3.12/dist-packages/colabfold/batch.py in run(queries, result_dir, num_models, is_complex, num_recycles, recycle_early_stop_tolerance, model_order, num_ensemble, model_type, msa_mode, use_templates, custom_template_path, num_relax, relax_max_iterations, relax_tolerance, relax_stiffness, relax_max_outer_iterations, keep_existing_results, rank_by, pair_mode, pairing_strategy, data_dir, host_url, user_agent, random_seed, num_seeds, recompile_padding, zip_results, prediction_callback, save_single_representations, save_pair_representations, jobname_prefix, save_all, save_recycles, use_dropout, use_gpu_relax, stop_at_score, dpi, max_seq, max_extra_seq, pdb_hit_file, local_pdb_path, use_cluster_profile, feature_dict_callback, calc_extra_ptm, use_probs_extra, **kwargs)
40 1302 use_gpu_relax = False
41 1303 else:
42-> 1304 import tensorflow as tf
43 1305 tf.get_logger().setLevel(logging.ERROR)
44 1306 logger.info('Running on GPU')
45
46/usr/local/lib/python3.12/dist-packages/tensorflow/__init__.py in <module>
47 53 from tensorflow._api.v2 import autograph
48 54 from tensorflow._api.v2 import bitwise
49---> 55 from tensorflow._api.v2 import compat
50 56 from tensorflow._api.v2 import config
51 57 from tensorflow._api.v2 import data
52
53/usr/local/lib/python3.12/dist-packages/tensorflow/_api/v2/compat/__init__.py in <module>
54 6 import sys as _sys
55 7
56----> 8 from tensorflow._api.v2.compat import v1
57 9 from tensorflow._api.v2.compat import v2
58 10 from tensorflow.python.compat.compat import forward_compatibility_horizon # line: 125
59
60/usr/local/lib/python3.12/dist-packages/tensorflow/_api/v2/compat/v1/__init__.py in <module>
61 28 from tensorflow._api.v2.compat.v1 import autograph
62 29 from tensorflow._api.v2.compat.v1 import bitwise
63---> 30 from tensorflow._api.v2.compat.v1 import compat
64 31 from tensorflow._api.v2.compat.v1 import config
65 32 from tensorflow._api.v2.compat.v1 import data
66
67/usr/local/lib/python3.12/dist-packages/tensorflow/_api/v2/compat/v1/compat/__init__.py in <module>
68 6 import sys as _sys
69 7
70----> 8 from tensorflow._api.v2.compat.v1.compat import v1
71 9 from tensorflow._api.v2.compat.v1.compat import v2
72 10 from tensorflow.python.compat.compat import forward_compatibility_horizon # line: 125
73
74/usr/local/lib/python3.12/dist-packages/tensorflow/_api/v2/compat/v1/compat/v1/__init__.py in <module>
75 45 from tensorflow._api.v2.compat.v1 import layers
76 46 from tensorflow._api.v2.compat.v1 import linalg
77---> 47 from tensorflow._api.v2.compat.v1 import lite
78 48 from tensorflow._api.v2.compat.v1 import logging
79 49 from tensorflow._api.v2.compat.v1 import lookup
80
81/usr/local/lib/python3.12/dist-packages/tensorflow/_api/v2/compat/v1/lite/__init__.py in <module>
82 7
83 8 from tensorflow._api.v2.compat.v1.lite import constants
84----> 9 from tensorflow._api.v2.compat.v1.lite import experimental
85 10 from tensorflow.lite.python.convert import OpsSet # line: 151
86 11 from tensorflow.lite.python.convert import toco_convert # line: 929
87
88/usr/local/lib/python3.12/dist-packages/tensorflow/_api/v2/compat/v1/lite/experimental/__init__.py in <module>
89 6 import sys as _sys
90 7
91----> 8 from tensorflow._api.v2.compat.v1.lite.experimental import authoring
92 9 from tensorflow.lite.python.analyzer import ModelAnalyzer as Analyzer # line: 35
93 10 from tensorflow.lite.python.interpreter import OpResolverType # line: 315
94
95/usr/local/lib/python3.12/dist-packages/tensorflow/_api/v2/compat/v1/lite/experimental/authoring/__init__.py in <module>
96 6 import sys as _sys
97 7
98----> 8 from tensorflow.lite.python.authoring.authoring import compatible # line: 263
99 9
100 10 from tensorflow.python.util import module_wrapper as _module_wrapper
101
102/usr/local/lib/python3.12/dist-packages/tensorflow/lite/python/authoring/authoring.py in <module>
103 40 from tensorflow.compiler.mlir.lite.metrics import converter_error_data_pb2
104 41 # pylint: disable=g-import-not-at-top
105---> 42 from tensorflow.lite.python import convert
106 43 from tensorflow.lite.python import lite
107 44 from tensorflow.python.util.tf_export import tf_export as _tf_export
108
109/usr/local/lib/python3.12/dist-packages/tensorflow/lite/python/convert.py in <module>
110 32 from tensorflow.lite.python.convert_phase import ConverterError
111 33 from tensorflow.lite.python.convert_phase import SubComponent
112---> 34 from tensorflow.lite.python.metrics.wrapper import metrics_wrapper as _metrics_wrapper
113 35 from tensorflow.lite.tools import flatbuffer_utils
114 36 from tensorflow.python.framework import dtypes
115
116/usr/local/lib/python3.12/dist-packages/tensorflow/lite/python/metrics/wrapper/metrics_wrapper.py in <module>
117 17 from tensorflow.compiler.mlir.lite.metrics import converter_error_data_pb2
118 18 from tensorflow.compiler.mlir.lite.python import wrap_converter
119---> 19 from tensorflow.lite.python.metrics._pywrap_tensorflow_lite_metrics_wrapper import MetricsWrapper # pylint: disable=unused-import
120 20
121 21
122
123ImportError: /usr/local/lib/python3.12/dist-packages/tensorflow/lite/python/metrics/_pywrap_tensorflow_lite_metrics_wrapper.so: undefined symbol: Wrapped_PyInit__pywrap_tensorflow_lite_metrics_wrapper
124
125---------------------------------------------------------------------------
126NOTE: If your import is failing due to a missing package, you can
127manually install dependencies using either !pip or !apt.
128
129To view examples of installing some common dependencies, click the
130"Open Examples" button below.
131---------------------------------------------------------------------------