Topology¶
Import-time coherence check for the jsonnet config tree (every model
family has a libsonnet, every fusion method has a method libsonnet,
every stage has a .jsonnet), plus path helpers and the dataset
catalog loader. Failures raise at package load, not at sbatch time.
graphids.config.topology¶
topology ¶
Config-tree validation + path/catalog helpers.
Import-time check that the jsonnet tree (model families, fusion methods, stage files) is coherent with the static axes, plus a small set of path helpers and the dataset catalog loader.
cache_dir ¶
Path to preprocessed tensor cache. Pinned to
:data:graphids.config.constants.PREPROCESSING_VERSION so a bump
of the version forces rebuild without deleting the old tree.
Source code in graphids/config/topology.py
data_dir ¶
dataset_names ¶
Public dataset names — entries starting with _ are internal
placeholders (test fixtures, retired datasets) and excluded.
load_catalog
cached
¶
Flat view of configs/datasets/dataset_registry.json —
{dataset_name: {name, domain, **entry}}. Cached once per
process; domains collapse into a domain field on each entry.