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.0.tar.gz (11.7 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.0-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kaizo-1.1.0.tar.gz
  • Upload date:
  • Size: 11.7 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.0.tar.gz
Algorithm Hash digest
SHA256 44e7d2aadac3cd62080d4f726071031cc9d59448449caa4e4b595b35d83f7379
MD5 d6dcbf7771831c070d0e72b6e372d426
BLAKE2b-256 e35ab70bce16677e2721a8fe0be87bf325f28b4061e77c41b2eda9304390cfa9

See more details on using hashes here.

Provenance

The following attestation bundles were made for kaizo-1.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: kaizo-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.9 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e20e4ab8f77c6d403212c6d4ba4205c11bd33a44d0f643e5b1f5ce2066b6bca
MD5 388340aefef5bc266be75dc4442466f6
BLAKE2b-256 0ce71cf3ca2b9b38077ebdcd39bb3fc54504a4243f189e8e86eb5a12a65476fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for kaizo-1.1.0-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