@@ -491,7 +491,7 @@ def test_dim3_igemm(self, seq_dim, hidden_dim, batch_dim):
491491 @pytest .mark .parametrize ("hidden_dim" , [32 , 1024 * 4 ], ids = id_formatter ("hidden_dim" ))
492492 @pytest .mark .parametrize ("batch_dim" , [2 , 16 ], ids = id_formatter ("batch_dim" ))
493493 @pytest .mark .parametrize ("transpose" , TRUE_FALSE , ids = id_formatter ("transpose" ))
494- @pytest .mark .skipif (HIP_ENVIRONMENT , reason = "this test is not supported on ROCm yet" )
494+ @pytest .mark .skipif (ROCM_WARP_SIZE_64 , reason = "this test is not supported on ROCm yet" )
495495 def test_minmax_igemm (self , seq_dim , hidden_dim , batch_dim , transpose ):
496496 def min_max (x ):
497497 maxA = torch .amax (x , dim = 2 , keepdim = True )
@@ -1205,7 +1205,7 @@ def test_4bit_compressed_stats(self, device, quant_type, blocksize, dtype):
12051205 @pytest .mark .skipif (not get_available_devices (no_cpu = True ), reason = "No accelerator device" )
12061206 @pytest .mark .parametrize ("dtype" , [torch .float32 , torch .float16 , torch .bfloat16 ], ids = describe_dtype )
12071207 @pytest .mark .parametrize ("quant_type" , ["fp4" , "nf4" ])
1208- @pytest .mark .parametrize ("blocksize" , [64 , 128 ] if not HIP_ENVIRONMENT else [128 ], ids = id_formatter ("blocksize" ))
1208+ @pytest .mark .parametrize ("blocksize" , [64 , 128 ] if not ROCM_WARP_SIZE_64 else [128 ], ids = id_formatter ("blocksize" ))
12091209 def test_4bit_quant_large (self , device , dtype , quant_type , blocksize ):
12101210 """
12111211 Test that we can successfully quantize a large tensor. Note that the following limitations apply:
@@ -1428,7 +1428,7 @@ def test_gemv_4bit(self, device, dim, dtype, storage_type, quant_storage, double
14281428 @pytest .mark .parametrize ("device" , get_available_devices ())
14291429 @pytest .mark .parametrize ("storage_type" , ["nf4" , "fp4" ], ids = ["nf4" , "fp4" ])
14301430 @pytest .mark .parametrize ("dtype" , [torch .float16 , torch .bfloat16 , torch .float32 ], ids = describe_dtype )
1431- @pytest .mark .skipif (HIP_ENVIRONMENT , reason = "this test is not supported on ROCm yet" )
1431+ @pytest .mark .skipif (ROCM_WARP_SIZE_64 , reason = "this test is not supported on ROCm yet" )
14321432 def test_gemv_eye_4bit (self , device , storage_type , dtype ):
14331433 if device == "hpu" and not is_supported_on_hpu (storage_type , dtype ):
14341434 pytest .skip ("This configuration is not supported on HPU." )
0 commit comments