Skip to main content

ML potential usability and performance guide

Project description

ML-PEG

Build Status Docs status License DOI

ML potential usability and performance guide

[!NOTE] Migration in progress! The live benchmarks are currently run and analysed using mlipx nodes defined in this repository: https://github.com/joehart2001/mlipx.

New benchmarks are expected to be added following the format defined in this repository, and work is ongoing to migrate all existing benchmarks to this format. Our original interactive analysis suite is currently hosted at: http://mlip-testing.stfc.ac.uk:8050

Contents

Getting started

Dependencies

All required and optional dependencies can be found in pyproject.toml.

Installation

The latest stable release of ML-PEG, including its dependencies, will be installable from PyPI by running:

python3 -m pip install ml-peg

To get all the latest changes, ML-PEG can be installed from GitHub:

python3 -m pip install git+https://github.com/ddmms/ml-peg.git

Features

Coming soon!

Docker/Podman images

You can use Docker or Podman to build and/or run the ML-PEG app yourself.

[!TIP] The commands below will assume you are using Docker. To use Podman, replace docker with podman, e.g. podman pull, podman build, and podman run.

A Docker image with the latest changes can be pulled from the GitHub container registry, following the command that can be found under this repository's packages.

[!NOTE] Currently, this repository only contains images for the linux/amd64 platform. On MacOS with ARM silicon, this can often still be run by setting --platform linux/amd64 when using docker run.

Alternatively, to build the container yourself, you can use the Dockerfile provided. From the ml-peg directory, run:

docker build -t ml-peg-app -f containers/Dockerfile .

Once built, you can mount your current application data and start the app by running:

docker run --volume ./ml_peg/app/data:/app/ml_peg/app/data  --publish 8050:8050 ml-peg-app

[!TIP] Ensure ml_peg/app/data is populated with results before running the container.

A compressed zip file containing the current live data can be found at http://s3.echo.stfc.ac.uk/ml-peg-data/app/data/data.tar.gz.

This may also be downloaded through the command line using

ml_peg download --key app/data/data.tar.gz  --filename data.tar.gz

Alternatively, you can use the compose.yml file provided, via Docker Compose:

docker compose -f containers/compose.yml up -d

The app should now be accessible at http://localhost:8050.

Development

Please ensure you have consulted our contribution guidelines and coding style before proceeding.

We recommend installing uv for dependency management when developing for ML-PEG:

  1. Install uv
  2. Install ML-PEG with dependencies in a virtual environment:
git clone https://github.com/ddmms/ml-peg
cd ml-peg
uv sync # Create a virtual environment and install dependencies
source .venv/bin/activate
pre-commit install  # Install pre-commit hooks
pytest -v  # Discover and run all tests

Please refer to the online documentation for information about contributing new benchmarks and models.

License

GNU General Public License version 3

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

ml_peg-0.1.0.tar.gz (71.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ml_peg-0.1.0-py3-none-any.whl (137.9 kB view details)

Uploaded Python 3

File details

Details for the file ml_peg-0.1.0.tar.gz.

File metadata

  • Download URL: ml_peg-0.1.0.tar.gz
  • Upload date:
  • Size: 71.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ml_peg-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6052c0b1dd71e5aebf229c9410d1cb47e4003c98142c92d29815182192768948
MD5 ca04cd56e4ee62eeb9de1281ac92b1dd
BLAKE2b-256 cf3d846794076d14c49eec183032f9d4be613583842edba5987cdebd9d709bc8

See more details on using hashes here.

File details

Details for the file ml_peg-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ml_peg-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 137.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ml_peg-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 93a7dde8bbcebc953d34c3a1a49b7362e8c31ad91e81da8fc4888fe4662c1a24
MD5 087c97c14afd4cfade92d14e822ef63f
BLAKE2b-256 bf7b4b3a36b1c464250b382b19ae9f2452a033e26767e9a94ebf3a12efd34b0a

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