-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
reference to huggingface/kernel-builder#283
hi @LoserCheems just opening this issue to respond to the issue opened in the deprecated kernel-builder repo.
thanks for checking out the project. I see that you had some issues building a kernel and I would like to suggest retrying with the latest repo/changes.
example flake that may work in your case
{
description = "Flake for xyz kernels";
inputs = {
self.submodules = true;
kernel-builder.url = "github:huggingface/kernels";
};
outputs =
{
self,
kernel-builder,
}:
kernel-builder.lib.genKernelFlakeOutputs {
inherit self;
path = ./.;
};
}also we've added a new way to add python dependencies via the build.toml file
[general]
name = "some-kernel"
license = "MIT"
backends = ["cuda"]
version = 1
python-depends = ["einops"]
...also I see you're working on porting the flash-dmattn. If you continue to run into build issue and have a repo/code to share, we'd be happy to take a look and share advice to get it building!
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels