Skip to main content

banner

codecov Tests Ruff Linting

GroMo

Gromo is a collaborative effort for designing efficient and growable networks for machine learning. It is a Python package that provides a set of tools for pytorch users to train neural networks, that grow in size and complexity as they learn. The package is designed to be modular and flexible, allowing users to easily design and train their own networks.

The package is built on top of torch.nn.Module, examples shows how to use the package to train a simple neural network, and how to grow the network as it learns. The theoretical and algorithmic details of Gromo are described in the paper indicated below.

The package is still in development, if you would like to contribute, please contact us!

Verbockhaven, M., Rudkiewicz, T., Chevallier, S., and Charpiat, G. (2024). Growing tiny networks: Spotting expressivity bottlenecks and fixing them optimally. Transactions on Machine Learning Research.
Douka, S., Verbockhaven, M., Rudkiewicz, T., Rivaud, S., Landes, F., Chevallier, S., Charpiat, G. (2025). Growth strategies for arbitrary DAG neural architectures. European Symposium on Artificial Neural Networks.

Installation

For users

Install the latest release from PyPI:

pip install gromo

or, in a uv project, uv add gromo.

To install the development version from GitHub:

pip install git+https://github.com/growingnet/gromo.git

For developers

To set up a development environment:

  1. Ensure that you have an SSH key set up with GitHub.
  2. Fork the repository.
  3. Use the following commands, replacing $USER with your GitHub username:
pip install build
git clone git@github.com:$USER/gromo.git --origin origin
cd gromo
git remote add upstream git@github.com:growingnet/gromo.git
git remote set-url --push upstream no-pushing
git fetch upstream
git branch --set-upstream-to=upstream/main main
python -m build
pip install -e .[dev,test]
pre-commit install

Documentation

The documentation for Gromo can be found at: https://growingnet.github.io/gromo/

Metadata

Release files for gromo 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gromo 0.1.0
File Size Uploaded
gromo-0.1.0.tar.gz 264.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gromo 0.1.0
File Interpreter ABI Platform
gromo-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 405.5 kB

Release files / gromo-0.1.0.tar.gz

Download URL gromo-0.1.0.tar.gz
Size 264.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2f7e947df3ddbdfea3529631e74f4c2dd92ea8dba53a8f34fd3d2f035ed0af09
BLAKE2b-256 checksum
How to use checksums
537fd39f481475e4dc525a5b91ce5b7c4fb0ea828b0a108897ccd05e81223d53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / gromo-0.1.0-py3-none-any.whl

Download URL gromo-0.1.0-py3-none-any.whl
Size 141.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68263755b9a9750b8cf96141eb5a289d6e76bcca0eaebae1ecc3565d7c2c616f
BLAKE2b-256 checksum
How to use checksums
69b80d25215d39ace419f7a34e9d7778cece52f09ee6aa37f5e3120d57d92f23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page