Skip to main content

mycelium — experiment contracts, statistical optimisation, and portable executors for small-model training

Project description

mycelium

Experiment management for statistical optimisation, with integrations for portable executors and architectures — built for small-model fine-tuning.

Alpha. Versioned as 0.0.0aN prereleases; every release may break the API. Published on PyPI as mcm-mycelium (a PEP 541 request for the bare mycelium name is pending).

Install

uv add mcm-mycelium               # contract layer (reishi) only
uv add 'mcm-mycelium[physarum]'   # + Optuna sweep tooling
uv add 'mcm-mycelium[oyster]'     # + MLX mesh-executor deps (Apple Silicon)
uv add 'mcm-mycelium[enoki]'      # KubeRay executor (deps are image-managed)
uv add 'mcm-mycelium[all]'

One wheel ships all four modules; extras only add each module's third-party dependencies. Importing a module whose extra is missing fails with a plain ModuleNotFoundError naming the dependency.

Modules

Module What it is
reishi The experiment contract layer: Task, Dataset, Recipe, Trial, and Board records, storage backends, and the plugin CLI.
physarum Statistical optimisation: Optuna-backed sweeps over recipe search spaces, with epsilon-constraint objectives and pruning.
enoki KubeRay (cloud) execution — renders recipes into RayJobs. Its torch/ray stack is installed by the training image, not from PyPI.
oyster Self-hosted mesh execution on Apple Silicon (MLX LoRA training, GitHub Actions transport).

enoki and physarum register mcm.plugins entry points; the reishi plugin CLI discovers them automatically and warns (rather than fails) when an extra's dependencies are absent.

License

Apache-2.0 — see LICENSE and NOTICE.

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

mcm_mycelium-0.0.0a131.tar.gz (73.7 kB view details)

Uploaded Source

Built Distribution

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

mcm_mycelium-0.0.0a131-py3-none-any.whl (85.1 kB view details)

Uploaded Python 3

File details

Details for the file mcm_mycelium-0.0.0a131.tar.gz.

File metadata

  • Download URL: mcm_mycelium-0.0.0a131.tar.gz
  • Upload date:
  • Size: 73.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.7

File hashes

Hashes for mcm_mycelium-0.0.0a131.tar.gz
Algorithm Hash digest
SHA256 e85e95d5439d82826905bf8002397c9e049c188a22679616438f6f9e5c3e9716
MD5 05cbbe00765b89eebb60626ab82da1f4
BLAKE2b-256 963348ad1dfe7f03870b565303363a19a905b666aa797558762e6eb18f36192b

See more details on using hashes here.

File details

Details for the file mcm_mycelium-0.0.0a131-py3-none-any.whl.

File metadata

File hashes

Hashes for mcm_mycelium-0.0.0a131-py3-none-any.whl
Algorithm Hash digest
SHA256 163d2d3012ccc98fddf8f77fff0e63484e49180254ab84c4247ea1c5a0103b21
MD5 f4277301743b0bbbf369c78951ca24a1
BLAKE2b-256 682738880205e5f90b94e1f967ccf02a6503380a870af1a826fd2a732d49836a

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