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 with one visible GPU up to 24 GiB RAM, 5,000 optimizer steps, and a 60-day build-based trial window.
  • 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.

Licensed under the applicable Qluon license terms.

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.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

File details

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

File metadata

File hashes

Hashes for lbw_guard-1.1.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 d12e6edae10508861e96214e2c5073e9537fe381cc270bbd68e839f24705ddef
MD5 ec0971982226ce979a325e538af3e334
BLAKE2b-256 13a9e00d43f4aa5f2a01093cf5029db77a4c6cd869aa178c2e3dc9469620a821

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