Skip to content

Commit

Permalink
flake.nix: rocm not yet supported on aarch64, so hide the output
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeoneSerge authored and philiptaron committed Dec 31, 2023
1 parent 1e3900e commit a5c088d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
{
config,
lib,
system,
pkgs,
pkgsCuda,
pkgsRocm,
Expand Down Expand Up @@ -103,10 +104,12 @@
// lib.optionalAttrs pkgs.stdenv.isLinux {
opencl = config.packages.default.override { useOpenCL = true; };
cuda = config.legacyPackages.llamaPackagesCuda.llama-cpp;
rocm = config.legacyPackages.llamaPackagesRocm.llama-cpp;

mpi-cpu = 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;
};
};
};
Expand Down

0 comments on commit a5c088d

Please sign in to comment.