Pip-installable, ready-to-run example models and pipelines for Michelangelo
Project description
michelangelo-examples
Pip-installable, ready-to-run example models and pipelines for
Michelangelo — a
lightweight on-ramp for trying Michelangelo without a full monorepo
checkout, the heavyweight example extra, or a running sandbox.
pip install michelangelo-examples[<example-name>]
Why this repo
The full example pipelines in
michelangelo/python/examples/
are the canonical, full-fidelity reference — they exercise real
Cadence/Temporal orchestration, Spark, and a live sandbox, and they aren't
going anywhere. But trying one today means checking out the whole monorepo
and installing one heavyweight extra that bundles every example's
dependencies (torch, transformers, xgboost, pyspark, ray,
mlflow, peft, and more) at once, regardless of which example you
actually want.
michelangelo-examples is a second, lighter tier: each example is its own
pip extra with only the dependencies it needs, plus a plain-Python
run_local.py entrypoint that trains/evaluates locally — no Cadence, no
Spark, no sandbox. It's the "try it in five minutes" path underneath the
full pipeline reference, not a replacement for it.
Examples
(Coming soon — v1 will port a small initial set, starting with
california-housing, movielens, and bert-cola. See the
project spec
for the full list this repo is drawing from.)
Each example will live under examples/<example-name>/ with its own
README.md, model.py (or an import from
michelangelo-models
where applicable), and run_local.py.
Installing an example
pip install michelangelo-examples[california-housing]
python -m michelangelo_examples.california_housing.run_local
Only that example's dependencies are installed.
Relationship to other Michelangelo repos
michelangelo— the core platform;python/examples/there remains the full pipeline reference (Cadence/Temporal/Spark/sandbox).michelangelo-models— pluggable model architecture definitions. Some examples here may import a seed architecture from there instead of defining their own model.
Development
This repo uses uv for dependency
management.
uv build
uv run pytest
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file michelangelo_examples-0.0.1.tar.gz.
File metadata
- Download URL: michelangelo_examples-0.0.1.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1b706165a8a4d5eeec9d2b09447706c8ff1b0ea8676971904d502aa78041f9d
|
|
| MD5 |
7c972866b2aa00fa17d48f18e3c09ce3
|
|
| BLAKE2b-256 |
13b893ab09d1b0ddb9ddb75e5f68f2ccab30dcbd3a0857c2fe03978ea8052b70
|
File details
Details for the file michelangelo_examples-0.0.1-py3-none-any.whl.
File metadata
- Download URL: michelangelo_examples-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25a75be042061a0bd57a905121fe4cd68c4365bd26ad23f6c7dbaa27b15e5b3a
|
|
| MD5 |
e9a5166db087b4efe23fabd3ea9326d9
|
|
| BLAKE2b-256 |
7890e56746572bfa629a44e8db87c844595efcb75009c0e568cb8f036beaf2a0
|