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:
parent
3f3eef5f28
commit
b032bbfabb
1 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue