runtime error

Exit code: 1. Reason: ", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/usr/local/lib/python3.10/site-packages/transformers/models/vit/modeling_vit.py", line 33, in <module> from ...modeling_utils import ALL_ATTENTION_FUNCTIONS, PreTrainedModel File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 62, in <module> from .integrations.flex_attention import flex_attention_forward File "/usr/local/lib/python3.10/site-packages/transformers/integrations/flex_attention.py", line 43, in <module> class WrappedFlexAttention: File "/usr/local/lib/python3.10/site-packages/transformers/integrations/flex_attention.py", line 58, in WrappedFlexAttention @torch.compiler.disable(recursive=False) AttributeError: module 'torch' has no attribute 'compiler' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 3, in <module> from transformers import ViTModel, BertModel, BertTokenizer File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1956, in __getattr__ value = getattr(module, name) File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1955, in __getattr__ module = self._get_module(self._class_to_module[name]) File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1969, in _get_module raise RuntimeError( RuntimeError: Failed to import transformers.models.vit.modeling_vit because of the following error (look up to see its traceback): module 'torch' has no attribute 'compiler'

Container logs:

Fetching error logs...