Skip to main content

AutoForge — automatic model building, training, and fine-tuning that calibrates to your hardware

Project description

brsx

AutoForge — build, train, and fine-tune models that calibrate themselves to your hardware.

brsx probes your GPU/CPU by actually running a few steps, picks a model size that fits your memory and speed target, and trains it. No config wrestling — pick a mode and go.

Install

pip install brsx

Optional extras (installed only if you need them):

pip install brsx[finetune]   # HuggingFace fine-tuning (transformers, peft, accelerate)
pip install brsx[qlora]      # 4-bit QLoRA (bitsandbytes, Linux/CUDA)
pip install brsx[tokenizer]  # fast BPE for the MTP branch
pip install brsx[all]        # everything

Usage

from brsx import automodel

automodel.run()

You'll get a menu:

1) Transformer training        — train a standard Transformer from scratch
2) MTP Transformer training    — Multi-Token Prediction heads (DeepSeek-V3 style)
3) HuggingFace model fine-tune — fine-tune a HF model (local path or hub id)
4) brsx (.pt) model fine-tune  — fine-tune an existing brsx model

Pick one and follow the prompts — everything (mode, learning rate, steps, checkpointing, data source) is asked interactively.

License

Apache-2.0. See LICENSE.

Project details


Download files

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

Source Distribution

brsx-0.1.0.tar.gz (59.1 kB view details)

Uploaded Source

Built Distribution

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

brsx-0.1.0-py3-none-any.whl (68.2 kB view details)

Uploaded Python 3

File details

Details for the file brsx-0.1.0.tar.gz.

File metadata

  • Download URL: brsx-0.1.0.tar.gz
  • Upload date:
  • Size: 59.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.0

File hashes

Hashes for brsx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6dfe82b491aba083388a50e8e19de5df8c5d28235e05d1cf86d7a6f6503ebc4c
MD5 456f1bf6e7012b54361b11c5ea9168de
BLAKE2b-256 231dbd56893900463ecd95315548303a62c951d646700d3f5367224c6eb9b170

See more details on using hashes here.

File details

Details for the file brsx-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: brsx-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 68.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.0

File hashes

Hashes for brsx-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 842e10ea1eff5c7774bca3f63b0f5c7b383873d1aa5c883806ba270a00492b7c
MD5 7f5f2fb309b2bd3517d19ed3de094c1f
BLAKE2b-256 158b90b410d0e6fcb15bc0bd13bf62013d52f83e03f1bd772510e0cff2cd9f5c

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