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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file torchsystem-0.2.1.tar.gz
.
File metadata
- Download URL: torchsystem-0.2.1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33fe82e5ea6c8917ecb7b4107e12e7095cd93332b87ca2272aa4f618c9a733ab |
|
MD5 | 0d9a7289dcf6947a99ff8fa8d50d0689 |
|
BLAKE2b-256 | 4af14c6a930181f66ad64bb87a98b573135fec03d78500e6327367666abf9a72 |
File details
Details for the file torchsystem-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: torchsystem-0.2.1-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 256314d7c721305139bc48ca051f4404606116cdd44056abb39ac4be52d5e1a6 |
|
MD5 | 5d2bcddbd543c77df173aa11e1eda679 |
|
BLAKE2b-256 | e2790b968ac6cdf82405a433bf917a681a444b9d621e74a7cb62fd550862bb1a |