Catalog PyPI
PACKAGE EXPLORERView in registry

AdeptML

PyPI

A High-Level PyTorch based Library for Hybrid Physics-Informed Machine Learning Models

Versions collected1
Direct dependencies6From release 2.1
Last observed20 Oct, 19:26 UTC

README

Version 2.1 documentation

Auto-differentiable embedding of Physics and Torch Machine Learning (AdePT-ML):

This is a convienience library built on top of PyTorch to enable easy integration and training of hybrid models involving physics and deep learning modules.

Features

  1. Allows integration of torch.nn.module with numpy functions and enable training with torch optimizers.
  2. Pre-defined Modules and configs for physics and MLP architectures.
  3. Integrated training function with tensorboard support.

Installation

Installing with pip

pip install adeptml 

Requirements (Automatically installed with pip):

  1. PyTorch (https://pytorch.org/)
  2. Joblib (https://joblib.readthedocs.io/en/latest/) (For loading and saving model parameters)
  3. Tensorboard

Usage:

The primary building block of this package is the Hybrid Model class. It neatly packages all the member models into one main Torch model and enables running forward inference as well as backpropagation. The class accepts as input an instance of the Hybrid Config class. This config is useful in defining all the constituent modules and their inputs.

As component modules, the Models module provides a straight forward MLP implementation as well as a Physics Module. This module is a torch Autograd wrapper which enables the integration of non-Torch numpy functions into a fully torch model and allows for training with torch optimizers.

API Documentation:

Visit our Read the docs page

Examples:

Refer to the tests file. Additional examples will be added soon.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
2.114 Mar 20266

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:26 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:60819084e5c2f515381077714896337c7eaefacf3fd9e4f7110dd19ab96e5618