mirror of
				https://github.com/hiyouga/LLaMA-Factory.git
				synced 2025-11-04 18:02:19 +08:00 
			
		
		
		
	make base image parametric.
default `BASE_IMAGE` is nvcr.io/nvidia/pytorch:24.02-py3 for retro-compatibility Former-commit-id: db8d00536acb02b29d10a3d735438d194656ece3
This commit is contained in:
		
							parent
							
								
									a63e624eca
								
							
						
					
					
						commit
						a2d7d6a518
					
				@ -1,6 +1,5 @@
 | 
			
		||||
# Use the NVIDIA official image with PyTorch 2.3.0
 | 
			
		||||
# https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes/rel-24-02.html
 | 
			
		||||
FROM nvcr.io/nvidia/pytorch:24.02-py3
 | 
			
		||||
ARG BASE_IMAGE=nvcr.io/nvidia/pytorch:24.02-py3
 | 
			
		||||
FROM ${BASE_IMAGE}
 | 
			
		||||
 | 
			
		||||
# Define environments
 | 
			
		||||
ENV MAX_JOBS=4
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user