This website works better with JavaScript
GitBross
Home
Explore
Help
Register
Sign In
sol_87yf6cwp
/
LLMs-from-scratch
mirror of
https://github.com/br8bit/LLMs-from-scratch.git
Watch
1
Star
0
Fork
0
Files
Issues
0
Wiki
Tree:
4e61dc4224
Branches
Tags
main
LLMs-from-scrat...
/
ch03
/
02_bonus_efficient-multihead-attention
Sebastian Raschka
4e61dc4224
Fix d_out code comment in bonus materials (
#715
)
4 months ago
..
README.md
ad12c8da06
Einsum multi-head attention (
#345
)
1 year ago
mha-implementations.ipynb
4e61dc4224
Fix d_out code comment in bonus materials (
#715
)
4 months ago
README.md
More Efficient Multi-Head Attention Implementations
mha-implementations.ipynb
contains and compares different implementations of multi-head attention
Summary
The figures below summarize the performance benchmarks (lower is better).
Forward pass only
Forward and backward pass
Forward and backward pass after compilation