Skip to main content

Thin CLI for queuing Freesolo backend training jobs.

Project description

Freesolo CLI

Interactive command-line client for Freesolo training jobs.

The CLI:

  • prompts for setup input
  • verifies a Freesolo API key
  • uploads a local dataset file or folder when one is provided
  • enqueues /api/training/jobs
  • polls /api/training/jobs/{job_id} until the worker finishes

Install

pip install freesolo-agent

This installs the freesolo command.

Setup

Run:

freesolo setup

The CLI prompts for:

  • Freesolo API key
  • operation: draft, optimize, training, or poll
  • source repository URL for draft
  • the latest stored organization job to continue for optimize and training
  • optional branch, dataset file or folder path, and worker environment variables for draft

For private repositories, install the Freesolo GitHub App when prompted:

https://github.com/apps/freesolo-agent/installations/new

The CLI prints progress while the backend job is queued and running. When the job finishes, it prints a short summary with the job id, repo, commit, and changed files when available. Full job details and richer summaries live in the Freesolo platform at https://freesolo.co.

Operations

draft creates the initial Freesolo training contract from a source repo. It returns a targetRepoUrl for the generated training repo.

optimize generates and checks repo-level training files for the latest job in a draft chain.

training runs the long training workflow for the latest job in a draft chain after that chain has at least one successful optimize job.

poll lists recent organization jobs and watches the selected job until it finishes. It does not enqueue new work.

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

freesolo_agent-0.1.11.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

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

freesolo_agent-0.1.11-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file freesolo_agent-0.1.11.tar.gz.

File metadata

  • Download URL: freesolo_agent-0.1.11.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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 freesolo_agent-0.1.11.tar.gz
Algorithm Hash digest
SHA256 a9e6cbe6b2c3c131105b6db42a3570de0a6f75f6df6915e273844723c203e87c
MD5 5f6155de003b59f5488069a9157d196c
BLAKE2b-256 1a80949709700a36c3f6ad102f7a4a4304b2c165648d69542cc0ad7727fd6b90

See more details on using hashes here.

File details

Details for the file freesolo_agent-0.1.11-py3-none-any.whl.

File metadata

  • Download URL: freesolo_agent-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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 freesolo_agent-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 82ea8d661b7f5b6fe8d2b217a5073d41abae948981a8ea36eaa9852d1dedd3d9
MD5 1a3c7c62b85311ca3d85e5524c6a34f5
BLAKE2b-256 ace49b32262cd527541ef1aac31093f8fb8f916eaf794a2395a1220288385b3e

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