From d1d6fd9be564e4793ccace4fd8ed099ff5f78e40 Mon Sep 17 00:00:00 2001 From: aditya Date: Thu, 10 Aug 2023 12:59:55 +0530 Subject: [PATCH] fix runtime crash --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index c3406c7..48ed67c 100644 --- a/flake.nix +++ b/flake.nix @@ -45,7 +45,7 @@ cat ${./convert.py} >> $out/bin/llama-convert.py chmod +x $out/bin/llama-convert.py ''; - cmakeFlags = [ "-DLLAMA_BUILD_SERVER=ON" "-DLLAMA_MPI=ON" "-DBUILD_SHARED_LIBS=ON" "-DCMAKE_SKIP_BUILD_RPATH=ON" "-DLLAMA_LTO=ON" "-DLLAMA_SANITIZE_THREAD=OFF -DLAMMA_SANITIZE_ADRRESS=ON" "-DLLAMA_SANITIZE_UNDEFINED=ON" ]; + cmakeFlags = [ "-DLLAMA_BUILD_SERVER=ON" "-DLLAMA_MPI=ON" "-DBUILD_SHARED_LIBS=ON" "-DCMAKE_SKIP_BUILD_RPATH=ON" "-DLLAMA_LTO=ON" "-DLLAMA_SANITIZE_THREAD=OFF -DLAMMA_SANITIZE_ADRRESS=ON" "-DLLAMA_SANITIZE_UNDEFINED=OFF" ]; in { packages.default = pkgs.stdenv.mkDerivation { name = "llama.cpp";