forked from open-webui/open-webui
		
	Update PyTorch wheel source to CUDA 11.8
Modified the Dockerfile to install PyTorch, torchvision, and torchaudio from a CUDA 11.8 specific wheel URL. This ensures compatibility with the CUDA version in our environment and potentially improves performance and stability for GPU-accelerated operations.
This commit is contained in:
		
							parent
							
								
									8ce48dc7d1
								
							
						
					
					
						commit
						2588da0e27
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -86,7 +86,7 @@ RUN apk update && \ | |||
|     apk del /var/cache/apk/*.tbz2 | ||||
| 
 | ||||
| COPY ./backend/requirements.txt ./requirements.txt | ||||
| RUN pip3 install torch torchvision torchaudio --no-cache-dir && \ | ||||
| RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 --no-cache-dir && \ | ||||
|     pip3 install -r requirements.txt --no-cache-dir | ||||
| 
 | ||||
| # copy built frontend files | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Joseph Young
						Joseph Young