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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mcm_mycelium-0.0.0a133.tar.gz
Algorithm Hash digest
SHA256 1f0d057f49bcf3d14ee467202831b7d149eabc474e6b9139ed04a2103cb46c6b
MD5 c8afe67fb49b821f16741f253e71a99f
BLAKE2b-256 543b09e3ad229005fdac8c42a89c7b975e26257391b9a1e5cad9c3e9a5d223f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcm_mycelium-0.0.0a133-py3-none-any.whl
Algorithm Hash digest
SHA256 8e8f31025e3458f7c82e80d9e6d5cf57594e28ee1929a07fc1202ee5cffa399f
MD5 84d6df97479799db40dc523603620283
BLAKE2b-256 14992aa14d77b0d029f14d6a281d9fad1f34dffc97658c7ad4ff0d171fa0de00

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