Fix current issues compiling hipblaslt

...disables GPU acceleration, but better than running out of ram when it fails to build
This commit is contained in:
Chris (wolcen) Thompson 2025-10-15 14:56:46 -04:00
parent 3f3eef5f28
commit b032bbfabb

View file

@ -388,7 +388,7 @@ in
pkgs.libcap pkgs.libcap
pkgs.libva pkgs.libva
pkgs.mesa pkgs.mesa
pkgs.rocmPackages.clr.icd #pkgs.rocmPackages.clr.icd ...no idea if this is causing the rocm-related build fail.
#pkgs.pcre2 #pkgs.pcre2
#pkgs.libselinux #pkgs.libselinux
#pkgs.rocmPackages.rocblas #pkgs.rocmPackages.rocblas
@ -410,7 +410,7 @@ in
services.ollama = { services.ollama = {
enable = true; enable = true;
acceleration = "rocm"; #acceleration = "rocm"; hipblaslt not compiling at present
environmentVariables = { environmentVariables = {
HCC_AMDGPU_TARGET = "gfx1031"; # used to be necessary, but doesn't seem to anymore HCC_AMDGPU_TARGET = "gfx1031"; # used to be necessary, but doesn't seem to anymore
OLLAMA_LOAD_TIMEOUT = "2m"; # Reduce load timeout (from 5 min)...if it's that big, forget it. OLLAMA_LOAD_TIMEOUT = "2m"; # Reduce load timeout (from 5 min)...if it's that big, forget it.