mirror of
				https://github.com/hiyouga/LLaMA-Factory.git
				synced 2025-11-04 18:02:19 +08:00 
			
		
		
		
	Update docker-compose.yml
Former-commit-id: 56af208074e6af5465183af85367e7edd89d5aa6
This commit is contained in:
		
							parent
							
								
									b5cdef43a1
								
							
						
					
					
						commit
						8360544d65
					
				@ -1,8 +1,8 @@
 | 
			
		||||
services:
 | 
			
		||||
  llamafactory:
 | 
			
		||||
    build:
 | 
			
		||||
      dockerfile: Dockerfile
 | 
			
		||||
      context: .
 | 
			
		||||
      dockerfile: ./docker/docker-cuda/Dockerfile
 | 
			
		||||
      context: ../..
 | 
			
		||||
      args:
 | 
			
		||||
        INSTALL_BNB: false
 | 
			
		||||
        INSTALL_VLLM: false
 | 
			
		||||
@ -10,9 +10,9 @@ services:
 | 
			
		||||
        PIP_INDEX: https://pypi.org/simple
 | 
			
		||||
    container_name: llamafactory
 | 
			
		||||
    volumes:
 | 
			
		||||
      - ../../hf_cache:/root/.cache/huggingface/
 | 
			
		||||
      - ../../data:/app/LLaMA-Factory/data
 | 
			
		||||
      - ../../output:/app/LLaMA-Factory/output
 | 
			
		||||
      - ./hf_cache:/root/.cache/huggingface/
 | 
			
		||||
      - ./data:/app/data
 | 
			
		||||
      - ./output:/app/output
 | 
			
		||||
    ports:
 | 
			
		||||
      - "7860:7860"
 | 
			
		||||
      - "8000:8000"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user