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

Improve candle_core::Error to make it more ergonomic #21

Merged
merged 16 commits into from
Sep 11, 2024

Conversation

EricLBuehler
Copy link
Owner

No description provided.

LaurentMazare and others added 15 commits August 22, 2024 09:23
* onnx: workaround pow with negative base

rather than fully defining pow in the cpu backend (as in huggingface#2318),
this implements a much smaller change which is sufficient to evaluate silero-vad
onnx models. Specifically, checking if pow is run with 2.0 exponent, and if so
evaluate as simply `x*x` instead of the cpu backend of `e^(2.0 * ln(x))`.

* PR: use Tensor::powf insead

powf correctly handles a negative base.
index_select does not support negative indexing, but
this change adds just enough workarounds in onnx to
allow evaluating silero-vad models (which make use of
negative indices).
* silero-vad v5 example

This change adds an example of how to run silero-vad v5

* PR: rename 'vad' to 'silero-vad'

* Update README.md

---------

Co-authored-by: Laurent Mazare <laurent.mazare@gmail.com>
…gingface#2442)

* Fix for parler-tts, do not add the last slice of padding tokens.

* Support for the mini model.
* Update cudarc to 0.12.

* Some cudnn tweaks.
* correct optional SE layer dimensions.
 * head_dim instead of num_heads is 32.
 * update test example output.
* Allow loading images with given std and mean

* OpenCLIP text encoder component

* Two MobileCLIP models

* Clippy fixes.

---------

Co-authored-by: Laurent <laurent.mazare@gmail.com>
* fix FLUX.1 weights

* added flux1-dev.safetensors
* Clippy fixes for 1.81.0.

* Another fix.
@EricLBuehler EricLBuehler merged commit ad84486 into main Sep 11, 2024
10 of 11 checks passed
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.

6 participants