Use new flake generation
Browse files
flake.nix
CHANGED
@@ -1,29 +1,14 @@
|
|
1 |
{
|
2 |
-
description = "Flake for
|
3 |
|
4 |
inputs = {
|
5 |
-
|
6 |
-
nixpkgs.follows = "kernel-builder/nixpkgs";
|
7 |
-
kernel-builder.url = "path:/home/daniel/git/kernel-builder";
|
8 |
};
|
9 |
|
10 |
outputs =
|
11 |
{
|
12 |
self,
|
13 |
-
flake-utils,
|
14 |
-
nixpkgs,
|
15 |
kernel-builder,
|
16 |
}:
|
17 |
-
|
18 |
-
|
19 |
-
devShells = rec {
|
20 |
-
default = shells.torch24-cxx98-cu124-x86_64-linux;
|
21 |
-
shells = kernel-builder.lib.${system}.torchExtensionShells ./.;
|
22 |
-
};
|
23 |
-
|
24 |
-
packages = {
|
25 |
-
bundle = kernel-builder.lib.${system}.buildTorchExtensionBundle ./.;
|
26 |
-
redistributable = kernel-builder.lib.${system}.buildDistTorchExtensions ./.;
|
27 |
-
};
|
28 |
-
});
|
29 |
}
|
|
|
1 |
{
|
2 |
+
description = "Flake for activation kernels";
|
3 |
|
4 |
inputs = {
|
5 |
+
kernel-builder.url = "git+ssh://git@github.com/huggingface/kernel-builder";
|
|
|
|
|
6 |
};
|
7 |
|
8 |
outputs =
|
9 |
{
|
10 |
self,
|
|
|
|
|
11 |
kernel-builder,
|
12 |
}:
|
13 |
+
kernel-builder.lib.genFlakeOutputs ./.;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
}
|