Enabled rocm on ollama

This commit is contained in:
William 2024-03-22 16:28:02 -03:00
parent 3386c71451
commit 1d3ad5c7ae

View file

@ -29,7 +29,8 @@
};
};
environment.systemPackages = with pkgs; [ ollama ];
environment.systemPackages = with pkgs;
[ (ollama.override { acceleration = "rocm"; }) ];
hardware.opengl.extraPackages = with pkgs; [ rocmPackages.clr.icd ];