Skip to main content

Open weights-to-masks compiler: neural network checkpoints into mask-programmed compute-in-ROM silicon. Kernel release; the full compiler ships with the paper.

Project description

Ankhdjet

Ankhdjet is an open compiler that turns neural network checkpoints into mask-programmed compute-in-ROM silicon: a model becomes a mask set, and a model update becomes a mask respin rather than a re-implementation.

This 0.0.x release is a name-reserving kernel: it ships the package skeleton, a command-line banner, and a reference ternary quantizer (BitNet-style absmean). The full compiler (checkpoint to ternary IR to SystemVerilog to signed-off GDS on open PDKs, with its bit-exact verification chain) is released alongside the accompanying paper.

The first fabrication vehicle (a 64x32 ternary compute-in-ROM read demonstrator) is submitted on the TinyTapeout ttsky26c shuttle, with silicon expected in March 2027.

Quantize a matrix to ternary weights with per-tensor scale:

from ankhdjet import ternary_quantize
w, scale = ternary_quantize([[0.4, -1.2, 0.05], [0.9, -0.3, 0.0]])

License: Apache-2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ankhdjet-0.0.1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ankhdjet-0.0.1-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file ankhdjet-0.0.1.tar.gz.

File metadata

  • Download URL: ankhdjet-0.0.1.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"CachyOS Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for ankhdjet-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ea889b0b6bc5962da5a097a7d93966f4b38eb21a17b4383be2c7ab7d8680d530
MD5 3c81a8f03de1881f809a0b4215765e74
BLAKE2b-256 3b0dcdfade6eb22e463153eb1515f968c7ef85dff990908de7e6d927701e7320

See more details on using hashes here.

File details

Details for the file ankhdjet-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: ankhdjet-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"CachyOS Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for ankhdjet-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4426a95e245c015495840eed0b36f0d4f8cf269a3ec2da9bf0efa50cee3c39ca
MD5 2d8f092e4a720247f78b7ae3824d91cb
BLAKE2b-256 83c48468e61d20e44101918c0e2f71ebce43222e0a2d34c900e61651f82fb600

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page