Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions torchao/quantization/autoquant.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,7 @@ def do_autoquant_bench(op, *args, **kwargs):
graph = torch.cuda.CUDAGraph()
with torch.cuda.graph(graph, stream=stream):
op(*args, **kwargs)
# TODO: update to 2.8.0 after https://github.com/pytorch/ao/pull/2786 is landed
if torch_version_at_least("2.9.0"):
if torch_version_at_least("2.8.0"):
from statistics import median

res = benchmarker.benchmark_gpu(
Expand Down
Loading