Skip to content

Conversation

@the-david-oy
Copy link
Contributor

Fix Model Analyzer's LLM profiling mode. GenAI-Perf changed its command line to have a profile subcommand, which broke the LLM mode for Model Analyzer.

Also, make the model type more case-insensitive for flexibility.

@the-david-oy the-david-oy self-assigned this Nov 26, 2025
@the-david-oy the-david-oy changed the title fix: LLM profiling CLI command fix: update LLM profiling CLI command Nov 26, 2025
Update copyright

Fix years in copyright
@the-david-oy the-david-oy merged commit 6c49b35 into main Dec 1, 2025
4 checks passed
@the-david-oy the-david-oy deleted the doy-llm branch December 1, 2025 19:56
the-david-oy added a commit that referenced this pull request Dec 2, 2025
The copyright checker was failing because PR #991 converted
perf_analyzer.py to SPDX format, but the check_copyright.py script
only supported the old Apache license format.

This commit updates qa/common/check_copyright.py to recognize both:
1. Old Apache format: Copyright 2020-2023, NVIDIA CORPORATION...
   (followed by full Apache 2.0 license text)
2. SPDX format: SPDX-FileCopyrightText: Copyright (c) 2020-2025...
   (followed by SPDX-License-Identifier: Apache-2.0)

The script now detects which format is used and validates accordingly.
Both formats support year ranges and validate that:
- Start year is not greater than current year
- End year is not greater than current year
- Years are in increasing order

Tested with both SPDX files (perf_analyzer.py) and old Apache format
files (perf_config.py). All existing files pass validation.

Remove comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants