Skip to content

Conversation

@danieldk
Copy link
Member

Fixes #131.

@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.

@danieldk
Copy link
Member Author

We might want to support cpu kernels in the future (not sure if it's worth it), but it requires a bit more design/spec'ing. cpu is really different from the other device types, since the other types are mutually exclusive (so we can auto-detect in get_kernel) whereas cpu is not mutually exclusive. So, if we'd hook it up as-is, get_kernel would load the CUDA kernel if the Torch build supports it.

Copy link
Collaborator

@drbh drbh left a comment

Choose a reason for hiding this comment

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

LGTM!

@danieldk danieldk merged commit 7611021 into main Aug 25, 2025
13 checks passed
@danieldk danieldk deleted the remove-cpu-references branch August 25, 2025 14:26
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.

Bug: "cpu" kernels are not supported

3 participants