install ollama
This commit is contained in:
		
							parent
							
								
									2e37cefe3e
								
							
						
					
					
						commit
						a93435fede
					
				
					 2 changed files with 12 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -2,6 +2,17 @@
 | 
			
		|||
  # Get up and running with large language models locally.
 | 
			
		||||
  services.ollama = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
 | 
			
		||||
    # AMD GPU Support
 | 
			
		||||
    acceleration = "rocm";
 | 
			
		||||
    # 5700xt Support
 | 
			
		||||
    rocmOverrideGfx = "10.1.0";
 | 
			
		||||
 | 
			
		||||
    # Language models to install
 | 
			
		||||
    loadModels = [
 | 
			
		||||
      "deepseek-coder-v2"
 | 
			
		||||
      "llama3"
 | 
			
		||||
      "mannix/llama3.1-8b-abliterated"
 | 
			
		||||
    ];
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue