top of page


Implementing Linear Layers and Memory Optimizations on MLIR
In this article, I am expanding the basic pipeline from the previous article to support a Linear Layer (the foundational building block of modern neural networks). At the hardware level, this workload is driven by a GeMM (General Matrix Multiply) operation, traditionally defined as: C ← αAB + βC To achieve this, I added two new operations to the compiler: relu and matmul. Since relu shares a similar element-wise structure to the 'add' operator covered in Part 1, this article
Jul 614 min read


Building a Minimal MLIR Pipeline from ONNX to LLVM JIT
MLIR Lowering Pipeline Lowering Strategy (High-Level Overview) The lowering pipeline looks like this: ONNX graph -> custom mlir dialect -> tensor (value) -> memref (memory) -> llvm -> JIT Full code for this article is available here This article's focus is only building an end-to-end skeleton that takes a high-level ONNX model and lowers it through progressively more concrete representations until it executes via a JIT engine. I kept the initial scope to scalar and 1D vector
Jul 628 min read


Build an Airflow DAG on AWS EC2
Build a data pipeline with Airflow DAG and deploy on AWS
Feb 5, 202515 min read


Building an AI Analyst Agent with LangChain and GPT-4
Build an AI Agent who can analyze data for you with LangChain, GPT-4, and Streamlit
Apr 5, 202411 min read


Build an AI app to chat with your PDF using LangChain and OpenAI API
Github Page for full code: https://github.com/eyereece/ai-rag-experiments/tree/main/chat-with-your-pdf-ai Overview: Virtual Environment...
Mar 8, 20244 min read
bottom of page