Skip to content

Commit 8864bb5

Browse files
committed
minor fixes
1 parent d054bfd commit 8864bb5

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

torchao/dtypes/affine_quantized_tensor_ops.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@
2121
_linear_fp_act_fp8_weight_check,
2222
_linear_fp_act_fp8_weight_impl,
2323
)
24-
from torchao.prototype.dtypes.uintx.gemlite_layout import (
25-
_linear_fp_act_int4_weight_gemlite_check,
26-
_linear_fp_act_int4_weight_gemlite_impl,
27-
)
28-
from torchao.prototype.dtypes.floatx.floatx_tensor_core_layout import (
29-
_linear_f16_bf16_act_floatx_weight_check,
30-
_linear_f16_bf16_act_floatx_weight_impl,
31-
)
3224
from torchao.dtypes.uintx.int4_cpu_layout import (
3325
_linear_fp_act_uint4_weight_cpu_check,
3426
_linear_fp_act_uint4_weight_cpu_impl,

torchao/prototype/dtypes/floatx/__init__.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
# This source code is licensed under the BSD 3-Clause license found in the
55
# LICENSE file in the root directory of this source tree.
66

7-
from .floatx_tensor_core_layout import FloatxTensorCoreLayout
7+
from .floatx_tensor_core_layout import (
8+
FloatxTensorCoreLayout,
9+
from_scaled_tc_floatx,
10+
to_scaled_tc_floatx,
11+
)
812

9-
__all__ = ["FloatxTensorCoreLayout"]
13+
__all__ = [
14+
"FloatxTensorCoreLayout",
15+
"to_scaled_tc_floatx",
16+
"from_scaled_tc_floatx",
17+
]

0 commit comments

Comments
 (0)