Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onnx eval: implement Slice op #2260

Merged
merged 1 commit into from
Jun 12, 2024
Merged

onnx eval: implement Slice op #2260

merged 1 commit into from
Jun 12, 2024

Conversation

shua
Copy link
Contributor

@shua shua commented Jun 9, 2024

As part of my effort to get silero_vad v4 running, I have also implemented the onnx "Slice" operation.

This change also contains a small fix for the "Cast" operator, specifically to support onnx "bool" datatypes which I've chosen in the "If" op to be represented as u8. This needed a small change to the dtype helper function to pass through "Cast" correctly.

@LaurentMazare LaurentMazare merged commit 2b10aaa into huggingface:main Jun 12, 2024
10 checks passed
@LaurentMazare
Copy link
Collaborator

Thanks!

@shua shua deleted the slice branch June 12, 2024 13:18
EricLBuehler pushed a commit to EricLBuehler/candle that referenced this pull request Jun 29, 2024
@shua shua mentioned this pull request Jul 7, 2024
9 tasks
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.

None yet

2 participants