<?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>http://localhost:4321/</link><language>en-us</language><item><title>Rethinking Quantization-Aware Training: Why Your QAT Length is Probably Wrong</title><link>http://localhost:4321/rethinking-quantization-aware-training-why-your-qat-length-is-probably-wrong/</link><guid isPermaLink="true">http://localhost:4321/rethinking-quantization-aware-training-why-your-qat-length-is-probably-wrong/</guid><description>Training quantized neural networks involves a fundamental trade-off: how should you divide your compute budget between full-precision pretraining and quantization-aware training?</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>http://localhost:4321/understanding-flash-attention-writing-the-algorithm-from-scratch-in-triton/</link><guid isPermaLink="true">http://localhost:4321/understanding-flash-attention-writing-the-algorithm-from-scratch-in-triton/</guid><description>Why is Flash Attention so fast? Find out how Flash Attention works. Afterward, we&apos;ll polish 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>http://localhost:4321/speed-up-pytorch-with-custom-kernels-but-it-gets-progressively-darker/</link><guid isPermaLink="true">http://localhost:4321/speed-up-pytorch-with-custom-kernels-but-it-gets-progressively-darker/</guid><description>It&apos;s all about making your models run faster, from flicking a magic “compile” switch to writing your own custom GPU code. In each step, we’ll implement an innocent 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>http://localhost:4321/simple-ways-to-speedup-your-pytorch-model-training/</link><guid isPermaLink="true">http://localhost:4321/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>http://localhost:4321/swift-actors-common-problems-and-tips/</link><guid isPermaLink="true">http://localhost:4321/swift-actors-common-problems-and-tips/</guid><description>Swift actors are a powerful tool to address data races and make your code thread-safe. However, it is also quite a sophisticated concept that requires deep understanding to write efficient and 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>http://localhost:4321/i-contributed-to-pytorch-heres-what-i-learned/</link><guid isPermaLink="true">http://localhost:4321/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>http://localhost:4321/conquer-data-races-with-swift-actors/</link><guid isPermaLink="true">http://localhost:4321/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>http://localhost:4321/dive-into-swifts-memory-management/</link><guid isPermaLink="true">http://localhost:4321/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>http://localhost:4321/data-binding-in-swiftui-tips-tricks-and-best-practices/</link><guid isPermaLink="true">http://localhost:4321/data-binding-in-swiftui-tips-tricks-and-best-practices/</guid><description>Want to create dynamic and responsive user interfaces in SwiftUI? Data binding is the key! In this tutorial, I&apos;ll show you how to use @State, @ObservedObject, @EnvironmentObject, and @Binding to keep your user interface in sync with your data</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>http://localhost:4321/ios-app-as-a-microservice-using-swiftui-in-modular-app/</link><guid isPermaLink="true">http://localhost:4321/ios-app-as-a-microservice-using-swiftui-in-modular-app/</guid><description>The modular architecture is excellent. But how to implement it effectively with SwiftUI? From its core, SwiftUI is state-driven, and it can be tricky to modularize an app and define exact responsibility borders. </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>http://localhost:4321/ios-app-as-a-microservice-modularize-your-app-with-tuist/</link><guid isPermaLink="true">http://localhost:4321/ios-app-as-a-microservice-modularize-your-app-with-tuist/</guid><description>This is the second article in a series on modular app architecture. In this post, I will cover implementation details using Tuist</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>http://localhost:4321/ios-app-as-a-microservice-build-robust-app-architecture/</link><guid isPermaLink="true">http://localhost:4321/ios-app-as-a-microservice-build-robust-app-architecture/</guid><description>What will you choose: MVVM, MVC, VIPER? Those all are local and problem-specific architectures. But how to structure your app on a larger scale to make it scalable and well-organized?</description><pubDate>Fri, 16 Sep 2022 07:43:25 GMT</pubDate></item><item><title>Exploring SwiftUI Layout Protocol | Creating Custom Layout</title><link>http://localhost:4321/exploring-swiftui-layout-protocol-creating-custom-layout/</link><guid isPermaLink="true">http://localhost:4321/exploring-swiftui-layout-protocol-creating-custom-layout/</guid><description>Apple introduces new SwiftUI&apos;s Layout protocol with the release of iOS 16. It is a powerful tool for constructing custom views with SwiftUI elegance.</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>http://localhost:4321/swiftui-navigation-is-a-mess-heres-what-you-can-do/</link><guid isPermaLink="true">http://localhost:4321/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>http://localhost:4321/suffix-automaton-and-rickroll/</link><guid isPermaLink="true">http://localhost:4321/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>http://localhost:4321/using-threads-in-swift/</link><guid isPermaLink="true">http://localhost:4321/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>http://localhost:4321/swiftui-advanced-animation/</link><guid isPermaLink="true">http://localhost:4321/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 fast computations.</description><pubDate>Thu, 05 May 2022 04:00:00 GMT</pubDate></item><item><title>New Package: Look at Swift Async Algorithms</title><link>http://localhost:4321/swift-async-algorithms-module/</link><guid isPermaLink="true">http://localhost:4321/swift-async-algorithms-module/</guid><description>Apple released the first version of the async swift algorithms package. It provides tools and algorithms to use with the introduced not that far ago Async Sequence</description><pubDate>Wed, 27 Apr 2022 20:21:00 GMT</pubDate></item><item><title>Treap: The Easiest Search Tree (Explained)</title><link>http://localhost:4321/treap-algorithm-explained/</link><guid isPermaLink="true">http://localhost:4321/treap-algorithm-explained/</guid><description>Binary search trees are mostly hard. Writing red-black tree is a nightmare. Here, 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>http://localhost:4321/swift-type-placeholders/</link><guid isPermaLink="true">http://localhost:4321/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>http://localhost:4321/quick-guide-to-async-await-in-swift/</link><guid isPermaLink="true">http://localhost:4321/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>http://localhost:4321/top-7-subtle-swift-features/</link><guid isPermaLink="true">http://localhost:4321/top-7-subtle-swift-features/</guid><description>Here, 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>http://localhost:4321/note-taking-apps/</link><guid isPermaLink="true">http://localhost:4321/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>http://localhost:4321/mystery-of-mach-o-object-file-builders/</link><guid isPermaLink="true">http://localhost:4321/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>http://localhost:4321/skip-list-indexation-and-kth-maximum/</link><guid isPermaLink="true">http://localhost:4321/skip-list-indexation-and-kth-maximum/</guid><description>Skip List is a nice structure that lets you to perform insertions, searches, and finding n-th maximum. In this post I focus 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>http://localhost:4321/how-deep-neural-networks-train/</link><guid isPermaLink="true">http://localhost:4321/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>