Closed tanyokwok closed 1 year ago
TorchDynamo is a Python-level JIT compiler designed to make unmodified PyTorch programs faster. It does performance measurements based on TorchBench. We are doing a survey on enabling TorchBlade in TorchDynamo infrastructure recently.
It seems to enable TorchBlade in TorchDynamo is an individual topic, maybe we can talk about that in another issue.
A Github CI job, daily or weekly. The job will upload reports to OSS or save reports on Github
Do you want to compare the latest report to previous one, that helps us to find the PR that hurt the performance?
A docker image installed with pre-built PyTorch(or some stable version)
We have deployed the latest runtime Docker image, can we reuse that?
A Github CI job, daily or weekly. The job will upload reports to OSS or save reports on Github
nit: OSS
usually means Open Source Software
in community. Maybe Alibaba cloud Object Storage Service is better?
TorchDynamo is a Python-level JIT compiler designed to make unmodified PyTorch programs faster. It does performance measurements based on TorchBench. We are doing a survey on enabling TorchBlade in TorchDynamo infrastructure recently.
It seems to enable TorchBlade in TorchDynamo is an individual topic, maybe we can talk about that in another issue.
A Github CI job, daily or weekly. The job will upload reports to OSS or save reports on Github
Do you want to compare the latest report to previous one, that helps us to find the PR that hurt the performance?
A docker image installed with pre-built PyTorch(or some stable version)
We have deployed the latest runtime Docker image, can we reuse that?
A docker image installed with pre-built PyTorch(or some stable version)
@zzpmiracle Please have a try on this image bladedisc/bladedisc:latest-runtime-torch1.12.0-cu113
Related PR to torchbench repo: https://github.com/pytorch/benchmark/pull/1045 , https://github.com/pytorch/benchmark/pull/1072, https://github.com/pytorch/benchmark/pull/1073
This tracking issue is closed because TorchBench had been added for a while. Please create a new one if it's needed.
Why TorchBench?
torchbenchmark/models
contains copies of popular or exemplary workloadstorch.utils.benchmark.Timer
has priorities thantimeit.Timer
in PyTorchGoals of Benchmark
TorchBench & TorchDynamo
TorchDynamo is a Python-level JIT compiler designed to make unmodified PyTorch programs faster. It does performance measurements based on TorchBench. We are doing a survey on enabling TorchBlade in TorchDynamo infrastructure recently.
TorchBlade & TorchBench
TorchBlade is a optimzation tool for PyTorch program. We want to benchmark the performance compared to other methods. Given the usage of TorchBench in TorchDynamo, we would like to construct our benchmarks based on TorchBench as well. For now, we will add the following benchmarks:
What is needed to build the benchmark
Tasks
References
https://pytorch.org/tutorials/recipes/recipes/benchmark.html#steps https://github.com/pytorch/benchmark.git https://github.com/pytorch/torchdynamo.git