Skip to content

Commit 96d49cd

Browse files
authored
Bug fix for TORCH_VERSION_AFTER_* importation (#433)
* Bug fix for TORCH_VERSION_AFTER_* importation Bug fix for TORCH_VERSION_AFTER_* importation * Update benchmark_aq.py
1 parent c2cf973 commit 96d49cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: benchmarks/benchmark_aq.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Int8WeightOnlyQuantizedLinearWeight,
66
Int4WeightOnlyQuantizedLinearWeight,
77
)
8-
from torchao.quantization.utils import (
8+
from torchao.utils import (
99
TORCH_VERSION_AFTER_2_4,
1010
)
1111
from torchao.quantization.quant_api import (

Diff for: benchmarks/intmm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import pathlib
77

88
import torch
9-
from torchao.quantization.utils import TORCH_VERSION_AFTER_2_4, TORCH_VERSION_AFTER_2_2
9+
from torchao.utils import TORCH_VERSION_AFTER_2_4, TORCH_VERSION_AFTER_2_2
1010

1111

1212
# Check if CUDA is available, if not, exit the script

0 commit comments

Comments
 (0)