@@ -208,11 +208,17 @@ def generate_valid_test_cases(world_size: int,
208208        prepare_finalize_types = MK_MULTI_GPU_PREPARE_FINALIZE_TYPES )) 
209209@meets_multi_gpu_requirements  
210210def  test_modular_kernel_combinations_multigpu (
211-         k : int , n : int , e : int , dtype : torch .dtype ,
212-         quant_config : Optional [TestMoEQuantConfig ],
213-         prepare_finalize_type : mk .FusedMoEPrepareAndFinalize ,
214-         fused_experts_type : mk .FusedMoEPermuteExpertsUnpermute ,
215-         chunk_size : Optional [int ], world_size : int , pytestconfig ):
211+     k : int ,
212+     n : int ,
213+     e : int ,
214+     dtype : torch .dtype ,
215+     quant_config : Optional [TestMoEQuantConfig ],
216+     prepare_finalize_type : mk .FusedMoEPrepareAndFinalize ,
217+     fused_experts_type : mk .FusedMoEPermuteExpertsUnpermute ,
218+     chunk_size : Optional [int ],
219+     world_size : int ,
220+     pytestconfig ,
221+ ):
216222    assert  cuda_device_count_stateless () >=  world_size 
217223
218224    config  =  Config (
@@ -238,11 +244,17 @@ def test_modular_kernel_combinations_multigpu(
238244        world_size = 1 , 
239245        prepare_finalize_types = MK_SINGLE_GPU_PREPARE_FINALIZE_TYPES )) 
240246def  test_modular_kernel_combinations_singlegpu (
241-         k : int , n : int , e : int , dtype : torch .dtype ,
242-         quant_config : Optional [TestMoEQuantConfig ],
243-         prepare_finalize_type : mk .FusedMoEPrepareAndFinalize ,
244-         fused_experts_type : mk .FusedMoEPermuteExpertsUnpermute ,
245-         chunk_size : Optional [int ], world_size : int , pytestconfig ):
247+     k : int ,
248+     n : int ,
249+     e : int ,
250+     dtype : torch .dtype ,
251+     quant_config : Optional [TestMoEQuantConfig ],
252+     prepare_finalize_type : mk .FusedMoEPrepareAndFinalize ,
253+     fused_experts_type : mk .FusedMoEPermuteExpertsUnpermute ,
254+     chunk_size : Optional [int ],
255+     world_size : int ,
256+     pytestconfig ,
257+ ):
246258    config  =  Config (
247259        Ms = Ms ,
248260        K = k ,
0 commit comments