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.2.tar.gz (53.3 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.2-py3-none-any.whl (67.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pfnstudio-0.8.2.tar.gz
  • Upload date:
  • Size: 53.3 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.2.tar.gz
Algorithm Hash digest
SHA256 43f0b8f474316e4fcf2ce1a3e9085681bb845107abee044468b9cf74c583ad51
MD5 0d5855ad26b97d9c20d07948e25551bb
BLAKE2b-256 50eaebb84bfa877d13d0ca661bc9b7096efbc05f700ef0f25d73a6f826965456

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pfnstudio-0.8.2-py3-none-any.whl
  • Upload date:
  • Size: 67.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8c6261a2dd1081fd2f81bb397959deb7f80488ecced859cf9383a179b943883a
MD5 478b9d4b4844d5615c499fb60ff42011
BLAKE2b-256 a128d2d1b4bc8f1d1216d785f33ba6370ee8459ac2892f21535a57b0ab98bd1a

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