Unverified Commit c88b11c5 authored by steventk-g's avatar steventk-g Committed by GitHub
Browse files

Add _mp_fn to run_mae.py for XLA testing (#21551)

Update run_mae.py
parent b20147a3
......@@ -384,5 +384,10 @@ def main():
trainer.create_model_card(**kwargs)
def _mp_fn(index):
# For xla_spawn (TPUs)
main()
if __name__ == "__main__":
main()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment