pfnstudio-core
The Python contract for PFN Studio FM projects.
from pfnstudio_core import Prior, Model, Run, register_block, register_prior, register_scorer
from pfnstudio_core.scorers.base import DatasetScorer, ScorerResult
@register_prior("my_prior")
class MyPrior(Prior):
def sample(self, seed: int): ...
@register_block("my_attention")
class MyAttention:
def __init__(self, d_model: int, n_heads: int): ...
# Paper-specific scorer — ships in the template beside evals/<slug>.yaml.
@register_scorer("my_eval")
class MyScorer(DatasetScorer):
def score(self, *, model, eval_spec, loader, run_spec) -> ScorerResult: ...
The CLI discovers anything registered via these decorators and validates models/*.yaml references against the registry.
Layout
prior.py—PriorABC and built-in prior loadermodel.py—Modelconfig + block-compositioneval.py—EvalSpec— the declarative benchmark spec (dataset + metrics + baselines)scorers/—DatasetScorer— the executable scoring pipeline; core ships only generic scorers, paper-specific ones live in templatesrun.py—Runmanifest + executor protocolregistry.py—@register_prior,@register_block,@register_scorerand discoveryloaders.py— load YAML artifacts into typed objectsblocks/— built-in architecture blocks (transformer encoder, causal attention, heads)training/— minimal in-process training loop for thelocalcompute adapter
Metadata
Release files for pfnstudio-core 0.9.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pfnstudio_core-0.9.9.tar.gz | 119.3 kB | Without provenance | Details for pfnstudio_core-0.9.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pfnstudio_core-0.9.9-py3-none-any.whl | Python 3 | none | any | Details for pfnstudio_core-0.9.9-py3-none-any.whl |
Total release size: 267.0 kB
Release files / pfnstudio_core-0.9.9.tar.gz
| Download URL | pfnstudio_core-0.9.9.tar.gz |
|---|---|
| Size | 119.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a6d3cccaeb7f02392f61d53a62a99b88a0671ad454ede19eaeda38e630559fa
|
|
BLAKE2b-256 checksum How to use checksums |
bcec321b6775adc4a6a335d936da18742de29561fc59766502cda2ff478eba1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / pfnstudio_core-0.9.9-py3-none-any.whl
| Download URL | pfnstudio_core-0.9.9-py3-none-any.whl |
|---|---|
| Size | 147.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
33458821a10b1497047a000b8b49807eb3b2eee68095ddd2aadf079cafcdeaa1
|
|
BLAKE2b-256 checksum How to use checksums |
6a9cded32894cf407f448f88bc6330da2196e4dd3c57cf7dac63a4fa492e11a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Security for pfnstudio-core 0.9.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.