Talk:Ollama: Difference between revisions

Cymno (talk | contribs)
 
Cymno (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
It seems the syntax to specify acceleration type has changed. On a recent nixos rebuild I got the following error:
It seems the syntax to specify acceleration type has changed. On a recent nixos rebuild I got the following error:


The option definition `services.ollama.acceleration' no longer has any effect; please remove it. Set `services.ollama.package` to one of `pkgs.ollama[,-vulkan,-rocm,-cuda,-cpu]` instead.
''The option definition `services.ollama.acceleration' no longer has any effect; please remove it. Set `services.ollama.package` to one of `pkgs.ollama[,-vulkan,-rocm,-cuda,-cpu]` instead.''


The new syntax seems to be like this:
This compiles, but I haven't tested yet whether acceleration works correctly:


<code>services.ollama = {    enable = true;
    services.ollama = {     
    package = pkgs.ollama-rocm;
        enable = true;
  };</code> [[User:Cymno|Cymno]] ([[User talk:Cymno|talk]]) 21:27, 10 December 2025 (UTC)
        package = pkgs.ollama-rocm;
    };
Return to "Ollama" page.