runtime error
Exit code: 1. Reason: PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. No model was supplied, defaulted to distilbert/distilbert-base-uncased-finetuned-sst-2-english and revision 714eb0f. Using a pipeline without specifying a model name and revision in production is not recommended. config.json: 0%| | 0.00/629 [00:00<?, ?B/s][A config.json: 100%|██████████| 629/629 [00:00<00:00, 2.15MB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 5, in <module> sentiment_analysis = pipeline("sentiment-analysis") File "/usr/local/lib/python3.10/site-packages/transformers/pipelines/__init__.py", line 797, in pipeline if isinstance(dtype, str) and hasattr(torch, dtype): NameError: name 'torch' is not defined
Container logs:
Fetching error logs...