runtime error
Traceback (most recent call last): File "app.py", line 21, in <module> trainer = Trainer(model, tokenizer=tokz) File "/home/user/.local/lib/python3.8/site-packages/transformers/trainer.py", line 342, in __init__ args = TrainingArguments(output_dir=output_dir) File "<string>", line 111, in __init__ File "/home/user/.local/lib/python3.8/site-packages/transformers/training_args.py", line 1340, in __post_init__ and (self.device.type != "cuda") File "/home/user/.local/lib/python3.8/site-packages/transformers/training_args.py", line 1764, in device return self._setup_devices File "/home/user/.local/lib/python3.8/site-packages/transformers/utils/generic.py", line 54, in __get__ cached = self.fget(obj) File "/home/user/.local/lib/python3.8/site-packages/transformers/training_args.py", line 1672, in _setup_devices raise ImportError( ImportError: Using the `Trainer` with `PyTorch` requires `accelerate>=0.20.1`: Please run `pip install transformers[torch]` or `pip install accelerate -U`
Container logs:
Fetching error logs...