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.12.tar.gz (66.0 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.12-py3-none-any.whl (80.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pfnstudio-0.8.12.tar.gz
  • Upload date:
  • Size: 66.0 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.12.tar.gz
Algorithm Hash digest
SHA256 d75e3266e71e97dab945c80579f4634a15f8d4042bbb2e635f63693148ed48c0
MD5 7d080d8f0544d6c13ddf198ed2845c7d
BLAKE2b-256 b84e217f7f9419d95b4c1d1aa5312abd376f0a4aa117ed6e87dca8e0502a36f3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pfnstudio-0.8.12-py3-none-any.whl
  • Upload date:
  • Size: 80.2 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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 db4501525b6eded0a07cf8e6b40b7c2baf71281516671c899babcdb565c4e96f
MD5 131f48e6523676d1fccad46f5768f040
BLAKE2b-256 f5292dabe6e9c2b83baa86d96762abc0ff34d40589aae33300980bf776c0637f

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