mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Hardware/AMD/ROCm] fix rocmlir
This commit is contained in:
parent
10cfa77319
commit
ec1d52bc25
1 changed files with 4 additions and 4 deletions
|
|
@ -53,7 +53,7 @@ in {
|
||||||
environment.systemPackages = with pkgs;
|
environment.systemPackages = with pkgs;
|
||||||
[
|
[
|
||||||
rocmPackages.rocm-smi
|
rocmPackages.rocm-smi
|
||||||
rocmPackages.meta.rocm-ml-libraries
|
#rocmPackages.meta.rocm-ml-libraries
|
||||||
rocmPackages.meta.rocm-hip-runtime
|
rocmPackages.meta.rocm-hip-runtime
|
||||||
|
|
||||||
#pkgs.autoDetectGPU
|
#pkgs.autoDetectGPU
|
||||||
|
|
@ -98,11 +98,11 @@ in {
|
||||||
rocmPackages = prev.rocmPackages // rec {
|
rocmPackages = prev.rocmPackages // rec {
|
||||||
rocmlir = prev.rocmPackages.rocmlir.overrideAttrs (finalAttrs: previousAttrs: {
|
rocmlir = prev.rocmPackages.rocmlir.overrideAttrs (finalAttrs: previousAttrs: {
|
||||||
patches = [
|
patches = [
|
||||||
{
|
(prev.fetchpatch {
|
||||||
name = "fix-mlir-Conversion-RocMLIRPasses.h.inc-not-found.patch";
|
name = "fix-mlir-Conversion-RocMLIRPasses.h.inc-not-found.patch";
|
||||||
url = "https://patch-diff.githubusercontent.com/raw/ROCm/rocMLIR/pull/1640.patch";
|
url = "https://patch-diff.githubusercontent.com/raw/ROCm/rocMLIR/pull/1640.patch";
|
||||||
hash = "";
|
hash = "sha256-przg1AQZTiVbVd/4wA+KlGXu/RISO5n11FBkmUFKRSA=";
|
||||||
}
|
})
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue