Skip to content

Conversation

@drbh
Copy link
Collaborator

@drbh drbh commented Feb 10, 2026

This PR simply adds new docs for the init and benchmark subcommands

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


## Notes

- The `<repo>` part is normalized to lowercase, and `-` is replaced with `_`. For example, `my-user/My-Kernel` becomes a directory named `my_kernel` and a repo id `my-user/my_kernel`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I missed this when reviewing init, - should only be converted to lowercase in the Python package name (build/<variant>/my_kernel), not in the repo name, the kernel directory name, or the kernel name in build.toml. We prefer regular dashes there and maybe we should even do the opposite, let kernel init change my-user/my_kernel to myuser/my-kernel.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah yea great point, just pushed changes to prefer dashes in the dir the kernel name and underscores/lowercase in the python naming

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants