Skip to main content

Decoupled and modular approach to building multi-task ML models

Project description

torchbricks

codecov CI

Install it from PyPI

pip install torchbricks

Usage

## MISSING
$ python -m torchbricks
#or
$ torchbricks

Development

Read the CONTRIBUTING.md file.

Combines mamba and poetry

Setup is described in https://stackoverflow.com/a/71110028

I decided to combine the two to use mamba to easily manage pytorch+cuda and poetry to easily package to later easily package is as pypi library

Apart from pytorch and cuda all libraries should be install with poetry.

Consider just using mamba for installing libraries.

Install

conda create --name my_project_env --file conda-linux-64.lock
conda activate my_project_env
poetry install

Activating the environment

conda activate my_project_env

Updating the environment

# Re-generate Conda lock file(s) based on environment.yml
conda-lock -k explicit --conda mamba -f environment.yml

# Update Conda packages based on re-generated lock file
mamba update --file conda-linux-64.lock

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

torchbricks-0.0.4.tar.gz (7.3 kB view hashes)

Uploaded Source

Built Distribution

torchbricks-0.0.4-py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 3

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