mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-25 05:48:47 +01:00
flake.nix: rocm not yet supported on aarch64, so hide the output
This commit is contained in:
parent
1e3900ebac
commit
a5c088d8c6
@ -74,6 +74,7 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
|
system,
|
||||||
pkgs,
|
pkgs,
|
||||||
pkgsCuda,
|
pkgsCuda,
|
||||||
pkgsRocm,
|
pkgsRocm,
|
||||||
@ -103,10 +104,12 @@
|
|||||||
// lib.optionalAttrs pkgs.stdenv.isLinux {
|
// lib.optionalAttrs pkgs.stdenv.isLinux {
|
||||||
opencl = config.packages.default.override { useOpenCL = true; };
|
opencl = config.packages.default.override { useOpenCL = true; };
|
||||||
cuda = config.legacyPackages.llamaPackagesCuda.llama-cpp;
|
cuda = config.legacyPackages.llamaPackagesCuda.llama-cpp;
|
||||||
rocm = config.legacyPackages.llamaPackagesRocm.llama-cpp;
|
|
||||||
|
|
||||||
mpi-cpu = config.packages.default.override { useMpi = true; };
|
mpi-cpu = config.packages.default.override { useMpi = true; };
|
||||||
mpi-cuda = config.packages.default.override { useMpi = true; };
|
mpi-cuda = config.packages.default.override { useMpi = true; };
|
||||||
|
}
|
||||||
|
// lib.optionalAttrs (system == "x86_64-linux") {
|
||||||
|
rocm = config.legacyPackages.llamaPackagesRocm.llama-cpp;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user