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
This is an operation which appears in most transformer models, although some more recent ones use relatives such as RMSNorm. It can be parallelized by splitting the input over a non-normalized axis and applying normalization to each chunk separately.
From a quick experiment on a 4-core system I can get ~2x speedup quite easily.
The text was updated successfully, but these errors were encountered:
This is an operation which appears in most transformer models, although some more recent ones use relatives such as RMSNorm. It can be parallelized by splitting the input over a non-normalized axis and applying normalization to each chunk separately.
From a quick experiment on a 4-core system I can get ~2x speedup quite easily.
The text was updated successfully, but these errors were encountered: