File size: 778 Bytes
be218ea |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
{
description = "Flake for quantization kernels";
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.follows = "kernel-builder/nixpkgs";
kernel-builder.url = "path:/home/daniel/git/kernel-builder";
};
outputs =
{
self,
flake-utils,
nixpkgs,
kernel-builder,
}:
flake-utils.lib.eachSystem [ flake-utils.lib.system.x86_64-linux ] (system: {
devShells = rec {
default = shells.torch24-cxx98-cu124-x86_64-linux;
shells = kernel-builder.lib.${system}.torchExtensionShells ./.;
};
packages = {
bundle = kernel-builder.lib.${system}.buildTorchExtensionBundle ./.;
redistributable = kernel-builder.lib.${system}.buildDistTorchExtensions ./.;
};
});
}
|