Version
Commit 39e657d (PR #359: "Bug fixes and performance enhancements: object storage, checkpointing, Parquet loading")
Description
mlpstorage reports reportgen crashes immediately because the CLI parser unconditionally accesses parsed_args.file and parsed_args.object, which only exist on subcommands that define the --file / --object flags (e.g., training run, checkpointing run). The reports reportgen subcommand does not define these flags.
Reproduction
# 1. Run any checkpointing benchmark to produce results
mlpstorage checkpointing run --model llama3-8b \
--closed --hosts localhost --num-processes 1 \
--checkpoint-folder /tmp/ckpt-test \
--results-dir /tmp/ckpt-results \
--client-host-memory-in-gb 768 --file
# 2. Run reportgen — crashes
(mlpstorage) ubuntu@ip-172-31-24-76:~/storage$ mlpstorage reports reportgen --file --results-dir /mnt/nvme/ckpt-results
usage: mlpstorage [-h] [--version] {training,checkpointing,vectordb,kvcache,reports,history,lockfile} ...
mlpstorage: error: unrecognized arguments: --file
(mlpstorage) ubuntu@ip-172-31-24-76:~/storage$ mlpstorage reports reportgen --results-dir /mnt/nvme/ckpt-results
2026-05-09 12:24:00|ERROR: Unexpected error: 'Namespace' object has no attribute 'file'
2026-05-09 12:24:00|ERROR: An internal error occurred: 'Namespace' object has no attribute 'file'
This is likely a bug in MLPerf Storage.
Please report this issue at:
https://github.com/mlcommons/storage/issues
Include the full error message and stack trace.
2026-05-09 12:24:00|INFO: Run with --debug for full stack trace
Version
Commit
39e657d(PR #359: "Bug fixes and performance enhancements: object storage, checkpointing, Parquet loading")Description
mlpstorage reports reportgencrashes immediately because the CLI parser unconditionally accessesparsed_args.fileandparsed_args.object, which only exist on subcommands that define the--file/--objectflags (e.g.,training run,checkpointing run). Thereports reportgensubcommand does not define these flags.Reproduction