Skip to main content

A modular YML config file parser and runner.

Project description

Kaizo

YML file config reader and runner

The parser in utils/parser.py makes experiments highly flexible. Each YAML file may contain:

  • Direct values: simple scalars (e.g., epochs: 10)
  • Resolvable values: dictionaries specifying module, source, call, args, and optional lazy
  • References: re-use values defined earlier in the config (args.variable_name)
  • Local modules: custom Python files specified by local to extend functionality

This design lets you declaratively define entire experiments.

Example Config

Below is the example config file:

node01:
  module: trainer.models
  source: Trainer
  args:
    prefix: notebooks
    model_type: sde
    img_size: 32
    in_channels: 1
    batch_size: 64
    shuffle: True
    save_freq: 50
    dataset_path: ./notebooks/data
    beta_min: 0.1
    beta_max: 1
    target_transform:
    download: True
    loader:
      module: loaders
      source: DatasetLoader
      call: False

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

kaizo-1.1.1.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kaizo-1.1.1-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file kaizo-1.1.1.tar.gz.

File metadata

  • Download URL: kaizo-1.1.1.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for kaizo-1.1.1.tar.gz
Algorithm Hash digest
SHA256 7d23c7de64bdb0bbc9e3b2e6a5f995e3ced66b8dd09a9b1fdc4f22522ba2694e
MD5 164a26038273d487c37b27110acf6391
BLAKE2b-256 b19a16b8f90b843aaf7ca8996bbeb52b9daed39f5e7e2112e8f45ef12b46715b

See more details on using hashes here.

Provenance

The following attestation bundles were made for kaizo-1.1.1.tar.gz:

Publisher: publish.yml on NaughtFound/kaizo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kaizo-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: kaizo-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for kaizo-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3a176d2b2ce2b77bc276171acd5f8943914197b31968f178ffa920507e866b30
MD5 08d15828f6dbc2b7a8bee2124cde3c65
BLAKE2b-256 d318d657dab37ee441c03ed62baf8286b8f44593764ec5095f45fb4741e450e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for kaizo-1.1.1-py3-none-any.whl:

Publisher: publish.yml on NaughtFound/kaizo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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