Update CARD.md to include install tip when benchmarking#507
Update CARD.md to include install tip when benchmarking#507alvarobartt wants to merge 1 commit intohuggingface:mainfrom
CARD.md to include install tip when benchmarking#507Conversation
|
Oh it should actually be included in the card template so that we don't have to manually update the cards. The template: https://github.com/huggingface/kernels/blob/main/kernel-builder/src/init/templates/CARD.md |
|
Cc: @drbh |
One of the changes is in the init template, but requires regen of the card templates in the kernel repos. |
Sure, I can just create a quick script to do so on the kernels at https://huggingface.co/kernels-community/kernels programmatically opening PRs in there? |
Description
This PR updates the
CARD.mdcontent that goes into the Hugging Face Hub for the benchmarking section to include the installation instruction withpipincluding thebenchmarkextra.Note that this might be opinionated, so feel free to close if not relevant, I just found that useful when running the benchmarks as I had to
pip install kernels->kernels benchmark ...->Error: Missing dependencies for benchmark: tabulate\nInstall with: pip install 'kernels[benchmark]'->pip install "kernels[benchmark]".Thanks in advance! cc @sayakpaul @danieldk