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.1.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

torchbricks-0.0.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file torchbricks-0.0.1.tar.gz.

File metadata

  • Download URL: torchbricks-0.0.1.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for torchbricks-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c9f8dbfbc63b2af28075c145c8d3a90dddf87664703135251ea06bcab17cdb94
MD5 13c63886696bc8f5e2f91a97396e6da4
BLAKE2b-256 d238bddff1dd42cb436d1732edae399c9abcac66a5a1d842d17a81173721a478

See more details on using hashes here.

File details

Details for the file torchbricks-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: torchbricks-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for torchbricks-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d2acba1d29af7eb016aacb166874419096d40ddbd13d35a223f048b84c73a399
MD5 caec7bd8eec8917be513c1f4172a3e23
BLAKE2b-256 a873010b56c7e90b663f8df0681c82fd59afb517fab756d0774f4a1d894106bb

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