@@ -817,6 +817,9 @@ def test_int8_dynamic_quant_subclass_api(self, device, dtype):
817
817
@parameterized .expand (COMMON_DEVICE_DTYPE )
818
818
@unittest .skipIf (is_fbcode (), "broken in fbcode" )
819
819
def test_int8_weight_only_quant_subclass_api (self , device , dtype ):
820
+ if TORCH_VERSION_AT_LEAST_2_5 and device == "cpu" :
821
+ self .skipTest ("Regression introduced in PT nightlies" )
822
+
820
823
undo_recommended_configs ()
821
824
self ._test_lin_weight_subclass_api_impl (
822
825
_int8wo_api , device , 40 , test_dtype = dtype
@@ -826,6 +829,9 @@ def test_int8_weight_only_quant_subclass_api(self, device, dtype):
826
829
@torch ._inductor .config .patch ({"freezing" : True })
827
830
@unittest .skipIf (not TORCH_VERSION_AT_LEAST_2_4 , "freeze requires torch 2.4 and after." )
828
831
def test_int8_weight_only_quant_with_freeze (self , device , dtype ):
832
+ if TORCH_VERSION_AT_LEAST_2_5 and device == "cpu" :
833
+ self .skipTest ("Regression introduced in PT nightlies" )
834
+
829
835
self ._test_lin_weight_subclass_api_impl (
830
836
_int8wo_api , device , 40 , test_dtype = dtype
831
837
)
@@ -1039,7 +1045,10 @@ def test_save_load_dqtensors(self, device, dtype):
1039
1045
@parameterized .expand (COMMON_DEVICE_DTYPE )
1040
1046
@torch .no_grad ()
1041
1047
@unittest .skipIf (is_fbcode (), "broken in fbcode" )
1042
- def test_save_load_int8woqtensors (self , device , dtype ):
1048
+ def test_save_load_int8woqtensors (self , device , dtype ):
1049
+ if TORCH_VERSION_AT_LEAST_2_5 and device == "cpu" :
1050
+ self .skipTest (f"Regression introduced in PT nightlies" )
1051
+
1043
1052
undo_recommended_configs ()
1044
1053
self ._test_handle_save_load_meta_impl (_int8wo_api , device , test_dtype = dtype )
1045
1054
0 commit comments