Ehsan’s Blog
  • Home
  • Posts
  • About
 

Mojo GPU Puzzles Edition 1

A hands-on guide that teaches GPU programming through 34 progressive challenges - learn by doing, not lectures.

Oct 29, 2025
 

What Ownership is Really About: A Mental Model Approach

A deep dive into understanding ownership in programming through mental models - originally published on Modular’s blog.

Apr 23, 2025
 

Paged Attention & Prefix Caching Now Available in MAX Serve

Announcing state-of-the-art optimizations for LLM inference in MAX Serve - originally published on Modular’s blog.

Feb 6, 2025
 

Agentic Building Blocks: Creating AI Agents with MAX Serve and OpenAI Function Calling

Learn how to build AI agents by integrating MAX Serve with OpenAI’s function calling capabilities - originally published on Modular’s blog.

Jan 30, 2025
 

Hands-on with Mojo 24.6

A practical walkthrough of the new features in Mojo 24.6 - originally published on Modular’s blog.

Jan 21, 2025
 

Build a Continuous Chat Interface with Llama 3 and MAX Serve

A step-by-step guide to building a chat application using Llama 3 and MAX Serve - originally published on Modular’s blog.

Dec 17, 2024
 

Paged Attention & Prefix Caching Now Available in MAX Serve

Announcing state-of-the-art optimizations for LLM inference in MAX Serve - originally published on Modular’s blog.

Nov 1, 2024
 

Hands-on with Mojo 24.5

A practical walkthrough of the new features in Mojo 24.5 - originally published on Modular’s blog.

Oct 1, 2024
 

What’s New in MAX 24.4? MAX on macOS, Fast Local Llama3, Native Quantization and GGUF Support

Exploring the new features in MAX 24.4 including macOS support and Llama3 - originally published on Modular’s blog.

Jun 25, 2024
 

What Ownership is Really About: A Mental Model Approach

A deep dive into understanding ownership in programming through mental models - originally published on Modular’s blog.

May 29, 2024
 

Semantic Search with MAX Engine

Building semantic search applications using MAX Engine - originally published on Modular’s blog.

Mar 21, 2024

Modal Labs Deep Dive

In this post, we’re going to deep dive into one of my favourite tools that are revolutionizing how Python code is run in cloud and it’s especially aimed at the computing…
Dec 8, 2023

The Core of Attention is Communication

Over the past year, perhaps the most cited paper across the software industry is Attention is All You Need that is at the heart of ChatGPT and GPT transformer models. The…
Nov 23, 2023

Rust and Node.js: Harmonizing Performance and Safety

In the Rust world, the interaction between Python and Rust is very well-known through the amazing PyO3 ecosystem. There is a similar relation between Python and Javascript…
Nov 19, 2023
 

Notes on the Current State of LLM Frameworks

This post tries to shed some light on the rapidly changing LLM frameworks in particular, LangChain (LC) and Llama-index (LI).
Aug 13, 2023
 

Announcement 📢 Releasing dlpackrs

DLPack is the standard in-memory data format that facilitateszero-costtensor transfer across major Deep Learning frameworks (PyTorch, TensorFlow and TVM) and the supported…
Sep 20, 2022
 

Announcement 📢 Releasing smartalloc

If you happen to write unsafe code in Rust where normal static checks are not available and want better UX for detecting memory issues along side using various sanitizers…
Sep 7, 2022
 

Announcement 📢 Create your own programming language with Rust

After almost a year from my last blog post, in this short post I’m very happy to announce that I’m writing a free online book where early chapters are available now. I’ve…
Jun 8, 2020

Rust std study series: Pin

This time we dive into std::pin which has a dense documentation.
Aug 16, 2019

Rust std study series: alloc

Let’s get deep into std::alloc!
Jul 3, 2019

Rust std study series: Interior mutability

Continuing the standard library study, it’s time for Cell<T>!
Jun 18, 2019
 

The State of Machine Learning in Rust

Every once in a while this topic comes up on a social media or Rust user channel. I’d like to describe briefly the way I see where things are going by a little bit of…
May 13, 2019

Rust std study series: VecDeque

Continuing from Rust standard library study series, it’s time for VecDeque. Because of its similarity to Vec, there isn’t much to say.
Apr 28, 2019

Rust std study series: LinkedList

Continuing from Rust standard library study series, it’s time for LinkedList<T>. Note that implementation are taken fromRust stable v1.33.0.
Mar 25, 2019
 

Variance in Rust: An intuitive explanation

Recently I’ve made a presentation aboutsubtyping and variance in Rustfor our local Vancouver Rust meetup, but I still think intuition was rather lost in the formalism, so…
Mar 16, 2019

Rust std study series: Vec

The upcoming series of blog posts will contain my study of Rust standard library. I’ve partially written some parts of the series in scattered places and want to gather them…
Mar 10, 2019

hype2

NIPS, AI hype and the lost rigor

Warning: This post contains a mixture of excitements, frustrations and rants!
Dec 6, 2017

youtho

What’s up with word embedding?

Word embedding is one of the interesting areas of research in Natural Language Processing. There are huge amount of materials with a lot of interesting ideas. I have been…
Jul 12, 2017

vae

From Machine Learning to Formal Math and Type Theory

The idea of this post was sparkled from the new paperDeveloping Bug-Free Machine Learning Systems with Formal Mathematics.Meanwhile, I have had the idea of writing about…
Jun 30, 2017

simulation_2dplot.png

General Monty Hall Simulation

The idea of this post came up to my mind last night. I’m assuming you have already heard about the famous Monty Hall Problem (if you haven’t, watch the quicker intro in Numbe…
May 5, 2016

log_rev_hist

Restaurant Revenue Prediction with BART Machine

In this post, I’d like to show you how to use the newly written package onBayesian Additive Regression Treesi.e.BART Machine for Restaurant Revenue Prediction withR. The…
Sep 13, 2015
 

Vector Bundles, Locally Free Sheaves and Divisors on a Curve

In this post, I’ll be summarizing the basics of the correspondence between vector bundles, locally free sheaves and divisors on a smooth curve (defined over an algebraically…
Dec 6, 2012
 

Classification of Vector Bundles on Elliptic curves

I’m supposed to give a talk on this subject for one of my courses, so I consider this post as a “pre-exposition.” I learned from and heavily used the great exposition “Vector…
Nov 30, 2012
 

Some Homological Algebra Computations

In this post, I’m going to write down the detailed proofs of some of the exercises in Rotman’s Homological Algebra. They were asked in ML and then answered by me. >1. Let \(A…
Nov 26, 2012
No matching items
     

    © 2025 Ehsan M. Kermani