#412412th of 433 in ML frameworks and libraries

circuit_training

Reinforcement learning framework for placing macros in chip floorplans

Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
1.8k
License
Apache-2.0
Last commit
Feb 2026
Language
Python
Stars, last 29 weeks+107
5 May 2026: 1,649 stars12 May 2026: 1,651 stars19 May 2026: 1,658 stars26 May 2026: 1,659 stars2 Jun 2026: 1,665 stars9 Jun 2026: 1,667 stars16 Jun 2026: 1,670 stars23 Jun 2026: 1,673 stars30 Jun 2026: 1,678 stars7 Jul 2026: 1,679 stars14 Jul 2026: 1,684 stars21 Jul 2026: 1,687 stars28 Jul 2026: 1,691 stars4 Aug 2026: 1,693 stars11 Aug 2026: 1,699 stars18 Aug 2026: 1,700 stars25 Aug 2026: 1,704 stars1 Sept 2026: 1,706 stars8 Sept 2026: 1,710 stars15 Sept 2026: 1,714 stars22 Sept 2026: 1,718 stars29 Sept 2026: 1,722 stars6 Oct 2026: 1,726 stars13 Oct 2026: 1,729 stars20 Oct 2026: 1,729 stars27 Oct 2026: 1,733 stars3 Nov 2026: 1,738 stars10 Nov 2026: 1,745 stars17 Nov 2026: 1,750 stars24 Nov 2026: 1,756 stars

1,649 on 5 May 20261,756 on 24 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

AlphaChip reproduces the Nature 2021 graph placement method: a PPO agent built on TF-Agents and TensorFlow 2.x that places macros in chip netlists, computing location and orientation. It optimizes wirelength, congestion and density, and uses DREAMPlace for standard-cell placement. Training is distributed across multiple GPUs, with data collection scaling to hundreds of actors.

Who it is for: Chip design and EDA researchers working on macro placement

Strengths

  • Places netlists with hundreds of macros and millions of clustered stdcells, with orientation and fixed macros
  • Supports grid alignment, macro spacing constraints and user-defined routing technology parameters
  • Distributed training over multiple GPUs; data collection scales to 100s of actors
  • Ships a checkpoint pre-trained on 20 TPU blocks, plus pre-training docs

Weaknesses

  • Linux only; Docker image is Python 3.9 only, local install supports 3.9 to 3.11
  • Needs a precompiled placement cost binary and a DREAMPlace build that may need compiling
  • Research code with no PyPI package; HEAD breaks when nightly upstream libraries change
  • Inputs must be Netlist Protocol Buffer; LEF/DEF conversion is a third-party script

What it needs

  • GPU required
  • Needs TensorFlow 2.x, TF-Agents, Reverb, DREAMPlace, plc_wrapper_main placement cost binary, PyTorch 1.13.1
  • Models: PPO policy checkpoints (TensorFlow SavedModel)

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#410davar-lab-ocrPyTorch OCR toolbox for text detection, recognition and document understanding760 starsApache-2.017 out of 100
#411petastormParquet data loader for TensorFlow, PyTorch and Spark training1.9k starsApache-2.016 out of 100
#413sense2vecPython library for part-of-speech-keyed word vectors, as a spaCy component Live demo ↗ (opens in a new tab)1.7k starsMIT16 out of 100
#414e3nnPyTorch library for building E(3)-equivariant neural networks Live demo ↗ (opens in a new tab)1.3k starscustom license16 out of 100
#415pytorch_sparsePyTorch extension for sparse matrix ops with autograd on CPU and GPU1.1k starsMIT16 out of 100