Skip to main content

An IA training system, based on domain driven design and an event driven architecture, created on top of the pybondi library.

Project description

torch-system

An IA training system, created using domain driven design and an event driven architecture.

Installation

Make sure you have a pytorch distribution installed. If you don't, go to the official website and follow the instructions.

Then, you can install the package using pip:

pip install torchsystem

Soon I will be adding the package to conda-forge when the package is more stable.

Introduction

Machine learning systems are getting more and more complex, and the need for a more organized and structured way to build and maintain them is becoming more evident. Training a neural network requires to define a cluster of related objects that should be treated as a single unit, this defines an aggregate. The training process mutates the state of the aggregate producing data that should be stored alongside the state of the aggregate in a transactional way. This establishes a clear bounded context that should be modeled using Domain Driven Design (DDD) principles.

The torch-system is a framework based on DDD and Event Driven Architecture (EDA) principles, using the pybondi library. It aims to provide a way to model complex machine models using aggregates and training flows using commands and events, and persist states and results using the repositories, the unit of work pattern and pub/sub.

It also provides out of the box tools for managing the training process, model compilation, centralized settings with enviroments variables using pydantic-settings, automatic parameter tracking using mlregistry.

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

torchsystem-0.3.0.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

torchsystem-0.3.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file torchsystem-0.3.0.tar.gz.

File metadata

  • Download URL: torchsystem-0.3.0.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.1 Linux/6.5.0-1025-azure

File hashes

Hashes for torchsystem-0.3.0.tar.gz
Algorithm Hash digest
SHA256 fdf58d30d8b54b5ccb7fac74ec88723f32ded64343579d93ae68d44c02e00f46
MD5 83fe40004294cedbfae8d6147c2f96a2
BLAKE2b-256 a0bf5eb0711472c35a9d50af045fd554e23d44c73694024fac3da78b4d0fa723

See more details on using hashes here.

File details

Details for the file torchsystem-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: torchsystem-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.1 Linux/6.5.0-1025-azure

File hashes

Hashes for torchsystem-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 920e69a63ebbf52fb902706a309b1f71d6de8d32f3ab525b1dcc26dde1739967
MD5 c4f8370ad2f8f693b5f09361a29cef31
BLAKE2b-256 5f1cda2bcb781c01b6fceb0dc55c66da60dc5ae3f561c6d3960e64c18badc15d

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