cpython
Source
- Source kind:
github-repository - URL: https://github.com/karpathy/cpython
- Discovery source: https://github.com/karpathy/cpython
- License:
NOASSERTION - Distribution policy:
public-summary-local-archive-only - Public mirror status:
summary-only - Content hash:
04a66db51f1883d97084ca98bc479aec2ddc24d9e6b56b13df5feda67284f786 - First seen: 2026-05-15
- Last changed: 2026-05-15
Classification
- Primary category: LLM training and inference systems
- Corpus source note: 2026-05-15-karpathy-public-corpus
- Project taxonomy: karpathy-project-taxonomy
- Idea map: karpathy-idea-map
- Topic hub: karpathy-public-work
Summary
This is Python version 3.15.0 alpha 2 ===================================== .. image:: https://github.com/python/cpython/actions/workflows/build.yml/badge.svg?branch=main&event=push :alt: CPython build status on GitHub Actions :target: https://github.com/python/cpython/actions .. image:: https://dev.azure.com/python/cpython/ apis/build/status/Azure%20Pipelines%20CI?branchName=main :alt: CPython build status on Azure DevOps :target: https://dev.azure.com/python/cpython/ build/latest?definitionId=4&branchName=main .. image:: https://img.shields.io/badge/discourse-join chat-brightgreen.svg :alt: Python Discourse cha…
What This Teaches
- How modern LLM training or inference can be reduced to compact, inspectable systems.
- Useful as a reference for building mental models of GPT-style models without hiding behind framework scale.
Why It Matters
This is high-priority for Vipin because it connects directly to LLM systems, evaluation, and research implementation judgment.
Repository Snapshot
- Full name:
karpathy/cpython - Default branch:
main - HEAD:
09d6bf20b67f4d3001afac9d20886a6e9cbcc94f - Stars at crawl: 70
- Forks at crawl: 7
- File count: 5456
- README path:
README.rst - License path:
LICENSE - Created: 2025-12-09T18:04:49Z
- Updated: 2026-05-15T07:04:18Z
- Pushed: 2025-12-19T06:13:32Z
Top-Level Structure
Lib: 2483Doc: 628Modules: 622Tools: 419Include: 288Misc: 251Objects: 140PCbuild: 138Python: 130PC: 91Mac: 73Apple: 41
File Extension Profile
.py: 2194.rst: 763.h: 630.c: 479.txt: 158.dectest: 143.xml: 119[none]: 91.toml: 77.vcxproj: 56.filters: 52.wxs: 52
Tags / Release-Like Markers
- No git tags found in the shallow local clone.
Sample File Tree
.azure-pipelines/ci.yml.azure-pipelines/prebuild-checks.yml.azure-pipelines/windows-layout-steps.yml.azure-pipelines/windows-steps.yml.coveragerc.devcontainer/devcontainer.json.devcontainer/wasi/devcontainer.json.editorconfig.gitattributes.github/actionlint.yaml.github/CODEOWNERS.github/CONTRIBUTING.rst.github/dependabot.yml.github/ISSUE_TEMPLATE/bug.yml.github/ISSUE_TEMPLATE/config.yml.github/ISSUE_TEMPLATE/crash.yml.github/ISSUE_TEMPLATE/documentation.md.github/ISSUE_TEMPLATE/feature.yml.github/problem-matchers/gcc.json.github/problem-matchers/msvc.json.github/PULL_REQUEST_TEMPLATE.md.github/SECURITY.md.github/workflows/add-issue-header.yml.github/workflows/build.yml.github/workflows/documentation-links.yml.github/workflows/jit.yml.github/workflows/lint.yml.github/workflows/mypy.yml.github/workflows/new-bugs-announce-notifier.yml.github/workflows/posix-deps-apt.sh.github/workflows/regen-abidump.sh.github/workflows/require-pr-label.yml.github/workflows/reusable-context.yml.github/workflows/reusable-docs.yml.github/workflows/reusable-macos.yml.github/workflows/reusable-san.yml.github/workflows/reusable-ubuntu.yml.github/workflows/reusable-wasi.yml.github/workflows/reusable-windows.yml.github/workflows/reusable-windows-msi.yml.github/workflows/stale.yml.github/workflows/tail-call.yml.github/workflows/verify-ensurepip-wheels.yml.github/zizmor.yml.gitignore.mailmap.pre-commit-config.yaml.readthedocs.yml.ruff.toml.well-known/funding-manifest-urlsaclocal.m4Android/android.pyAndroid/android-env.shAndroid/README.mdAndroid/testbed/.gitignoreAndroid/testbed/.idea/inspectionProfiles/Project_Default.xmlAndroid/testbed/app/.gitignoreAndroid/testbed/app/build.gradle.ktsAndroid/testbed/app/src/androidTest/java/org/python/testbed/PythonSuite.ktAndroid/testbed/app/src/main/AndroidManifest.xmlAndroid/testbed/app/src/main/c/CMakeLists.txtAndroid/testbed/app/src/main/c/main_activity.cAndroid/testbed/app/src/main/java/org/python/testbed/MainActivity.ktAndroid/testbed/app/src/main/res/drawable-xxhdpi/ic_launcher.pngAndroid/testbed/app/src/main/res/layout/activity_main.xmlAndroid/testbed/app/src/main/res/values/strings.xmlAndroid/testbed/build.gradle.ktsAndroid/testbed/gradle.propertiesAndroid/testbed/gradle/wrapper/gradle-wrapper.propertiesAndroid/testbed/settings.gradle.ktsApple/.ruff.tomlApple/__main__.pyApple/iOS/README.mdApple/iOS/Resources/bin/arm64-apple-ios-arApple/iOS/Resources/bin/arm64-apple-ios-clangApple/iOS/Resources/bin/arm64-apple-ios-clang++Apple/iOS/Resources/bin/arm64-apple-ios-cppApple/iOS/Resources/bin/arm64-apple-ios-simulator-arApple/iOS/Resources/bin/arm64-apple-ios-simulator-clangApple/iOS/Resources/bin/arm64-apple-ios-simulator-clang++
Public Handling Notes
- EXTRACTED: This page records public metadata and a source-grounded summary.
- INFERRED: Full local preservation, when available, is for private/local use unless a license or explicit source policy makes public redistribution safe.
- Do not treat this page as permission to republish unlicensed source text or code wholesale.