8 Comments
User's avatar
Salim Fakhouri's avatar

I'm unable to access the excel link

D Nguyen's avatar

Hi prof, I'm unable to access the excel sheet

mu's avatar

Unable to access the Excel file. Please provide access

Praveen's avatar

Unable to access the link like other users

VJAnand's avatar

Prof Tom, I was reviewing your video on masking, I think in one of the section you mention that CUDA avoids computing those dot products. I just want to point that in vanilla CUDA implementations, the computation with all masked tokens are performed (actually it is much faster than branching) later the mask is applied before computing the softmax. Alternatively with FlashAttention Kernels, we can see more optimization in terms of how blocks are considered and it checks whether it is all masked or unmasked or partial to determine when to compute.

I thought I will point that out.

BTW, I enjoy your lectures. Please continue with your great work

VJ