You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The batched_mul_generic! is really slow on both cpu and gpu, but somehow it isn't something easy to find. It might worth displaying a one time warning like the cuda scalar indexing warning.
Between this and #475 I wonder if we shouldn't have a more general "slow fallback" policy like other libraries do. The simplest version of this would be toggleable warnings when generic methods are called. Could this be generalized and/or made more sophisticated?
Activity
ToucheSir commentedon Feb 26, 2023
Between this and #475 I wonder if we shouldn't have a more general "slow fallback" policy like other libraries do. The simplest version of this would be toggleable warnings when generic methods are called. Could this be generalized and/or made more sophisticated?
mcabbott commentedon Nov 7, 2024
The slow paths for
conv
do print warnings, sobatched_mul!
could at least follow that.Agree that ideally there would be a way to make these errors, like CUDA. (Whose default is now error not warning.)
Xref FluxML/Flux.jl#2454, about adding some similar switch.