File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,9 @@ def __init__(
4444
4545class  Partition (BaseStages .Partition ):
4646    def  __init__ (self , partitioner : Optional [Partitioner ] =  None ):
47+         vk_compile_spec  =  {"skip_bool_tensors" : True }
4748        super ().__init__ (
48-             partitioner = partitioner  or  VulkanPartitioner (),
49+             partitioner = partitioner  or  VulkanPartitioner (vk_compile_spec ),
4950        )
5051
5152
@@ -55,6 +56,10 @@ def __init__(
5556        partitioners : Optional [List [Partitioner ]] =  None ,
5657        edge_compile_config : Optional [EdgeCompileConfig ] =  None ,
5758    ):
59+         if  partitioners  is  None :
60+             vk_compile_spec  =  {"skip_bool_tensors" : True }
61+             partitioners  =  [VulkanPartitioner (vk_compile_spec )]
62+ 
5863        super ().__init__ (
5964            default_partitioner_cls = VulkanPartitioner ,
6065            partitioners = partitioners ,
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments