Skip to main content

Developer CLI for Blitz: pull a workflow's training data + base-model recommendation and scaffold a runnable QLoRA training container.

Project description

blitz-cli

Developer CLI for Blitz. Pull a workflow's captured traces as a fine-tuning dataset + the recommended open base model, and scaffold a self-contained, runnable QLoRA training container — then close the loop by grading the trained student against the held-out eval set.

pip install blitz-cli

export BLITZ_API_KEY=blz_...   # a read-scoped project key (mint one in the dashboard)
blitz scaffold -p proj_abc -w mechanic-assistant -o ./train

cd train
make build && make train && make eval

blitz scaffold writes ./train with data/dataset.jsonl, data/evalset.jsonl, config.json (derived from the base-model recommendation), and a Dockerfile + train.py + eval.py + Makefile. Bring your own NVIDIA GPU.

This package is intentionally dependency-free (stdlib + the Blitz HTTP API). The heavy ML stack (torch / transformers / trl / peft) is pinned only in the generated project's requirements.txt, installed inside the training image.

The complementary tracing SDK (pip install blitz-sdk, import blitz) lives in ../blitz-sdk.

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

blitz_cli-0.3.0.tar.gz (32.1 kB view details)

Uploaded Source

Built Distribution

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

blitz_cli-0.3.0-py3-none-any.whl (37.1 kB view details)

Uploaded Python 3

File details

Details for the file blitz_cli-0.3.0.tar.gz.

File metadata

  • Download URL: blitz_cli-0.3.0.tar.gz
  • Upload date:
  • Size: 32.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for blitz_cli-0.3.0.tar.gz
Algorithm Hash digest
SHA256 1b74340e1610adae6cab2814d7a60d1fb41648a66dc56149aac084eeab292875
MD5 49c85023678f563367ea0f9a9a14e535
BLAKE2b-256 2e09b5b747c885ab90de1436963f3f4a94ba93000c7de55330362f7d772ea20b

See more details on using hashes here.

Provenance

The following attestation bundles were made for blitz_cli-0.3.0.tar.gz:

Publisher: publish.yml on sparepartslabs/blitz-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file blitz_cli-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: blitz_cli-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 37.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for blitz_cli-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 56b6a468d073483d8f8bfc66fa87a5b8f9aa836bc60e3fb382cc5c2d50f92734
MD5 5d45b37c96bddbe67ab0226ecf2925c7
BLAKE2b-256 ac16b2d83ea48d12a08cf63ee8f253a8ed11e6de388a473a6e9256746cd4c1ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for blitz_cli-0.3.0-py3-none-any.whl:

Publisher: publish.yml on sparepartslabs/blitz-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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