<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Alex Dremov</title><description>I&apos;m a Machine Learning Researcher and Engineer. Here I write posts on the intersection of deep learning theory and efficient machine learning</description><link>https://alexdremov.me/</link><language>en-us</language><item><title>Managing Thousands of DL Experiments and Staying Sane</title><link>https://alexdremov.me/managing-thousands-of-dl-experiments-and-staying-sane/</link><guid isPermaLink="true">https://alexdremov.me/managing-thousands-of-dl-experiments-and-staying-sane/</guid><description>At scale, launching ML research experiments is already complicated. Analyzing them without proper planning is just impossible.</description><pubDate>Tue, 07 Jul 2026 08:05:07 GMT</pubDate></item><item><title>Rethinking Quantization-Aware Training: Why Your QAT Length is Probably Wrong</title><link>https://alexdremov.me/rethinking-quantization-aware-training-why-your-qat-length-is-probably-wrong/</link><guid isPermaLink="true">https://alexdremov.me/rethinking-quantization-aware-training-why-your-qat-length-is-probably-wrong/</guid><description>The optimal QAT fraction increases with scale. We research how long to train QAT to get the best results, and what bit size is the best
</description><pubDate>Thu, 30 Oct 2025 20:37:42 GMT</pubDate></item><item><title>Understanding Flash Attention: Writing the Algorithm from Scratch in Triton</title><link>https://alexdremov.me/understanding-flash-attention-writing-the-algorithm-from-scratch-in-triton/</link><guid isPermaLink="true">https://alexdremov.me/understanding-flash-attention-writing-the-algorithm-from-scratch-in-triton/</guid><description>Find out how Flash Attention works. Afterward, we&apos;ll refine our understanding by writing a GPU kernel of the algorithm in Triton.</description><pubDate>Sun, 12 Jan 2025 18:36:55 GMT</pubDate></item><item><title>Speed Up PyTorch With Custom Kernels. But It Gets Progressively Darker</title><link>https://alexdremov.me/speed-up-pytorch-with-custom-kernels-but-it-gets-progressively-darker/</link><guid isPermaLink="true">https://alexdremov.me/speed-up-pytorch-with-custom-kernels-but-it-gets-progressively-darker/</guid><description>It&apos;s all about making your models run faster. In each step, we’ll implement a fast softmax function, but things are about to get dark by the end</description><pubDate>Sat, 04 Jan 2025 00:34:24 GMT</pubDate></item><item><title>Simple Ways to Speed Up Your PyTorch Model Training</title><link>https://alexdremov.me/simple-ways-to-speedup-your-pytorch-model-training/</link><guid isPermaLink="true">https://alexdremov.me/simple-ways-to-speedup-your-pytorch-model-training/</guid><description>If all machine learning engineers want one thing, it&apos;s faster model training — maybe after good test metrics.</description><pubDate>Tue, 28 May 2024 20:16:11 GMT</pubDate></item><item><title>Swift Actors — Common Problems and Tips</title><link>https://alexdremov.me/swift-actors-common-problems-and-tips/</link><guid isPermaLink="true">https://alexdremov.me/swift-actors-common-problems-and-tips/</guid><description>Swift actors are a powerful tool. However, it is also quite a sophisticated concept that requires deep understanding to write bug-free code</description><pubDate>Tue, 13 Jun 2023 12:32:57 GMT</pubDate></item><item><title>I Contributed to PyTorch. Here&apos;s What I Learned</title><link>https://alexdremov.me/i-contributed-to-pytorch-heres-what-i-learned/</link><guid isPermaLink="true">https://alexdremov.me/i-contributed-to-pytorch-heres-what-i-learned/</guid><description>When you see something that does not work in an omnipresent framework, you believe it can&apos;t be completely broken, right?</description><pubDate>Mon, 20 Mar 2023 16:23:35 GMT</pubDate></item><item><title>Conquer Data Races with Swift Actors</title><link>https://alexdremov.me/conquer-data-races-with-swift-actors/</link><guid isPermaLink="true">https://alexdremov.me/conquer-data-races-with-swift-actors/</guid><description>Unleash the power of Swift concurrency with Actors! Get all the information you need in this comprehensive article</description><pubDate>Tue, 07 Feb 2023 19:08:18 GMT</pubDate></item><item><title>Dive into Swift&apos;s Memory Management</title><link>https://alexdremov.me/dive-into-swifts-memory-management/</link><guid isPermaLink="true">https://alexdremov.me/dive-into-swifts-memory-management/</guid><description>Swift uses ARC to track and deallocate unused objects. Learn about the three types of reference counts and how ARC works — in this detailed post.</description><pubDate>Sun, 08 Jan 2023 19:33:03 GMT</pubDate></item><item><title>Data Binding in SwiftUI: Tips, Tricks, and Best Practices</title><link>https://alexdremov.me/data-binding-in-swiftui-tips-tricks-and-best-practices/</link><guid isPermaLink="true">https://alexdremov.me/data-binding-in-swiftui-tips-tricks-and-best-practices/</guid><description>Master data binding with this comprehensive tutorial. Learn how to use @State, @ObservedObject, @EnvironmentObject to create dynamic UI.</description><pubDate>Fri, 30 Dec 2022 13:16:07 GMT</pubDate></item><item><title>iOS App As a Microservice. Using SwiftUI in Modular App</title><link>https://alexdremov.me/ios-app-as-a-microservice-using-swiftui-in-modular-app/</link><guid isPermaLink="true">https://alexdremov.me/ios-app-as-a-microservice-using-swiftui-in-modular-app/</guid><description>How to implement modular architecture effectively with SwiftUI? In this post, I will describe tips on using SwiftUI with modular app design</description><pubDate>Wed, 19 Oct 2022 13:00:23 GMT</pubDate></item><item><title>iOS App As a Microservice. Modularize Your App With Tuist</title><link>https://alexdremov.me/ios-app-as-a-microservice-modularize-your-app-with-tuist/</link><guid isPermaLink="true">https://alexdremov.me/ios-app-as-a-microservice-modularize-your-app-with-tuist/</guid><description>I will cover implementation details using Tuist. It is an excellent CLI that helps you generate, maintain and interact with Xcode projects</description><pubDate>Fri, 07 Oct 2022 10:14:04 GMT</pubDate></item><item><title>iOS App As a Microservice. Build Robust App Architecture</title><link>https://alexdremov.me/ios-app-as-a-microservice-build-robust-app-architecture/</link><guid isPermaLink="true">https://alexdremov.me/ios-app-as-a-microservice-build-robust-app-architecture/</guid><description>MVVM, MVC, VIPER? Those all are problem-specific architectures. How to structure your app on a larger scale? More in this post </description><pubDate>Fri, 16 Sep 2022 07:43:25 GMT</pubDate></item><item><title>Exploring SwiftUI Layout Protocol | Creating Custom Layout</title><link>https://alexdremov.me/exploring-swiftui-layout-protocol-creating-custom-layout/</link><guid isPermaLink="true">https://alexdremov.me/exploring-swiftui-layout-protocol-creating-custom-layout/</guid><description>Apple introduces new SwiftUI&apos;s Layout protocol with the release of iOS 16. In this post, I will discuss the protocol and implement a custom view</description><pubDate>Thu, 11 Aug 2022 21:00:18 GMT</pubDate></item><item><title>SwiftUI Navigation Is a Mess. Here’s What You Can Do</title><link>https://alexdremov.me/swiftui-navigation-is-a-mess-heres-what-you-can-do/</link><guid isPermaLink="true">https://alexdremov.me/swiftui-navigation-is-a-mess-heres-what-you-can-do/</guid><description>Managing navigation in pure SwiftUI is hard and leads to messy solutions. In this post, I will show you how you can manage views effectively</description><pubDate>Sat, 30 Jul 2022 17:55:14 GMT</pubDate></item><item><title>Suffix Automaton and Rickroll Lyrics Graph</title><link>https://alexdremov.me/suffix-automaton-and-rickroll/</link><guid isPermaLink="true">https://alexdremov.me/suffix-automaton-and-rickroll/</guid><description>Easy to understand explanation of suffix automaton with implementation. Finally, generating correct Rickroll lyrics suffix automaton </description><pubDate>Sun, 17 Jul 2022 13:57:17 GMT</pubDate></item><item><title>Using Threads in Swift</title><link>https://alexdremov.me/using-threads-in-swift/</link><guid isPermaLink="true">https://alexdremov.me/using-threads-in-swift/</guid><description>Swift provides DispatchQueue as an excellent layer above raw threads. But sometimes you want to use a low-level thread API</description><pubDate>Fri, 13 May 2022 08:44:49 GMT</pubDate></item><item><title>SwiftUI Advanced Animation: Morphing Shapes</title><link>https://alexdremov.me/swiftui-advanced-animation/</link><guid isPermaLink="true">https://alexdremov.me/swiftui-advanced-animation/</guid><description>I&apos;m going to show how complex SwiftUI views can be animated efficiently using VectorArithmetic protocol with Accelerate library for computations.</description><pubDate>Thu, 05 May 2022 04:00:00 GMT</pubDate></item><item><title>New Package: Look at Swift Async Algorithms</title><link>https://alexdremov.me/swift-async-algorithms-module/</link><guid isPermaLink="true">https://alexdremov.me/swift-async-algorithms-module/</guid><description>Apple released an async swift algorithms package that introduces useful ways of working with asynchronous sequences</description><pubDate>Wed, 27 Apr 2022 20:21:00 GMT</pubDate></item><item><title>Treap: The Easiest Search Tree (Explained)</title><link>https://alexdremov.me/treap-algorithm-explained/</link><guid isPermaLink="true">https://alexdremov.me/treap-algorithm-explained/</guid><description>Binary search trees are hard. I&apos;m going to explain one of the easiest, yet efficient and powerful balanced binary tree — treap or cartesian tree.</description><pubDate>Mon, 25 Apr 2022 04:00:00 GMT</pubDate></item><item><title>Type Placeholders: New Swift 5.6 Feature</title><link>https://alexdremov.me/swift-type-placeholders/</link><guid isPermaLink="true">https://alexdremov.me/swift-type-placeholders/</guid><description>Type placeholders were recently introduced in Swift 5.6. Get in touch with new useful Swift feature.</description><pubDate>Thu, 21 Apr 2022 04:00:00 GMT</pubDate></item><item><title>Quick Guide to Async Await in Swift</title><link>https://alexdremov.me/quick-guide-to-async-await-in-swift/</link><guid isPermaLink="true">https://alexdremov.me/quick-guide-to-async-await-in-swift/</guid><description>Everything you need to know about new Swift asynchronous features. Async await, main actor, task, async get, and possible use cases — all covered</description><pubDate>Sat, 16 Apr 2022 08:50:00 GMT</pubDate></item><item><title>Top 7 Subtle Swift Features</title><link>https://alexdremov.me/top-7-subtle-swift-features/</link><guid isPermaLink="true">https://alexdremov.me/top-7-subtle-swift-features/</guid><description>I collected Swift features that are less known and can be useful when you prepare for interviews or want to deepen your Swift knowledge.</description><pubDate>Sat, 09 Apr 2022 10:41:05 GMT</pubDate></item><item><title>Note-taking apps</title><link>https://alexdremov.me/note-taking-apps/</link><guid isPermaLink="true">https://alexdremov.me/note-taking-apps/</guid><description>Here I cover note-taking apps for productivuty and creating your own knowledge database</description><pubDate>Wed, 18 Aug 2021 16:51:00 GMT</pubDate></item><item><title>The Mystery of Mach-O Object Structure</title><link>https://alexdremov.me/mystery-of-mach-o-object-file-builders/</link><guid isPermaLink="true">https://alexdremov.me/mystery-of-mach-o-object-file-builders/</guid><description>I’m going to tell you about the internals of the Mach-O file and give an introduction to the simple relocatable object file structure</description><pubDate>Thu, 29 Apr 2021 19:59:09 GMT</pubDate></item><item><title>Skip List Indexation and kth Maximum</title><link>https://alexdremov.me/skip-list-indexation-and-kth-maximum/</link><guid isPermaLink="true">https://alexdremov.me/skip-list-indexation-and-kth-maximum/</guid><description>Skip list is a nice structure that lets you to perform insertions, searches, finding n-th maximum. In this post I fokus on skip list indexation</description><pubDate>Thu, 05 Nov 2020 22:49:32 GMT</pubDate></item><item><title>How Deep Neural Networks Work</title><link>https://alexdremov.me/how-deep-neural-networks-train/</link><guid isPermaLink="true">https://alexdremov.me/how-deep-neural-networks-train/</guid><description>Here, I combine the explanation of Neural Nets with coding. By the end, we will develop a basic neural network and try to solve usual problems</description><pubDate>Fri, 08 May 2020 02:25:40 GMT</pubDate></item></channel></rss>