"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "832b2b00588e876972a588bdbcc8ed3dde043549"
check for tpu availability in save_pretrained (#7699)
Added is_torch_tpu_available() to the condition for saving a model as xla model. "xla_device" property of config can also be True on a non-xla device, when loading a checkpointthat was trained on xla before. Resolves #7695
Showing
Please register or sign in to comment