• Patrick von Platen's avatar
    [Benchmark] add tpu and torchscipt for benchmark (#4850) · 2cfb947f
    Patrick von Platen authored
    
    
    * 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: default avatarPatrick von Platen <patrick@huggingface.co>
    2cfb947f
setup.py 5.92 KB