Skip to content

feat: Consolidate llama examples - #296

Merged
arekay-nv merged 11 commits into
mainfrom
arekay/consolidate_llama_examples
Jul 29, 2026
Merged

feat: Consolidate llama examples#296
arekay-nv merged 11 commits into
mainfrom
arekay/consolidate_llama_examples

Conversation

@arekay-nv

Copy link
Copy Markdown
Collaborator

What does this PR do?

Consolidate the llama2-70b and llama3.1-8b examples into a single folder.

Type of change

  • Bug fix
  • New feature
  • Documentation update
  • Refactor/cleanup

Related issues

Testing

  • Tests added/updated
  • All tests pass locally
  • Manual testing completed

Checklist

  • Code follows project style
  • Pre-commit hooks pass
  • Documentation updated (if needed)

Signed-off-by: Rashid Kaleem <230885705+arekay-nv@users.noreply.github.com>
@arekay-nv
arekay-nv requested review from a team and Copilot April 28, 2026 01:42
@github-actions

github-actions Bot commented Apr 28, 2026

Copy link
Copy Markdown

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request consolidates Llama benchmarking examples into a single directory and introduces a new configuration for Qwen models. The review feedback highlights a critical issue regarding an incompatible dataset preset for the Qwen model which could lead to incorrect results. Other suggestions include improving documentation clarity for dataset downloads, reverting unnecessary import reordering in the download script to maintain PEP 8 compliance, and removing hardcoded dates from configuration files to improve reusability.

Comment thread examples/05_Llama_Examples/qwen-multiple-concurrency.yaml Outdated
Comment thread examples/05_Llama_Examples/README.md Outdated
Comment thread examples/05_Llama_Examples/download_cnndm.py Outdated
Comment thread examples/05_Llama_Examples/qwen-multiple-concurrency.yaml Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR consolidates the separate Llama2-70B and Llama3.1-8B example folders into a single examples/05_Llama_Examples/ directory to simplify discovery and maintenance of Llama benchmarking configs/docs.

Changes:

  • Update examples/README.md to point to a unified Llama examples folder.
  • Add a consolidated Llama README plus new/relocated YAML configs and helper assets under examples/05_Llama_Examples/.
  • Remove the old per-model example READMEs.

Reviewed changes

Copilot reviewed 7 out of 10 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
examples/README.md Updates the examples index to reference the consolidated Llama examples folder.
examples/05_Llama_Examples/README.md New consolidated instructions for running Llama 3.1-8B and Llama 2-70B benchmarks.
examples/05_Llama_Examples/offline_llama3_8b_cnn.yaml Adds offline Llama 3.1-8B CNN/DailyMail config.
examples/05_Llama_Examples/online_llama3_8b_cnn.yaml Adds online Llama 3.1-8B CNN/DailyMail config.
examples/05_Llama_Examples/online_llama2_70b_orca.yaml Adds online (submission-mode) Llama 2-70B OpenOrca config.
examples/05_Llama_Examples/download_cnndm.py Keeps/relocates CNN/DailyMail download helper script.
examples/05_Llama_Examples/calibration-list.txt Adds a checked-in calibration ID list referenced by the Llama3.1 workflow.
examples/05_Llama_Examples/qwen-multiple-concurrency.yaml Introduces a Qwen/SGLang config (currently schema-invalid and out of PR scope).
examples/05_Llama3.1-8B_Example/README.md Removed in favor of the consolidated Llama README.
examples/06_Llama2-70B_Example/README.md Removed in favor of the consolidated Llama README.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread examples/05_Llama_Examples/README.md
Comment thread examples/05_Llama_Examples/README.md Outdated
Comment thread examples/05_Llama_Examples/README.md
Comment thread examples/05_Llama_Examples/qwen-multiple-concurrency.yaml Outdated
Comment thread examples/05_Llama_Examples/qwen-multiple-concurrency.yaml Outdated
Comment thread examples/05_Llama_Examples/qwen-multiple-concurrency.yaml Outdated
Signed-off-by: Rashid Kaleem <230885705+arekay-nv@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 28, 2026 02:19
Signed-off-by: Rashid Kaleem <230885705+arekay-nv@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 10 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread examples/05_Llama_Examples/README.md
arekay-nv added 2 commits June 4, 2026 07:54
Signed-off-by: Rashid Kaleem <230885705+arekay-nv@users.noreply.github.com>
@arekay-nv
arekay-nv merged commit 920ef49 into main Jul 29, 2026
9 checks passed
@arekay-nv
arekay-nv deleted the arekay/consolidate_llama_examples branch July 29, 2026 02:15
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.

3 participants