"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "901507335f6ed59cad6bbbc2b5d8d9eba8a1b4e1"
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