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.15.tar.gz (67.8 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.15-py3-none-any.whl (82.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pfnstudio-0.8.15.tar.gz
  • Upload date:
  • Size: 67.8 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.15.tar.gz
Algorithm Hash digest
SHA256 c137f2d9d70669e1ff2f8fd8bd67f9e85f4c449ffe1ffb9a17a1c0c05279956c
MD5 f39870baa38e244a9564a503db40d167
BLAKE2b-256 4c4f6318b358c4eb450947949248df312d2841214ec97b1a42344ea645357b72

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pfnstudio-0.8.15-py3-none-any.whl
  • Upload date:
  • Size: 82.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.15-py3-none-any.whl
Algorithm Hash digest
SHA256 22f607b2df1edc588f58849690eca2c8a79beae300f1da346386f42ac6f8364e
MD5 053cb2423c95b66c1d4b61f2446c58f6
BLAKE2b-256 d01f16b177b1ccb97ffaf7457e4cafdef97362085121126bf9fef9f9c85113b9

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