Enable torchao nightly workflow (#129779)

Summary:
Make the following improvements:
* Schedule the torchao benchmark nightly
* Enable torchbench, timm, and huggingface models
* Refactor the benchmarking script to better arrange the benchmarking groups

Test workflow: https://github.com/pytorch/benchmark/actions/runs/9705589352

X-link: https://github.com/pytorch/benchmark/pull/2336

Differential Revision: D59074571

Pulled By: xuzhao9

Pull Request resolved: https://github.com/pytorch/pytorch/pull/129779
Approved by: https://github.com/jerryzh168
This commit is contained in:
Xu Zhao 2024-07-01 14:28:38 +00:00 committed by PyTorch MergeBot
parent 75f64e1203
commit cc9b005bf2

View File

@ -14,7 +14,7 @@ def setup_baseline():
def torchao_optimize_ctx(quantization: str):
import torchao
from torchao.quantization import (
from torchao.quantization.quant_api import (
change_linear_weights_to_int4_woqtensors,
change_linear_weights_to_int8_dqtensors,
change_linear_weights_to_int8_woqtensors,