Installation
The MLdebugger Python SDK is a framework for collecting internal features and metadata from models built and trained in Python, enabling evaluation and debugging.
System Requirements
- Python: 3.7 - 3.13 (TensorFlow requires ≤ 3.12)
- ML Framework: PyTorch (1.7.1 up to the 2.x series) or TensorFlow/Keras (2.8.0 - 2.19)
Python 3.13 support by configuration
Python 3.13 joined the supported range in v0.4.1.
| Configuration | 3.13 |
|---|---|
| Core SDK (no extras) | ✅ |
| PyTorch | ✅ (wheels for 3.13 ship with torch 2.6 and later) |
| TensorFlow | ❌ Not supported |
TensorFlow on Python 3.13
No TensorFlow release in the supported range publishes a Python 3.13 wheel, so installation fails at install time (not at runtime). Use Python 3.12 or earlier for TensorFlow.
TensorFlow on macOS (Apple Silicon)
On Python 3.12 and later, the unified tensorflow package is resolved instead of
tensorflow-macos. Python 3.11 and earlier are unchanged.
About Python 3.6
Python 3.6 is not supported. Core dependencies (cryptography, SQLAlchemy 2.x, pandas 1.3+) require Python 3.7+.
Prerequisites
This SDK assumes that inference can be executed using models implemented in PyTorch or TensorFlow. Please run the following commands in a Python environment where one of these ML frameworks is installed and the model can be executed.
Installation Methods
Distribution
The MLdebugger SDK is not distributed on PyPI (pip install ml_debugger does not work). Install the wheel obtained from the private URL that we provide per customer.
Standard Installation
Install directly using the download link we provided.
pip install "https://dl.dropboxusercontent.com/s/zs7howwl22bp1t2lcu4fs/ml_debugger-0.5.0-py3-none-any.whl?rlkey=x080nj3h8frfie0iu56swzdld"
Installation URL
The installation URL may change. Contact the Adansons team for the latest URL.
Installation Without Dependencies
If you want to avoid dependency conflicts with your existing environment, use the --no-deps option.
pip install --no-deps "https://dl.dropboxusercontent.com/s/zs7howwl22bp1t2lcu4fs/ml_debugger-0.5.0-py3-none-any.whl?rlkey=x080nj3h8frfie0iu56swzdld"
In this case, you need to install the following main dependencies separately:
| Package | Minimum Version | Purpose |
|---|---|---|
| numpy | 1.19.0 | Numerical computation |
| pandas | 1.3.0 | Data manipulation |
| sqlalchemy | 1.4.0 | Database operations |
| sqlmodel | 0.0.8 | ORM models |
| requests | 2.25.0 | API communication |
| pyyaml | 6.0 | Configuration files |
| click / rich / textual | — | CLI and interactive TUI (mldebugger) |
| psutil / setproctitle | — | TUI resource readout / process title |
New dependencies in v0.4.0
As of v0.4.0 the Terminal App (mldebugger / mld) ships with the SDK, so click / rich / textual / psutil / setproctitle were added as default dependencies (no extra to specify). If you install with --no-deps, install these separately before using the CLI.
Update Method
To update an existing installation to the latest version, use the --upgrade option.
pip install --upgrade "https://dl.dropboxusercontent.com/s/zs7howwl22bp1t2lcu4fs/ml_debugger-0.5.0-py3-none-any.whl?rlkey=x080nj3h8frfie0iu56swzdld"
Installation Verification
To verify that the installation was successful, run the following command.
python -c "from importlib.metadata import version; print(version('ml-debugger'))"
If it runs without errors and displays the version number, the installation is successful.
0.5.0
The command-line tool mldebugger (short alias mld) is installed alongside the SDK. Verify it with:
mldebugger --version
Next Steps
Continue to Getting Started, starting with mldebugger login.