Skip to content

A computer, compiled into the weights of a language model. An exact CPU inside Qwen3.5-4B, with Gated DeltaNet state as RAM.

572 B
Raw Blame
[project]
name = "chipformer"
version = "0.1.0"
description = "A hand-constructed transformer that executes CHIP-8 programs"
requires-python = ">=3.11"
dependencies = [
    "numpy>=1.26",
    "safetensors>=0.8.0",
]

[project.optional-dependencies]
play = ["pygame>=2.5"]
hf = [
    "torch>=2.14.1",
    "transformers>=5.19.0",
]

[dependency-groups]
dev = [
    "pillow>=12.3.0",
    "pytest>=8",
    "ruff>=0.6",
]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.ruff]
line-length = 100

[tool.pytest.ini_options]
testpaths = ["tests"]