# Chris McCormick · Machine Learning Tutorials and Insights > Chris McCormick · Machine Learning Tutorials and Insights Chris McCormick Research Archive Machine Learning Tutorials and Insights -----> Watch, Code, Master: ML tutorials that actually work → Start learning today! ---> Exploring the inner workings of Transformers Optimizing Training with FlashAttention varlen 23 Mar 2026 I’ve come to think of varlen primarily as the most efficient FlashAttention variant for training (it’s not used for generating tokens) because it handles our technique of “processing a batch of examples” more efficiently–by treating them as one long concatenated sequence, rather than adding an additional “batch dimension” to the input tensors, which handles varying… Location: Global ## Categories - Education & Training ## Documents - [Business profile](https://directory.websdocs.com/business/chris-mccormick-and-middot-machine-learning-tutorials-and-insights) - [Directory JSON](https://directory.websdocs.com/business/chris-mccormick-and-middot-machine-learning-tutorials-and-insights.json) - [Schema.org JSON-LD](https://directory.websdocs.com/business/chris-mccormick-and-middot-machine-learning-tutorials-and-insights/schema.jsonld) - [Directory sitemap](https://directory.websdocs.com/sitemap.xml) - [Directory discovery manifest](https://directory.websdocs.com/.well-known/asg-directory.json) - [Directory OpenAPI](https://directory.websdocs.com/api/openapi.json) - [Official website](https://mccormickml.com/)