Skip to main content

Crate burn_central

Crate burn_central 

Source
Expand description

§Burn Central SDK

High-level Burn Central SDK.

This crate re-exports the main crates used to build training, experiment tracking, inference, and fleet workflows on top of Burn Central.

Features:

  • Artifact creation and management
  • Experiment tracking
  • Logging metrics
  • Model versioning

§Crate Layout

The most commonly used re-exports are:

  • experiment: experiment runs, logging, artifacts, and Burn learner integrations.
  • macros: attribute macros used to register training and inference routines.
  • runtime: runtime support for executing registered routines.
  • artifact: bundle and artifact utilities.

§Registering Routines

Use the register macro to mark routines so the Burn Central CLI can discover them:

ⓘ
use burn_central::macros::register;

#[register(training, name = "my_training_procedure")]
async fn my_training_function() {
    // Your training code here
}

The name attribute is optional. If omitted, the function name is used.

Modules§

artifact
Artifact bundle utilities and adapters. This crate centralizes traits, structures and utilities for handling artifacts in Burn Central.
experiment
Backend-agnostic experiment tracking primitives.
macros
Attribute macros for registering routines discoverable by the Burn Central CLI.
runtime
Runtime support for executing training and inference routines registered with Burn Central.

Structs§

BurnCentralCredentials
Credentials to connect to the Burn Central server

Enums§

Env