Skip to content

About

Rust distributed transformer training with cost and energy accounting (research preview).

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2,782 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webtrainer

webtrainer: distributed transformer training in Rust (research preview)

A Rust codebase for training transformer models across many machines, forked from Psyche Foundation's nousnet, with added cost and energy accounting, exact-integer training primitives and a Rust inference node.

Status

Research preview, private repository. Not published on crates.io (publish = false). The workspace version is 0.2.0. A clean-clone cargo build has not been verified: the workspace needs sibling crates and native dependencies. No end-to-end training run is claimed. Cost and energy figures in docs/ are model outputs, not measurements, unless a document names the machine it measured.

What it does

The distributed-training design comes from nousnet: a coordinator drives a fleet of training clients. This fork keeps that design and adds four things.

  • webtrainer-core: exact integer accumulation of gradients and curvature, quantisation, and mergeable shards of a syrk accumulator (type GramShard). They merge by integer addition in any order. It also has a client for an iotaDB ledger. This is a set of building blocks, not a full trainer.
  • Cost and energy accounting: cost-estimate, energy-meter, energy-sched and compute-catalog estimate what a run costs in money and energy. llm-perf-model is an analytical training-speed model adapted from Calculon.
  • A Rust inference node and gateway in architectures/inference-only/inference-node, next to the coordinating server in architectures/centralized/server.
  • Proofs and substrate notes in proof/ and docs/substrates.md.

Layout and design notes: docs/ECOSYSTEM.md, docs/COST-STACK.md, docs/EVAL-INCUMBENTS.md.

Quick start

git clone https://github.com/webfold-ai/webtrainer.git
cd webtrainer
cargo build --release

Not verified. Nix configuration is in flake.nix. Container images are described under docker/. The cost-stack crates have their own workspaces; build steps are in docs/COST-STACK.md.

Scope and non-goals

  • Not a hosted training service. Nothing here rents compute.
  • Not the general inference product. Its link to this repository's training code is not established here.
  • Does not replace the nousnet design. This fork changes the training path, the accounting and the serving side.
  • Performance claims must be measured against named tools on the same workload and host. The process is in docs/EVAL-INCUMBENTS.md. This README gives no numbers.

Licence

Apache-2.0. See LICENSE.

Attribution

This is a hard fork of PsycheFoundation/nousnet (Apache-2.0). It is not a GitHub fork, so GitHub does not show the link. The upstream licence is kept in LICENSE. Adapted cost-stack crates carry their own NOTICE files. The integer primitives, the accounting and the Rust inference node are Webfold work. There is no ATTRIBUTION.md.

Security contact

There is no SECURITY.md. Report vulnerabilities privately through GitHub private vulnerability reporting on this repository. Do not open a public issue.

About

Rust distributed transformer training with cost and energy accounting (research preview).

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages