mirror of
				https://github.com/hiyouga/LLaMA-Factory.git
				synced 2025-11-04 18:02:19 +08:00 
			
		
		
		
	fix docker file
Former-commit-id: 688f02decb1185deb74b26444f7643cab7d355c1
This commit is contained in:
		
							parent
							
								
									bf99223a80
								
							
						
					
					
						commit
						95bf795de4
					
				@ -26,8 +26,8 @@ RUN pip config set global.index-url "$PIP_INDEX" && \
 | 
			
		||||
RUN pip uninstall -y transformer-engine flash-attn && \
 | 
			
		||||
    if [ "$INSTALL_FLASHATTN" == "true" ]; then \
 | 
			
		||||
        pip uninstall -y ninja && pip install ninja && \
 | 
			
		||||
        pip install --no-cache-dir flash-attn --no-build-isolation \
 | 
			
		||||
    fi;
 | 
			
		||||
        pip install --no-cache-dir flash-attn --no-build-isolation; \
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
# Copy the rest of the application into the image
 | 
			
		||||
COPY . /app
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user