lkajsdlakjsdlkjasd
This commit is contained in:
@@ -37,6 +37,8 @@
|
||||
virtualisation.podman.enableNvidia = lib.mkDefault true; # deprecated
|
||||
hardware.nvidia-container-toolkit.enable = lib.mkDefault true;
|
||||
|
||||
services.ollama.acceleration = lib.mkDefault "cuda";
|
||||
|
||||
# only do these per-host
|
||||
|
||||
#hardware.nvidia.open = lib.mkDefault true; # open source version of kernel module, only on driver 515.43.04+
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
nixpkgs.config.vdpauSupport = true;
|
||||
nixpkgs.config.vaapiSupport = true;
|
||||
|
||||
services.ollama.acceleration = lib.mkDefault "rocm";
|
||||
}
|
||||
(lib.mkIf (lib.versionAtLeast (lib.versions.majorMinor lib.version) "24.05") {
|
||||
hardware.amdgpu.opencl.enable = lib.mkDefault true;
|
||||
|
||||
Reference in New Issue
Block a user