File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change 3232  useMpi  ? false , 
3333  useRocm  ? config . rocmSupport , 
3434  rocmGpuTargets  ? builtins . concatStringsSep   ";"  rocmPackages . clr . gpuTargets , 
35+   rocmUseWmma  ? true , 
3536  enableCurl  ? true , 
3637  useVulkan  ? false , 
3738  buildAllCudaFaQuants  ? false , 
9293    libcublas 
9394  ] ; 
9495
95-   rocmBuildInputs   =  with  rocmPackages ;  [ 
96-     clr 
97-     hipblas 
98-     rocblas 
99-     llvm . lld 
100-     llvm . bintools 
101-   ] ; 
96+   rocmBuildInputs   = 
97+     with  rocmPackages ; 
98+     [ 
99+       clr 
100+       hipblas 
101+       rocblas 
102+       llvm . lld 
103+       llvm . bintools 
104+     ] 
105+     ++  optionals   rocmUseWmma  [  rocmPackages . rocwmma   ] ; 
102106
103107  vulkanBuildInputs   =  [ 
104108    vulkan-headers 
@@ -196,6 +200,7 @@ effectiveStdenv.mkDerivation (finalAttrs: {
196200    ++  optionals   useRocm  [ 
197201      ( cmakeFeature   "CMAKE_HIP_COMPILER"  "${ rocmPackages . llvm . clang } /bin/clang" ) 
198202      ( cmakeFeature   "AMDGPU_TARGETS"  rocmGpuTargets ) 
203+       ( cmakeBool   "GGML_HIP_ROCWMMA_FATTN"  rocmUseWmma ) 
199204      ( cmakeBool   "GGML_CUDA_FA_ALL_QUANTS"  buildAllCudaFaQuants ) 
200205    ] 
201206    ++  optionals   useMetalKit  [ 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments