runtime error
Exit code: 3. Reason: Disabling PyTorch because PyTorch >= 2.1 is required but found 1.11.0 None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. INFO: Started server process [1] INFO: Waiting for application startup. ERROR: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 621, in lifespan async with self.lifespan_context(app): File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 518, in __aenter__ await self._router.startup() File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 598, in startup await handler() File "/home/user/app/./main.py", line 15, in startup_event sentiment_task = pipeline("sentiment-analysis", model=model_path, tokenizer=model_path) File "/usr/local/lib/python3.9/site-packages/transformers/pipelines/__init__.py", line 1017, in pipeline if isinstance(dtype, str) and hasattr(torch, dtype): NameError: name 'torch' is not defined ERROR: Application startup failed. Exiting.
Container logs:
Fetching error logs...