when precision is fp32, disable customCuda
This commit is contained in:
		
							parent
							
								
									1a5bf4a95e
								
							
						
					
					
						commit
						b20990d380
					
				@ -169,7 +169,7 @@ export const RunButton: FC<{ onClickRun?: MouseEventHandler, iconMode?: boolean
 | 
			
		||||
 | 
			
		||||
            let customCudaFile = '';
 | 
			
		||||
            if ((modelConfig.modelParameters.device === 'CUDA' || modelConfig.modelParameters.device === 'Custom')
 | 
			
		||||
              && modelConfig.modelParameters.useCustomCuda) {
 | 
			
		||||
              && modelConfig.modelParameters.useCustomCuda && modelConfig.modelParameters.precision != 'fp32') {
 | 
			
		||||
              if (commonStore.platform === 'windows') {
 | 
			
		||||
                customCudaFile = getSupportedCustomCudaFile();
 | 
			
		||||
                if (customCudaFile) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user