merlot icon indicating copy to clipboard operation
merlot copied to clipboard

Running funetuning on GPU

Open insundaycathy opened this issue 3 years ago • 2 comments

Thanks for releasing your great work. I was wondering if there is a way to run the finetuning and zero-shot inference code on GPU rather than TPU? What king of adjustment would I need to make? Thanks

insundaycathy avatar Mar 04 '22 02:03 insundaycathy

It should be possible. The big differences might be removing the "bfloat16" casting (as that's a datatype specific to TPUs), and changing some of the boilerplate code to not be TPU specific.

rowanz avatar Mar 11 '22 19:03 rowanz