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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mcm_mycelium-0.0.0a130.tar.gz
Algorithm Hash digest
SHA256 badc26a4e96a5b4cae92c62ba22acafbf034722ed6a76e293a18c4cf621a0032
MD5 8a8f041f5c01c9f3da664e7f95465b40
BLAKE2b-256 ac104a06cb6a7ef0302fc358d14835eac9cb5926a010a4fb88da9f0ebf942184

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcm_mycelium-0.0.0a130-py3-none-any.whl
Algorithm Hash digest
SHA256 43707d0f62a7f1ad9945840b56981719c8878148f837e971e95fc66bedb3192a
MD5 ea84b7646ca31c4f07bec10093bff639
BLAKE2b-256 0cc8044c792506c3b53b4bb050c4afa0fd3241f50ace29b02449884f85c27f5d

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