danieldk HF staff commited on
Commit
0b7452b
·
1 Parent(s): b31d486

Use new flake generation

Browse files
Files changed (1) hide show
  1. flake.nix +3 -18
flake.nix CHANGED
@@ -1,29 +1,14 @@
1
  {
2
- description = "Flake for quantization kernels";
3
 
4
  inputs = {
5
- flake-utils.url = "github:numtide/flake-utils";
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
- flake-utils.lib.eachSystem [ flake-utils.lib.system.x86_64-linux ] (system: {
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
  }