Skip to main content

CLI for the PFN Studio framework — scaffold, validate, lint, and run prior-fitted foundation model projects.

Project description

priorstudio — CLI

The command-line interface for PFN Studio, the toolkit for training prior-fitted foundation models.

Install

pip install pfnstudio

For training (requires PyTorch):

pip install "pfnstudio[torch]"

Commands

pfnstudio init <dir>            # scaffold a new FM project
pfnstudio validate <path>       # check artifacts against JSON Schema
pfnstudio lint <project>        # cross-reference + style checks
pfnstudio sample <prior.yaml>   # draw N tasks from a prior
pfnstudio run <run.yaml>        # execute a training run end-to-end
pfnstudio predict <run-dir>     # inference against a trained checkpoint
pfnstudio export <project>     # tar-gzipped project archive

Run priorstudio --help for the full list and <cmd> --help for each subcommand's flags.

What this CLI is for

PFN Studio organises every PFN project around five first-class artifacts: priors (synthetic data generators), models (block compositions), evals (benchmarks + metrics), runs (training manifests), and initiatives (research workstreams). This CLI operates on the file layout those artifacts produce — scaffolding new projects, validating them, running training, and exporting them for sharing.

The full story (concepts, architecture, examples, marketplace catalog) lives at the main repo: github.com/profitopsai/pfnstudio

License

Apache-2.0.

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

pfnstudio-0.8.9.tar.gz (63.9 kB view details)

Uploaded Source

Built Distribution

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

pfnstudio-0.8.9-py3-none-any.whl (78.0 kB view details)

Uploaded Python 3

File details

Details for the file pfnstudio-0.8.9.tar.gz.

File metadata

  • Download URL: pfnstudio-0.8.9.tar.gz
  • Upload date:
  • Size: 63.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for pfnstudio-0.8.9.tar.gz
Algorithm Hash digest
SHA256 8ee1d447b6174ee76e5f27b2f6b1e21c8efe446f45408bff89aa283da7459aec
MD5 d1cd31cee3efb552c5c813b44cf00f4b
BLAKE2b-256 27bbd7b3d3a55db25166336340cc747894ea6a580b517359d942d1fb1ede6294

See more details on using hashes here.

File details

Details for the file pfnstudio-0.8.9-py3-none-any.whl.

File metadata

  • Download URL: pfnstudio-0.8.9-py3-none-any.whl
  • Upload date:
  • Size: 78.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for pfnstudio-0.8.9-py3-none-any.whl
Algorithm Hash digest
SHA256 7bec5d204da8a9becfa2a2eaac006c6c3ac9aa908ca4597a27b7f35f604c807e
MD5 fbe58239b9c93cee47d8a0a79897913b
BLAKE2b-256 4538ed4caf53e96277850602e5a83c44a6e4ba1258735c086dec225655be76de

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