runtime error
Exit code: 1. Reason: tstrap>", 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/pipelines/__init__.py", line 49, in <module> from .audio_classification import AudioClassificationPipeline File "/usr/local/lib/python3.10/site-packages/transformers/pipelines/audio_classification.py", line 21, in <module> from .base import Pipeline, build_pipeline_init_args File "/usr/local/lib/python3.10/site-packages/transformers/pipelines/base.py", line 69, in <module> from ..modeling_utils import PreTrainedModel File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 55, in <module> from .integrations.flex_attention import flex_attention_forward File "/usr/local/lib/python3.10/site-packages/transformers/integrations/flex_attention.py", line 46, in <module> class WrappedFlexAttention: File "/usr/local/lib/python3.10/site-packages/transformers/integrations/flex_attention.py", line 61, 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 12, in <module> from transformers import pipeline File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1964, 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 1978, in _get_module raise RuntimeError( RuntimeError: Failed to import transformers.pipelines because of the following error (look up to see its traceback): module 'torch' has no attribute 'compiler'
Container logs:
Fetching error logs...