runtime error
Exit code: 1. Reason: [transformers] PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. [transformers] PyTorch was not found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads. config.json: 0%| | 0.00/665 [00:00<?, ?B/s][A config.json: 100%|██████████| 665/665 [00:00<00:00, 2.46MB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 5, in <module> generator = pipeline('text-generation', model='gpt2', return_full_text=False) File "/usr/local/lib/python3.10/site-packages/transformers/pipelines/__init__.py", line 993, in pipeline if isinstance(dtype, str) and hasattr(torch, dtype): NameError: name 'torch' is not defined
Container logs:
Fetching error logs...