---
title: "llm.c"
url: https://daily.dev/posts/llm-c-glquhouu1
source_url: https://simonwillison.net/2024/Apr/9/llmc/
type: article
source: "Simon Willison"
published: 2024-04-09T15:36:33.510Z
updated: 2024-08-30T02:20:00.379Z
tags: ["c", "cuda", "nlp", "python"]
reading_time: 1
upvotes: 4
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# llm.c

**[Simon Willison](https://daily.dev/sources/simonwillison)** · 1 min read · 4 upvotes · 0 comments

## Summary

Andrej Karpathy implements LLM training in just over 1,000 lines of C on top of CUDA. Includes a tutorial about implementing LayerNorm by porting an implementation from Python.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://simonwillison.net/2024/Apr/9/llmc/>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#c](https://daily.dev/tags/c), [#cuda](https://daily.dev/tags/cuda), [#nlp](https://daily.dev/tags/nlp), [#python](https://daily.dev/tags/python)

[View this post on daily.dev](https://daily.dev/posts/llm-c-glquhouu1)
