File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed 
tests/quantization/quanto Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -289,9 +289,8 @@ def decorator(test_case):
289289        if  not  torch .cuda .is_available ():
290290            return  unittest .skip (test_case )
291291        else :
292-             compute_capability  =  get_torch_cuda_device_capability ()
293-             current_compute_capability  =  f"{ compute_capability [0 ]} { compute_capability [1 ]}  
294-             return  unittest .skipUnless (float (current_compute_capability ) ==  float (expected_compute_capability ))
292+             current_compute_capability  =  get_torch_cuda_device_capability ()
293+             return  unittest .skipUnless (float (current_compute_capability ) ==  float (expected_compute_capability ), "Test not supported for this compute capability." )
295294
296295    return  decorator 
297296
Original file line number Diff line number Diff line change @@ -313,8 +313,6 @@ def get_dummy_init_kwargs(self):
313313
314314
315315@require_torch_cuda_compatibility (8.0 ) 
316- 
317- 
318316class  FluxTransformerInt4WeightsTest (FluxTransformerQuantoMixin , unittest .TestCase ):
319317    expected_memory_reduction  =  0.55 
320318
@@ -323,8 +321,6 @@ def get_dummy_init_kwargs(self):
323321
324322
325323@require_torch_cuda_compatibility (8.0 ) 
326- 
327- 
328324class  FluxTransformerInt2WeightsTest (FluxTransformerQuantoMixin , unittest .TestCase ):
329325    expected_memory_reduction  =  0.65 
330326
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments