The project keeps a running Lisp world alive while an outside controller asks an OpenAI model what to try next.
"What should we try?"
|
v
A hands-on one semester course where students build their own compiler from scratch, starting from elementwise programs and ending with training SOTA LLMs on GPUs. This course aggressively builds on the previous week, and is an exercise in slop management. If you let any slop in early, it will compound and you will not finish the class.
Course description: This course covers the design and implementation of a modern machine learning compiler, and examines the interaction between IR design, hardware capabilities, and the structure of machine learning programs. Topics covered include term rewriting, code generation, movement operators, kernel fusion, memory hierarchies, GPU architecture, automatic differentiation, and flash attention. It is a project course, providing experience with performance-oriented programming, managing a codebase that grows all semester, and working in 1 or 2 person teams, culminating in a compiler capable of training modern LLMs.
Prerequisites: This c
| /* | |
| * Fluid Modular Type Scale | |
| * | |
| * A pure-CSS fluid typography system that smoothly scales font sizes | |
| * between a minimum and maximum viewport width using a modular scale. | |
| * | |
| * Based on the great work of those at Clearleft, modified for modern css (pow()) | |
| * (https://utopia.fyi/blog/css-modular-scales/) | |
| * | |
| * Required custom properties (set on a parent or :root): |
| #!/usr/bin/env node | |
| // SupVM.ts | |
| // ======== | |
| // A tiny evaluator for the HVM subset used by InsertGen_hardcoded.hvm. | |
| // Sup-fork captures are the only DUP form needed by that file. SupVM gives | |
| // them the same observable branch correlation through a labelled-choice map, | |
| // and charges captured variables as DUP-like interactions. | |
| declare function require(nam: string): any; |
A pattern for building personal knowledge bases using LLMs.
This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.
Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.
| """ | |
| The most atomic way to train and run inference for a GPT in pure, dependency-free Python. | |
| This file is the complete algorithm. | |
| Everything else is just efficiency. | |
| @karpathy | |
| """ | |
| import os # os.path.exists | |
| import math # math.log, math.exp |
If you sometimes find yourself needing to share a file over HTTP, there are not many file-sharing solutions you can use.
This action works by publishing files via GitHub Pages behind an obscure prefix path. It updates the repository README with the URLs, so that you have links to the published files.
You can keep the repository secret, and the files are public but semi-secret, so you can share them without concern that other files will be discovered.
This document details the investigation, root cause analysis, and resolution of recurring NFS stale file handle issues in a home lab environment with UNRAID NAS and multiple Linux clients. The solution involved migrating from static NFS mounts to systemd automount configuration, eliminating stale handle problems while maintaining full container compatibility.
| <div style="position:absolute;top:-999px;left:-999px"> | |
| <svg | |
| id="effectSvg" | |
| width="200" | |
| height="200" | |
| viewBox="0 0 200 200" | |
| xmlns="http://www.w3.org/2000/svg"> | |
| <filter id="displacementFilter4"> |