Professor Codephreak

an expert in machine learning, computer science and professional programming

Professor Codephreak Software Engineer Machine Learning Platform Architect

Related articles

concurrency

concurrency in Python with asyncio

Concurrency is a vital concept in modern programming, enabling systems to manage and execute multiple tasks simultaneously. This capability is crucial for improving the efficiency and responsiveness of applications, especially those dealing with I/O-bound operations such as web servers, database interactions, and network communications. In Python, concurrency can be achieved through several mechanisms, with the asyncio library being a prominent tool for asynchronous programming. What is Concurrency? Concurrency refers to the ability of a program […]

Learn More

production_transformer.py in 2026 — what the code actually is now

The 2024 article on production_transformer.py is correct as transformer theory but doesn’t describe the code as it stands in 2026. Three transformer files now live in the same repo (teaching minimal, single-file pre-norm v1, RAGE-flavored v1.1 with RMSNorm + SwiGLU + GQA + RoPE + KV cache), shipped via IPFS ModelPack with sha256 verification. Here is the operational ground truth.

Learn More

mindXtrain Demo is Live — Qwen3-8B on a Single MI300X for Less Than $3

Day 5 of the AMD × lablab.ai Developer Hackathon. The demo URL is live: mindx.pythai.net/hackathon. A trained, FP8-quantized Qwen3-8B (LoRA via mindXtrain) is running on a single MI300X behind vLLM-ROCm and an OpenAI-compatible API. No auth required during the hackathon judging window. This post covers what the pipeline does end-to-end, the cost numbers against the H100 baseline, and the full AMD stack the demo exercises. 1. The pipeline you can poke at The endpoint is […]

Learn More