Skip to main content

PyTorch Lightning model tools for SonusAI

Project description

SonusAI Torchl

PyTorch Lightning model tools for SonusAI.

SonusAI Torchl is a companion project to SonusAI, providing tools and utilities for training, predicting, and exporting deep neural network models using PyTorch Lightning.

Key Features

  • Lightning Training: Streamlined training workflows using PyTorch Lightning.
  • Model Export: Tools for converting trained models to ONNX and PyTorch AOTInductor (.so) formats.
  • Data Loading: Specialized data generators and datasets compatible with SonusAI mixture databases.
  • Inference: Prediction tools for running inference on trained Lightning models.

Getting Started

Refer to the Development Guide for installation and setup instructions.

Prerequisites

  • Python 3.13+ (Python 3.13 and 3.14 supported)
  • sonusai
  • uv

Quick Install

If you have uv installed, you can sync the environment:

uv sync

Documentation

Command Overview

   torchl2aoti                  Convert a trained PyTorch Lightning model to AOTInductor
   torchl_onnx                  Convert a trained PyTorch Lightning model to ONNX
   torchl_predict               Run PyTorch Lightning predict on a trained model
   torchl_train                 Train a model using PyTorch Lightning

Use python -m sonusai_torchl.<command> --help for detailed information on any command.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sonusai_torchl-1.3.0-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

Details for the file sonusai_torchl-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: sonusai_torchl-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 30.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for sonusai_torchl-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a391a3ab912b92c59e52d74bec429325d15e4ca835efa25a0aa4d556ba67e317
MD5 eb96cbae57b0fbf8a99fcaad8ae8eebc
BLAKE2b-256 7a6457c2721b5679add8d86c997f6318abab9a0f6858508cf7d457cd4cc8d0e7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page