Skip to main content

ML experiment tracker

Project description

Goodseed

ML experiment tracker. Logs metrics and configs to local SQLite files, serves them via a built-in HTTP server, and visualizes them in the browser.

Install

cd goodseed
pip install -e .

For development:

pip install -e ".[dev]"

Quick Start

import goodseed

with goodseed.Run(experiment_name="my-experiment") as run:
    run.log_configs({"learning_rate": 0.001, "batch_size": 32})

    for step in range(100):
        loss = train_step()
        run.log_metrics({"loss": loss}, step=step)

Then view your runs:

goodseed serve

How It Works

Each Run() creates a SQLite file at ~/.goodseed/projects/<project>/runs/<run_name>.sqlite. Metrics and configs are written there during training. After the run closes, the WAL is checkpointed so the result is a single .sqlite file.

The goodseed serve command starts a local HTTP server that reads these files and exposes a JSON API. The frontend at goodseed.ai connects to this server to display your runs.

Configuration

Variable Description
GOODSEED_HOME Data directory (default: ~/.goodseed)
GOODSEED_PROJECT Default project name (default: default)

CLI

goodseed                   # Start the server (default command)
goodseed serve [dir]       # Start the server, optionally from a specific directory
goodseed serve --port 9000 # Use a custom port
goodseed list              # List local runs

Tests

pip install -e ".[dev]"
pytest tests/ -v

See DOCS.md for architecture details and API reference.

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

goodseed-0.2.1.tar.gz (49.8 kB view details)

Uploaded Source

Built Distribution

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

goodseed-0.2.1-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file goodseed-0.2.1.tar.gz.

File metadata

  • Download URL: goodseed-0.2.1.tar.gz
  • Upload date:
  • Size: 49.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for goodseed-0.2.1.tar.gz
Algorithm Hash digest
SHA256 bf906aeee9b302fc494b9b24060cc554699b4252ce5ff4d00e6379f5a09198af
MD5 1b3c334831eeffd7d7f55e7d5f491d12
BLAKE2b-256 91ebe8aadf0bb760346a7a68c571ce7419923b3c149894288abf1eaa2fdcd9f5

See more details on using hashes here.

File details

Details for the file goodseed-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: goodseed-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for goodseed-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 78ea50ee7a65d65dca956350c577950ca9ef99359eb53599a12de9ac41051c6c
MD5 685d676dc6c599c0c009d79e259e50ad
BLAKE2b-256 c7f1af6b399735102987ef6d97ad0bd8e8e840d4c7d87d9207cb34f7cd237030

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