Skip to main content

Learn-By-Wire Guard optimizer runtime for PyTorch

Project description

LBW_Guard

Learn-By-Wire Guard is a PyTorch optimizer runtime for controlled training workflows.

It provides the public Guard API through the lbw package and supports freemium and licensed editions for evaluation, standard training, and Guard Pro behavior.

Install

pip install LBW_Guard

Requirements:

  • Python 3.10+
  • PyTorch compatible with your environment

Quick Start

import torch
from lbw import Guard

model = torch.nn.Linear(8, 4)

optimizer = Guard(
    model.parameters(),
    lr=1e-3,
    mode="eval",
)

Editions

  • LBW_Guard_Eval: freemium evaluation edition.
  • LBW_Guard_Std: licensed standard edition.
  • LBW_Guard_Pro: licensed Guard Pro edition.

Guard Std and Guard Pro require a signed license token.

from lbw import Guard

optimizer = Guard(
    model.parameters(),
    mode="lbw_guard_std",
    license_key=license_token,
)

Public API

Use:

from lbw import Guard

Guard is the supported public interface for LBW_Guard_Eval, LBW_Guard_Std, and LBW_Guard_Pro.

Product Information

Copyright (c) Qluon Inc. All rights reserved.

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.

lbw_guard-1.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

File details

Details for the file lbw_guard-1.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for lbw_guard-1.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 1d699f3719bb78f8624fc781fea6b6ae7c241b0aefb7810d6dec77669dcbeebb
MD5 6242fddce449407e3e8c4ff8e242e34d
BLAKE2b-256 a112ea3795603581477c8e53514b5474ffa34ac416712bd4205d8614aef43a2d

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