transformers
2cfb947f - [Benchmark] add tpu and torchscipt for benchmark (#4850)

Commit
5 years ago
[Benchmark] add tpu and torchscipt for benchmark (#4850) * add tpu and torchscipt for benchmark * fix name in tests * "fix email" * make style * better log message for tpu * add more print and info for tpu * allow possibility to print tpu metrics * correct cpu usage * fix test for non-install * remove bugus file * include psutil in testing * run a couple of times before tracing in torchscript * do not allow tpu memory tracing for now * make style * add torchscript to env * better name for torch tpu Co-authored-by: Patrick von Platen <patrick@huggingface.co>
Parents
Loading