Skip to main content

minimal deep learning framework

Project description

Nimrod

python pytorch hydra pre-commit

Description

This is a repo with minimal tooling, modules, models and recipes to get easily get started with deep learning training and experimentation with an emphasis on speech, audio and language modeling.

Install

you need python <3.12

git clone https://github.com/slegroux/nimrod.git
pip install slg-nimrod

Usage

Check recipes in recipes/ folder. For instance:

cd recipes/images/mnist
python train.py datamodule.num_workers=10 trainer.max_epochs=20 trainer.accelerator='gpu'
head conf/train.yaml

All the parameters of the experiment are editable and read from a .yaml file which details:

  • data and logging directory paths
  • data module with data source path and batching parameters
  • model architecture
  • trainer with hardware acceleration and number of epochs
  • callbacks for early stopping and automatic logging to Wandb

Docker

You might want to use docker containers for reproductible development environment or run your project in the cloud

make container
docker pull slegroux/nimrod
docker run -it --rm -p 8888:8888 slegroux/nimrod /bin/bash

You can also use docker-compose to define services and volumes

cd .devcontainer
docker-compose up
docker-compose down

Develop

pip install -e .

Authors

2023 Sylvain Le Groux sylvain.legroux@gmail.com

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

slg_nimrod-0.0.7.tar.gz (47.0 kB view details)

Uploaded Source

Built Distribution

slg_nimrod-0.0.7-py3-none-any.whl (66.5 kB view details)

Uploaded Python 3

File details

Details for the file slg_nimrod-0.0.7.tar.gz.

File metadata

  • Download URL: slg_nimrod-0.0.7.tar.gz
  • Upload date:
  • Size: 47.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for slg_nimrod-0.0.7.tar.gz
Algorithm Hash digest
SHA256 d3d69d424be9e27bde327bfe52d4949ecb62a394f60a104f7abcd9bab3259467
MD5 e664268912fa023345b4d693a9419c0a
BLAKE2b-256 e0007bff161a5a62749ed8a8cfe77e7db1b02bbf4bde5ac5dc14a4a69e03cad6

See more details on using hashes here.

File details

Details for the file slg_nimrod-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: slg_nimrod-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 66.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for slg_nimrod-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 da4954e87ae033b2f940115280e1a26e36ee9253733d5fa32966627a39c428a2
MD5 7c55a7a4ad23c0efc43c9620b181c196
BLAKE2b-256 2e5eea240d717874f4c832b2f947bf3b31002092024b7254b913fc7c26e66e84

See more details on using hashes here.

Supported by

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