Registry / devops / mlcflow

mlcflow

JSON →
library1.2.1pypypiunverified

MLCflow is an automation interface for CPU/GPU benchmarking, providing a unified Python API to run, manage, and compare benchmark experiments. It supports hardware detection, resource monitoring, and result aggregation. The current PyPI version is 1.2.1, with a release cadence of approximately monthly.

pip install mlcflow
INSTALL
IMPORT
SIG · MLCFLOW
M
mlcflow
devopspythonv1.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MLCBench
from mlc import MLCBench
from mlcflow import MLCBench

Create a simple CPU benchmark, run it, and print summary.

from mlcflow import MLCBench bench = MLCBench() config = bench.create_config('cpu', 'simple', extra='--iterations 10') results = bench.run(config) print(results.summary())
mlcflow --version
Debug
Known issues
gotchaThe `run()` method returns a list of result dicts, not a single dict. Iterate over the list or use `results[0]` if only one config.
fix
Access results via indexing: `results[0]['metric']`.
affects: >=1.0.0
deprecatedThe `BenchmarkConfig` parameter `iterations` is deprecated since v1.1.0; use `extra='--iterations N'` instead.
fix
Pass iterations via `extra` parameter: `bench.create_config('cpu', 'simple', extra='--iterations 10')`.
affects: >=1.1.0
gotchaWhen changing hardware (e.g., GPU type), you must create a new `MLCBench` instance; reusing the same instance may cache old hardware info.
fix
Create a fresh `MLCBench()` for each hardware configuration.
affects: >=1.0.0
Upgrade
Version history
1.2.1latest on PyPI · released Apr 16, 2026
Audit
Dependencies
psutilrequiredSystem resource monitoring
pandasrequiredResult data handling
Agent activity
25 hits · last 30 days
node
22
OpenAI (training)
2
Resources
mlcflow — pip install mlcflow · libregistry