This error is appearing during training of LLM on my Mac M2 pro:
Is because PyTorch is gpu,npu & xpu supported and will not run on metal supported Mac?
ImportError: Using the Trainer
with PyTorch
requires accelerate>=0.21.0
: Please run pip install transformers[torch]
or pip install accelerate -U