From bcfcfae7d4fd06646b23b4e12782f8c123b83c2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20de=20Kok?= Date: Mon, 4 May 2026 13:58:32 +0000 Subject: [PATCH 1/2] relu: build Metal/CUDA for Torch 2.12 --- relu/flake.lock | 19 ++++++++++--------- relu/flake.nix | 2 +- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/relu/flake.lock b/relu/flake.lock index a6449ee9..1413b98e 100644 --- a/relu/flake.lock +++ b/relu/flake.lock @@ -41,26 +41,27 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1777309065, - "narHash": "sha256-AOrbnyvPCRi9I6wYhT/F4+LMCCUWkJEqbzQQW500u5c=", + "lastModified": 1777901020, + "narHash": "sha256-m54hEdh1kK+pDcRfJDwN0P861X5VWpC/yZ1TjTwshtA=", "owner": "huggingface", "repo": "kernels", - "rev": "013b0e1326df42215dc5abe1e9095445b1075d09", + "rev": "614c6bb2ee922a832852cb5562d5571cd9600a9c", "type": "github" }, "original": { "owner": "huggingface", + "ref": "torch-2.12", "repo": "kernels", "type": "github" } }, "nixpkgs": { "locked": { - "lastModified": 1774935083, - "narHash": "sha256-Mh6bLcYAcENBAZk3RoMPMFCGGMZmfaGMERE4siZOgP4=", + "lastModified": 1776927958, + "narHash": "sha256-XOzEtft7E0P6TgQViLUOQeGHlEYiQ0+FY24BPEksj6s=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "2f4fd5e1abf9bac8c1d22750c701a7a5e6b524c6", + "rev": "fec2c46cca5bf9767486a290abae51200b656d69", "type": "github" }, "original": { @@ -83,11 +84,11 @@ ] }, "locked": { - "lastModified": 1774926780, - "narHash": "sha256-JMdDYn0F+swYBILlpCeHDbCSyzqkeSGNxZ/Q5J584jM=", + "lastModified": 1776914043, + "narHash": "sha256-qug5r56yW1qOsjSI99l3Jm15JNT9CvS2otkXNRNtrPI=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "962a0934d0e32f42d1b5e49186f9595f9b178d2d", + "rev": "2d35c4358d7de3a0e606a6e8b27925d981c01cc3", "type": "github" }, "original": { diff --git a/relu/flake.nix b/relu/flake.nix index a82f1b94..1f3096f7 100644 --- a/relu/flake.nix +++ b/relu/flake.nix @@ -2,7 +2,7 @@ description = "Flake for ReLU kernel"; inputs = { - kernel-builder.url = "github:huggingface/kernels"; + kernel-builder.url = "github:huggingface/kernels/torch-2.12"; }; outputs = From 23cd904105c630a7480afbd7df1d9bc0096f67a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20de=20Kok?= Date: Tue, 5 May 2026 18:29:20 +0000 Subject: [PATCH 2/2] Update flake --- relu/flake.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/relu/flake.lock b/relu/flake.lock index 1413b98e..55565572 100644 --- a/relu/flake.lock +++ b/relu/flake.lock @@ -41,11 +41,11 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1777901020, - "narHash": "sha256-m54hEdh1kK+pDcRfJDwN0P861X5VWpC/yZ1TjTwshtA=", + "lastModified": 1777997030, + "narHash": "sha256-TSEimhnd42QmipBJWN+MniwRTKMjuBH8a5u2pbgbJcM=", "owner": "huggingface", "repo": "kernels", - "rev": "614c6bb2ee922a832852cb5562d5571cd9600a9c", + "rev": "d2a72d5a71684282e07e6b3e993fde75654b9e8d", "type": "github" }, "original": {