transformers
78fa17cb - Warn once when a hub-kernel function falls back to its reference PyTorch path (#48185)

Commit
10 days ago
Warn once when a hub-kernel function falls back to its reference PyTorch path (#48185) * Warn once when a hub-kernel function falls back to its reference PyTorch path * Name the pip distribution for causal_conv1d too * Keep the logger out of traced graphs, drop the distribution map * Trim the comments * Move the distribution name next to its only use * Say how much slower the reference path is * Reword the comment to say what the code does * Update src/transformers/integrations/hub_kernels.py Co-authored-by: Anton Vlasjuk <73884904+vasqu@users.noreply.github.com> * Move the distribution alias next to the internal path mapping --------- Co-authored-by: q <q@h> Co-authored-by: Anton Vlasjuk <73884904+vasqu@users.noreply.github.com>
Author
Parents
Loading