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.1.0.tar.gz (10.8 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.1.0-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: blitz_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 10.8 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.1.0.tar.gz
Algorithm Hash digest
SHA256 b404bec1baf8611eb1dd535d48e2c7d4e19db5734af72610d537dc46fd7d950e
MD5 2861eb122e26ddcf49d5cc1a7789abc0
BLAKE2b-256 5a45618c5a1ac2f79885b2e6dbfa46f577bc182ced4c7455316428d04cea06ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for blitz_cli-0.1.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.1.0-py3-none-any.whl.

File metadata

  • Download URL: blitz_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a6a445dac4209de49640d401f3f50117bcf1eb705a00b0913125e2c5a5cee09
MD5 c7ede82fc9da2d34b8a3b5c60f3d5092
BLAKE2b-256 bba399441f53e7391c2184bf29408da27c2f1043399e8393adbfa122b5ff6f89

See more details on using hashes here.

Provenance

The following attestation bundles were made for blitz_cli-0.1.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