python3-mlcommons-loadgen: add a recipe for version 4.0.1

The LoadGen is a reusable module that efficiently and fairly
measures the performance of inference systems.

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Thomas Perrot 2024-11-21 15:13:47 +01:00 committed by Khem Raj
parent 29d4127753
commit 0bf9ceca04
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 23 additions and 0 deletions

View File

@ -236,6 +236,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
python3-mccabe \
python3-meh \
python3-meld3 \
python3-mlcommons-loadgen \
python3-mock \
python3-monotonic \
python3-mpmath \

View File

@ -0,0 +1,22 @@
SUMMARY = "MLPerf Inference LoadGen python bindings"
DESCRIPTION = "The LoadGen is a reusable module that efficiently and fairly \
measures the performance of inference systems. It generates \
traffic for scenarios as formulated by a diverse set of experts \
in the MLCommons working group, to emulate the workloads seen in \
mobile devices, autonomous vehicles, robotics, and cloud-based \
setups."
HOMEPAGE = "https://mlcommons.org/"
BUGTRACKER = "https://github.com/mlcommons/inference/issues"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://setup.py;beginline=1;endline=14;md5=2c6e34309ef8d57d59ce119f63bc1b76"
DEPENDS = "python3-pybind11-native"
inherit setuptools3 pypi
PYPI_PACKAGE = "mlcommons_loadgen"
SRC_URI[sha256sum] = "0e7059b289ea2aabb3e9ad1179bbce89703294570ee59c07cf30d52f1b38f732"
# Because the pyproject.toml contains invalid requirements.
INSANE_SKIP += "pep517-backend"