mirror of
https://github.com/huggingface/kernels.git
synced 2025-10-20 21:10:02 +08:00
* add an uploading utility. * format * remove stale files. * black format * sorted imports. * up * up * add a test * propagate. * remove duplicate imports. * Apply suggestions from code review Co-authored-by: Daniël de Kok <me@danieldk.eu> * up * up * up * command to format all files at once would be nice. * up * up * up * Use token for upload test * assign env better. * docs * polish * up * xfail the test for now. --------- Co-authored-by: Daniël de Kok <me@danieldk.eu>
554 B
554 B
Kernels CLI Reference
Main Functions
kernels upload
Use kernels upload <dir_containing_build> --repo_id="hub-username/kernel"
to upload
your kernel builds to the Hub.
Notes:
- This will take care of creating a repository on the Hub with the
repo_id
provided. - If a repo with the
repo_id
already exists and if it contains abuild
with the build variant being uploaded, it will attempt to delete the files existing under it. - Make sure to be authenticated (run
hf auth login
if not) to be able to perform uploads to the Hub.