← all repositories
mila-iqia/blocks

Theano's last respectable framework before the torch passed

A 2015-era neural network toolkit that tried to make Theano less painful for researchers at MILA.

1.2k stars Python ML Frameworks
blocks
Velocity · 7d
+0.3
★ / day
Trend
steady
star history

What it does

Blocks wraps Theano with a “brick” abstraction—parametrized operations you can snap together into larger models. It bundles training loops, checkpointing, monitoring, and graph transforms like dropout. A companion library, Fuel, handles the data pipeline.

The interesting bit

The pattern-matching system for selecting variables and bricks in complex models is the unusual flourish. In an era when most frameworks treated neural networks as opaque stacks, Blocks let you reach inside and manipulate specific nodes.

Key highlights

  • Born at MILA (Yoshua Bengio’s lab) with a 2015 arXiv paper
  • “Bricks” = reusable, parametrized Theano operations
  • Explicit graph transformations (dropout as a transform, not a layer hack)
  • Training resumption and monitoring built in, not bolted on
  • Semi-maintained extras repo suggests the core was deliberately lean

Caveats

  • Theano itself is dead; this is archaeological software
  • “In the future we also hope to support: dimension, type and axes-checking” — that future never arrived
  • README badges point to travis-ci.org and requires.io, services that have themselves faded

Verdict

Worth studying if you’re writing a history-of-deep-learning thesis or maintaining a legacy MILA codebase. Everyone else has moved to PyTorch or JAX for the same conceptual territory.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.