Skip to content

furiosa-ai/mlperf-log-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

74e7419 · Dec 9, 2024

History

52 Commits
Dec 8, 2024
Dec 9, 2024
Dec 9, 2024
Dec 6, 2024
Dec 7, 2024
Dec 8, 2024
Dec 4, 2024
Dec 6, 2024
Dec 9, 2024

Repository files navigation

// Start of Selection
# MLPerf Log Parser

A tool to parse MLPerf loadgen log files and convert them to JSON or YAML format.

## Features

- Parse MLPerf loadgen summary log files (`*log_summary.txt`)
- Parse MLPerf loadgen detail log files (`*detail.txt`)
- Support output in JSON or YAML format

## Installation

```bash
cargo install --git https://github.com/furiosa-ai/mlperf-log-parser.git --branch v4.1

Usage

Command Line Interface (CLI)

# Convert summary log file to JSON
mlperf-log-parser log-summary -f json mlperf_log_summary.txt mlperf_log_summary.json

# Convert detail log file to YAML
mlperf-log-parser log-detail -f yaml mlperf_log_detail.txt mlperf_log_detail.yaml

Output Format

Example JSON Output

{
  "test_parameters_used": {
    "batch_size": 32,
    "data_type": "INT8",
    "dataset": "ImageNet",
    "model": "ResNet50 v1.5",
    "quality_target": "99%",
    "target_latency_ns": 10000000
  }
}

Example YAML Output

test_parameters_used:
  batch_size: 32
  data_type: INT8
  dataset: ImageNet
  model: ResNet50 v1.5
  quality_target: 99%
  target_latency_ns: 10000000

License

MIT License

Contributing

Bug reports, feature suggestions, and pull requests are always welcome. Please create an issue or submit a pull request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published