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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mcm_mycelium-0.0.0a132.tar.gz
Algorithm Hash digest
SHA256 efa1da90882e87da5324ddf15fe16dc850954021f1743f100e5b609b6550dedf
MD5 f9d2dc0f7a93e6bfb03c883ea1988bef
BLAKE2b-256 f741fe4d671867e361e11f4d6cdde01881ef1b71547d3d68da01d156066bae83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcm_mycelium-0.0.0a132-py3-none-any.whl
Algorithm Hash digest
SHA256 3a593a484816ce544b02b299797da20e0d390751858b5a82c0957ad2ee0d5086
MD5 060471a76e57ba836827ae1f76b679fa
BLAKE2b-256 d7f24f2cad5b1874118fb24ef0bdc4f3364edcb28480d53a700b2b8f1531f7f7

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