Skip to main content

starforge-core

Client for StarForge. You get the sf command and a Python package named starforge.

Use this to scaffold a lab, lock a post-training method, and submit jobs to a StarForge console. The control plane is not on PyPI: it ships as a container image and a Helm chart. Training images do not need this whole package; the server injects a runner that carries the kernel only.

Install

uv tool install starforge-core
# or, without uv
pip install starforge-core

sf --help

uv tool install is recommended: it gives sf its own environment, and it is the installation sf update can upgrade. Installed into a system Python, sf update refuses rather than risk disturbing other tools there.

Upgrade with sf update — it detects how sf was installed and runs the right command, or names the one you should run when upgrading in place would break something.

Python 3.10 or newer. Import name is starforge, not starforge_core.

uv tool install "starforge-core[data]" adds HuggingFace datasets for local prepare scripts.

Start a lab

Do not clone the platform repo. This package writes a project for you:

sf init my-lab --yes
cd my-lab
sf login --server https://<your-console>
sf new my-grpo --method nemo-rl/grpo
sf validate my-grpo
sf submit my-grpo --profile h200:8
sf job logs

sf methods lists the catalog on the server you logged into. Methods look like nemo-rl/grpo, verl/sft, trl/kto, openrlhf/ppo, evalkit/benchmark, custom/custom.

Examples live in starforge-tutorial. Day-to-day work should be your own sf init tree.

Python

Catalog methods already forward framework logs. Custom train.sh jobs that want console curves call:

from starforge.report import init, log, finish

init()
log({"loss": 0.12}, step=1)
finish()

starforge.spec_to_env is the JobSpec to environment mapping used on both the client and the job. starforge.get_recipe / starforge.recipe_names read the bundled catalog.

What this package contains

  • sf CLI: init, login, experiments, submit, sweep, jobs, datasets, plugins, bench, serve
  • JobSpec types and spec_to_env
  • Recipe catalog and framework adapters (NeMo-RL, verl, TRL, OpenRLHF, evalkit, custom)
  • Job-side reporter (starforge.report)

Cluster credentials stay on the server. Your laptop keeps an access token under ~/.forge/.

Docs and source

Download files

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

Source Distribution

starforge_core-0.3.33.tar.gz (835.6 kB view details)

Uploaded Source

Built Distribution

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

starforge_core-0.3.33-py3-none-any.whl (690.3 kB view details)

Uploaded Python 3

File details

Details for the file starforge_core-0.3.33.tar.gz.

File metadata

  • Download URL: starforge_core-0.3.33.tar.gz
  • Upload date:
  • Size: 835.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for starforge_core-0.3.33.tar.gz
Algorithm Hash digest
SHA256 bb734ccbca1efca12c9c86041ca22e1c1a0d17bd006030037dcbf52c25a8d0d7
MD5 6f6bb34dd31379b48092398f3bfbff1d
BLAKE2b-256 8c41695cb0aff05fcaae43b7b03e27734ed1423c1d6806910a56bae43d3dffa1

See more details on using hashes here.

File details

Details for the file starforge_core-0.3.33-py3-none-any.whl.

File metadata

  • Download URL: starforge_core-0.3.33-py3-none-any.whl
  • Upload date:
  • Size: 690.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for starforge_core-0.3.33-py3-none-any.whl
Algorithm Hash digest
SHA256 1311c654983fee24aa7e9ade0fd0b0c7e741c4d63f819b7a7cca3a552f80c761
MD5 35b6e3a171047ab9d429500674459ac3
BLAKE2b-256 6aedaea23f4b72b9c4f9321ad529d4b1f0c6141b8f00baa347948b0fa5be99fb

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.38

2 files

0.3.37

2 files

0.3.34

2 files

This release

0.3.33 This release

2 files

0.3.31

2 files

0.3.29

2 files

0.3.28

2 files

0.3.27

2 files

0.3.26

2 files

0.3.25

2 files

0.3.24

2 files

0.3.23

2 files

0.3.22

2 files

0.3.21

2 files

0.3.20

2 files

0.3.19

2 files

0.3.18

2 files

0.3.17

2 files

0.3.16

2 files

0.3.15

2 files

0.3.14

2 files

0.3.13

2 files

0.3.12

2 files

0.3.11

2 files

0.3.10

2 files

0.3.9

2 files

0.3.8

2 files

0.3.7

2 files

0.3.6

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.6

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page