Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit e18b8d3

Browse files
authored
Fix: change QATConv3D instance to Conv3D (#578) (#585)
1 parent e2679b5 commit e18b8d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sparseml/pytorch/utils/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ def get_quantized_layers(module: Module) -> List[Tuple[str, Module]]:
822822
):
823823
quantized_layers.append((name, mod))
824824

825-
elif isinstance(mod, QATConv3d) and not QATConv3d:
825+
elif isinstance(mod, Conv3d) and not QATConv3d:
826826
warnings.warn(
827827
"Pytorch version is not setup for Conv3D Quantization. "
828828
"Quantization of Conv3D layers will be skipped",

0 commit comments

Comments
 (0)