[mod] ollama
This commit is contained in:
		
							parent
							
								
									bb3ae24a94
								
							
						
					
					
						commit
						25d831f091
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -12,10 +12,11 @@ services:
 | 
			
		|||
    environment:
 | 
			
		||||
      - OLLAMA_MAX_LOADED_MODELS=1
 | 
			
		||||
      - OLLAMA_NO_CUDA=1
 | 
			
		||||
      - OLLAMA_FLASH_ATTENTION=1
 | 
			
		||||
    deploy:
 | 
			
		||||
      resources:
 | 
			
		||||
        limits:
 | 
			
		||||
          cpus: '4'  # Limit CPU cores
 | 
			
		||||
          cpus: 8  # Limit CPU cores
 | 
			
		||||
          memory: 16G   # Limit RAM (adjust based on your system)  
 | 
			
		||||
#    devices:
 | 
			
		||||
#      - /dev/dri:/dev/dri  
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue