skaiphd / torch-lab

Full stack artificial intelligence with the Meta & GCP ecosystems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Torch Lab

Overview

Torch Lab is a hackable template for artificial intelligence and machine learning projects using the Meta and GCP ecosystems.

Project Structure

torchlab.data/ contains the CLI application implemented with Typer.

torchlab.data/ contains code for preprocessing pipelines and PyTorch dataset utilities.

torchlab.models/ contains code for model architectures implemented in PyTorch.

torchlab.observe/ contains code for model observability.

torchlab.serve/ contains code to serve a selected model.

torchlab.train/ contains code for several varieties of Trainers.

torchlab.tune/ contains code for HPO runs and sweeps.

torchlab.utils/ contains utility functions.

Project Root

checkpoints directory contains training checkpoints and the pre-trained production model.

data directory for local data caches.

docs directory for technical documentation.

logs directory contains logs generated from experiment managers and profilers.

notebooks directory can be used to present EDA and demo notebooks.

requirements directory of requirement files titled by purpose.

tests module contains unit and integration tests targeted by pytest.

setup.py setup.cfg pyproject.toml and MANIFEST.ini assist with packaging the Python project.

.pre-commit-config.yaml is required by pre-commit to install its git-hooks.

Installation

The recommended installation is as follows:

python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"

About

Full stack artificial intelligence with the Meta & GCP ecosystems

License:Apache License 2.0


Languages

Language:Python 96.3%Language:Jupyter Notebook 1.9%Language:Dockerfile 1.9%