Closed shub-kris closed 5 months ago
It is based on the image mentioned in the PyTorch_XLA GitHub repo. So, far I have tested it on the example mentioned in Google Cloud TPU docs.
Added notebook, as it was not installed, also removed libraries that doesn't support TPU.
@philschmid let's merge this PR. I will test with the new transformers version 4.38.1 in a different branch and do a PR then.
@philschmid @tengomucho according the discussions in the slack, I have updated the Dockerfile to have the nightly version, also I have ran the finetune-gemma-lora-dolly.py and it runs successfully and saves the checkpoints too.
Did we validate if the results are good?
@tengomucho tried to improve the commit message
This PR adds PyTorch TPU Dockerfile.