diff mbox series

[meta-python] python3-mlcommons-loadgen: add a recipe for version 4.0.1

Message ID 20241121141347.365171-1-thomas.perrot@bootlin.com
State Under Review
Headers show
Series [meta-python] python3-mlcommons-loadgen: add a recipe for version 4.0.1 | expand

Commit Message

Thomas Perrot Nov. 21, 2024, 2:13 p.m. UTC
From: Thomas Perrot <thomas.perrot@bootlin.com>

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>
---
 .../packagegroups/packagegroup-meta-python.bb |  1 +
 .../python3-mlcommons-loadgen_4.0.1.bb        | 22 +++++++++++++++++++
 2 files changed, 23 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python3-mlcommons-loadgen/python3-mlcommons-loadgen_4.0.1.bb
diff mbox series

Patch

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 8ee1cdc10152..8daf5894a53c 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -236,6 +236,7 @@  RDEPENDS:packagegroup-meta-python3 = "\
     python3-mccabe \
     python3-meh \
     python3-meld3 \
+    python3-mlcommons-loadgen \
     python3-mock \
     python3-monotonic \
     python3-mpmath \
diff --git a/meta-python/recipes-devtools/python3-mlcommons-loadgen/python3-mlcommons-loadgen_4.0.1.bb b/meta-python/recipes-devtools/python3-mlcommons-loadgen/python3-mlcommons-loadgen_4.0.1.bb
new file mode 100644
index 000000000000..06eedaea5216
--- /dev/null
+++ b/meta-python/recipes-devtools/python3-mlcommons-loadgen/python3-mlcommons-loadgen_4.0.1.bb
@@ -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"