Closed shoang22 closed 1 year ago
Hi @shoang22! You would need to follow Habana's SDK documentation to have a properly working training loop. But then you would also need to add mixed precision, distributed training and so on to make the most of your Gaudi instance. This is all taken care of in the GaudiTrainer
provided in the Optimum Habana library. Do you have any constraint that prevents you from using it?
I was actually having some issues with Trainer, so I opted for a direct implementation. I've since resolved the issue, and the Trainer is working perfectly. Thanks!
Hello,
I have a custom model that I've incorporated BERT into. Is it possible to train this model using a normal training loop?
Example: