[TPU tests] Enable first TPU examples pytorch (#14121)

* up

* up

* fix

* up

* Update examples/pytorch/test_xla_examples.py

* correct labels

* up

* up

* up

* up

* up

* up
This commit is contained in:
Patrick von Platen
2021-10-28 01:22:28 +02:00
committed by GitHub
parent 232822f36d
commit 01b1466983
3 changed files with 77 additions and 38 deletions

View File

@@ -99,7 +99,7 @@ def main():
p = trainer.predict(dataset)
logger.info(p.metrics)
if p.metrics["eval_success"] is not True:
if p.metrics["test_success"] is not True:
logger.error(p.metrics)
exit(1)
@@ -113,7 +113,7 @@ def main():
p = trainer.predict(dataset)
logger.info(p.metrics)
if p.metrics["eval_success"] is not True:
if p.metrics["test_success"] is not True:
logger.error(p.metrics)
exit(1)