|
8 | 8 | import warnings |
9 | 9 |
|
10 | 10 | warnings.warn( |
11 | | - "Importing from torchao.dtypes.uintx.cutlass_int4_packed_layout is deprecated. " |
| 11 | + "Importing from torchao.dtypes is deprecated. " |
12 | 12 | "Please use 'from torchao.prototype.dtypes import CutlassInt4PackedLayout' instead. " |
13 | 13 | "This import path will be removed in torchao v0.16.0.", |
14 | 14 | DeprecationWarning, |
15 | 15 | stacklevel=2, |
16 | 16 | ) |
17 | 17 |
|
18 | 18 | from torchao.prototype.dtypes.uintx.cutlass_int4_packed_layout import ( # noqa: F401 |
19 | | - CutlassInt4PackedLayout, |
20 | | - Int4PackedTensorImpl, |
21 | | - _linear_int4_act_int4_weight_cutlass_check, |
22 | | - _linear_int4_act_int4_weight_cutlass_impl, |
23 | | - _linear_int8_act_int4_weight_cutlass_check, |
24 | | - _linear_int8_act_int4_weight_cutlass_impl, |
| 19 | + CutlassInt4PackedLayout, # noqa: F401 |
| 20 | + Int4PackedTensorImpl, # noqa: F401 |
| 21 | + _linear_int4_act_int4_weight_cutlass_check, # noqa: F401 |
| 22 | + _linear_int4_act_int4_weight_cutlass_impl, # noqa: F401 |
| 23 | + _linear_int8_act_int4_weight_cutlass_check, # noqa: F401 |
| 24 | + _linear_int8_act_int4_weight_cutlass_impl, # noqa: F401 |
25 | 25 | ) |
26 | | - |
27 | | -__all__ = [ |
28 | | - "CutlassInt4PackedLayout", |
29 | | - "Int4PackedTensorImpl", |
30 | | - "_linear_int4_act_int4_weight_cutlass_check", |
31 | | - "_linear_int4_act_int4_weight_cutlass_impl", |
32 | | - "_linear_int8_act_int4_weight_cutlass_check", |
33 | | - "_linear_int8_act_int4_weight_cutlass_impl", |
34 | | -] |
0 commit comments