mlcommons / mlcommons/cm4mlops

Adding profiling and performance analysis during benchmarking

Open
#23 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
20
Forks
21
PR merge metrics
No merged PRs in 30d

Description

We need to continue improving universal benchmarking and optimization capabilities in CM for different OS and hardware targets:

  • For compiled code (C/C++ ...) we improve the following CM scripts

  • For Python:

    • create CM script with a python package to collect various profiling info (memory utilization, etc) particularly to analyze ML/AI models (was asked by ABTF).
    • Collect function-level profiling
  • Add support for universal performance analysis to CM experiment:

    • Aggregate profiling from multiple runs and perform stat analysis (variation, min/max, phases, etc)
    • Visualize experiments

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the compile-program, benchmark-program, benchmark-program-mlperf, and automation/experiment scripts, then compare the listed C/C++ sample apps with the Python profiling requirements. The issue is complete only when profiling collection, multi-run analysis, and experiment visualization are defined and implemented across the requested OS and hardware targets.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cpp, python
Domain
devops, machine-learning, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.