Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat(postprocess): exclude AIPerf inputs.json from uploaded artifacts. - #383

Open
fsaady wants to merge 5 commits into
NVIDIA:mainfrom
fsaady:fsaady/aiperf-inputs-json-artifact
Open

feat(postprocess): exclude AIPerf inputs.json from uploaded artifacts.#383
fsaady wants to merge 5 commits into
NVIDIA:mainfrom
fsaady:fsaady/aiperf-inputs-json-artifact

Conversation

@fsaady

@fsaady fsaady commented Sep 4, 2026

Copy link
Copy Markdown

Feature Summary:

Exclude AIPerf-generated inputs.json files from saved artifacts. During postprocessing, srt-slurm temporarily moves these files outside the log directory so artifact rollup and upload ignore them, then restores them afterward. This applies to all benchmarks using AIPerfBenchmarkRunner.

Reasoning:

AIPerf now generates inputs.json, which can be large and is not useful as a persisted benchmark artifact. Keeping it increases archive size and upload/storage costs unnecessarily. Temporarily quarantining it avoids publishing the file while preserving the local output and leaving benchmark runners independent of artifact-handling concerns.

@codecov-commenter

codecov-commenter commented Sep 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@ba37b7c). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #383   +/-   ##
=======================================
  Coverage        ?   73.83%           
=======================================
  Files           ?      101           
  Lines           ?    14146           
  Branches        ?        0           
=======================================
  Hits            ?    10445           
  Misses          ?     3701           
  Partials        ?        0           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

quarantined_path: Path


_AIPERF_ARTIFACT_EXCLUSIONS = (_ArtifactExclusion(pattern="artifacts/**/inputs.json"),)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This only works because I was using --artifact-dir in the aiperf command. Making it more generic now

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed it to **/inputs.json.

Reviewers: what do you think?

…ts.json from aiperf artifacts.

Signed-off-by: Fadi Saady <[email protected]>
- Easier to add new exclusions for other runners.

Signed-off-by: Fadi Saady <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants