mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
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:
parent
75f64e1203
commit
cc9b005bf2
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user