Skip to content

fix(aiperf): keep reranking and detection profiles after Task SDK renames - #1980

Merged
xuanzic merged 1 commit into
NVIDIA:mainfrom
xuanzic:fix/aiperf-task-sdk-aliases
Nov 5, 2026
Merged

xuanzic merged 1 commit into
NVIDIA:mainfrom
xuanzic:fix/aiperf-task-sdk-aliases

Conversation

@xuanzic

@xuanzic xuanzic commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

Background

Closes #1979. AIPerf finds a profile's defaults by its Task name in config/tasks.yaml. Two Task SDK renames have no entry: text_query_documents_to_relevance (eagle_vlm, #1939) and image_to_boxes (the YOLO migrations #1539, #1540, #1541 and #1585). Their profiles drop out of AIPerf reports. test_every_ready_catalog_task_has_defaults_or_a_stated_gap already fails on main for the first one.

Exit Criteria

  • Profiles with either Task get the same AIPerf benchmarks and output check as before the rename.
  • test_every_ready_catalog_task_has_defaults_or_a_stated_gap passes.
  • Non-goal: changing any benchmark, threshold or grader.

Implementation

  • config/tasks.yaml: alias image_to_boxes to object_detection and text_query_documents_to_relevance to reranking, the same way fix(aiperf): keep Task SDK encoders and Bark in qualification #1966 aliased text_to_pooled_features and text_to_audio. Both Tasks keep the old operation (detect, rerank) and output.
  • tests/test_qual.py: check that the eagle_vlm rerank profile resolves to rerank with its old suite and grader, and that image_to_boxes has the same defaults as object_detection. No YOLO profile uses image_to_boxes on main yet, so the second check compares the config entries directly.

Change categories

  • Model or runtime behavior
  • Public API
  • ABI
  • Bundle or artifact format
  • Dependencies
  • Documentation only
  • CI or developer tooling

Validation

Commands and Results

  • pytest apps/aiperf_qual/tests/test_qual.py: the gap test and the two migration tests pass. Five other tests fail in my environment because scipy is not installed; they fail the same way on main.
  • resolve_model("nemotron-rerank-vl-1b-v2"): task text_query_documents_to_relevance, operation rerank, suite scifact-rerank, grader parity_scores (before: "no Task defaults").

Hardware, Environment, and Revisions

  • Base: 11c655b7. Head: 149e5427. CPU only; the change is configuration.

Not Run / Remaining Gaps

  • No AIPerf campaign was run. The change only restores the existing configuration for these two Tasks.

Contributor Self-Review

  • I have completed a self-review of this change.

Notes For Future Readers

  • Merge this before or together with the YOLO migrations so their profiles stay in AIPerf reports.

Risk level

  • Low
  • Medium
  • High

Configuration aliases only, the same pattern as #1966.

…ames

The Task SDK migrations renamed reranking to
text_query_documents_to_relevance (eagle_vlm, NVIDIA#1939) and are renaming
object_detection to image_to_boxes (YOLO families). AIPerf has no Task
defaults for the new names, so those profiles drop out of reports.
Both keep the old operation and output, so alias the old entries, as
NVIDIA#1966 did for the encoder and Bark renames.

Closes NVIDIA#1979

Signed-off-by: Vivian Chen <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary

  • Add image_to_boxes as an alias of object_detection qualification defaults. The alias retains the COCO accuracy benchmark and parity_boxes grader.
  • Add text_query_documents_to_relevance as an alias of reranking qualification defaults. The alias retains the SciFact reranking benchmark and parity_scores grader.
  • Add tests for the eagle_vlm profile’s task, operation, suite, and grader, and for matching detection defaults.
  • The author reports that the ready-catalog task test and two migration tests pass. Five other tests reportedly fail because scipy is missing in the author’s environment, with the same failure reported on main. No AIPerf campaign was run.

Architecture impact

  • Family-owned files: No family-owned implementation or validation files change.
  • Changed shared surfaces: apps/aiperf_qual/config/tasks.yaml defines defaults shared by qualification profiles. apps/aiperf_qual/tests/test_qual.py adds regression coverage.
  • Dependency directions: No new dependency direction is evident. The task aliases reuse existing configuration entries.
  • Affected consumers: Qualification model resolution consumes tasks.yaml. The linked issue identifies eagle_vlm reranking profiles and YOLO detection profiles as affected.
  • Unresolved blast-radius questions: The supplied evidence does not show that every affected profile resolves into qualification reports. The tests check one reranking profile and the equality of the two detection configuration entries.

Review outcome: HUMAN REVIEW REQUIRED. This is the appropriate outcome when available evidence cannot resolve a material blast-radius question. No review findings or severity counts were supplied.

Two task names gain qualification mappings that reuse existing settings for detection and reranking. Tests verify the reranking profile mapping and confirm that image_to_boxes shares the object_detection configuration.

Changes: Task Qualification Aliases

Layer / File(s) Summary
Add qualification task aliases
apps/aiperf_qual/config/tasks.yaml
image_to_boxes reuses the COCO benchmark and box-parity settings from object_detection. text_query_documents_to_relevance reuses the reranking benchmark and score-parity settings from reranking.
Verify migrated task qualification
apps/aiperf_qual/tests/test_qual.py
Tests check that nemotron-rerank-vl-1b-v2 resolves to text_query_documents_to_relevance with the rerank operation, scifact-rerank suite, and parity_scores grader. Another test compares the image_to_boxes and object_detection configurations.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix · Severity of issue fixed: Medium

Merge Risk: Minimal · up to 149e5

The configuration aliases preserve the intended qualification behavior without an established merge-blocking risk.

Pre-merge checks: Passed 9
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: preserving reranking and detection profiles after Task SDK renames.
Description check Passed The description covers the required background, exit criteria, implementation, change category, validation, environment, remaining gaps, self-review, future notes, and risk level. It provides sufficie…
Linked Issues check Passed Issue #1979 requires defaults for text_query_documents_to_relevance and image_to_boxes. apps/aiperf_qual/config/tasks.yaml aliases the former to reranking and the latter to object_detection.…
Out of Scope Changes check Passed The pull request changes only the two AIPerf task aliases and tests for the required migration behavior. The changes do not alter benchmarks, thresholds, graders, model behavior, or unrelated configur…
Docstring Coverage Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Family Ownership Boundary Passed PASS. The PR changes only shared AIPerf task defaults in apps/aiperf_qual/config/tasks.yaml: image_to_boxes aliases object_detection at lines 161-164, and text_query_documents_to_relevance ali…
Shared Semantic Neutrality Passed PASS. The changed shared configuration adds task-name aliases only: image_to_boxes reuses object_detection, and text_query_documents_to_relevance reuses reranking. The aliases add no new model…
Benchmark Validation Integrity Passed The pull request only adds YAML aliases for renamed tasks. image_to_boxes reuses the complete object_detection entry (coco plus parity_boxes), and text_query_documents_to_relevance reuses th…
Shared Change Blast Radius Passed The PR changes a shared AIPerf task-default surface, and the description and repository identify the blast radius. models.py resolves every catalog profile through shared config/tasks.yaml and rai…
Full details: Description check

Explanation

The description covers the required background, exit criteria, implementation, change category, validation, environment, remaining gaps, self-review, future notes, and risk level. It provides sufficient detail for this configuration-only change.

Full details: Linked Issues check

Explanation

Issue #1979 requires defaults for text_query_documents_to_relevance and image_to_boxes. apps/aiperf_qual/config/tasks.yaml aliases the former to reranking and the latter to object_detection. The aliases preserve rerank, detect, the existing suites, and the existing output graders. test_task_sdk_migrations_keep_their_tasks_qualification verifies the eagle_vlm task, operation, suite, and grader. test_image_to_boxes_keeps_object_detection_qualification verifies equal defaults. These changes also support the ready-catalog gap test.

Full details: Out of Scope Changes check

Explanation

The pull request changes only the two AIPerf task aliases and tests for the required migration behavior. The changes do not alter benchmarks, thresholds, graders, model behavior, or unrelated configuration.

Full details: Docstring Coverage

Explanation

Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 1 functions across 1 files. (1 skipped: 1 unsupported.)

Full details: Family Ownership Boundary

Explanation

PASS. The PR changes only shared AIPerf task defaults in apps/aiperf_qual/config/tasks.yaml: image_to_boxes aliases object_detection at lines 161-164, and text_query_documents_to_relevance aliases reranking at lines 258-261. These entries reuse shared benchmarks and output graders, not implementation or artifacts owned by another model family. The added tests at apps/aiperf_qual/tests/test_qual.py:316-329 validate task resolution and config equality; they do not import or link family-owned code. No families/ path or family registry was changed.

Full details: Shared Semantic Neutrality

Explanation

PASS. The changed shared configuration adds task-name aliases only: image_to_boxes reuses object_detection, and text_query_documents_to_relevance reuses reranking. The aliases add no new model topology, tensor or output handling, runtime strategy, dataset, threshold, or benchmark definition. tasks.yaml documents the existing narrow contract that renamed Tasks with the same operation and output alias their old entry. Catalog manifests provide the Task, while family-owned profile data continues to provide family-specific reference behavior. The added tests verify this shared contract; their model and family names do not introduce model-specific behavior.

Full details: Benchmark Validation Integrity

Explanation

The pull request only adds YAML aliases for renamed tasks. image_to_boxes reuses the complete object_detection entry (coco plus parity_boxes), and text_query_documents_to_relevance reuses the complete reranking entry (rerank plus parity_scores). The diff does not alter benchmarks, gates, measurement settings, reducers, transfer handling, output validation, serialization, or task/sample accounting. Added tests verify the alias equality and the eagle_vlm profile's suite, operation, and grader.

Full details: Shared Change Blast Radius

Explanation

The PR changes a shared AIPerf task-default surface, and the description and repository identify the blast radius. models.py resolves every catalog profile through shared config/tasks.yaml and raises no Task defaults before applying family-owned overrides (lines 191-211); campaign.py omits such profiles from reports (lines 514-516). The diff aliases both renamed Tasks to existing generic defaults while preserving detect/rerank, COCO/SciFact suites, and parity graders. The affected consumers are explicit: Eagle reranking and YOLO detection profiles, with task-group support for both renamed Tasks. The added tests validate reranker resolution, grader and suite preservation, alias equality, and the ready-catalog gap rule. The description explains that family-owned configuration cannot fix the shared Task-key lookup and reports the targeted test validation.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 11c655b and 149e542.

Files selected for processing: 2
  • apps/aiperf_qual/config/tasks.yaml
  • apps/aiperf_qual/tests/test_qual.py

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.

@xuanzic xuanzic added the run-internal-ci Maintainer-approved dispatch to internal CI label Nov 4, 2026
@github-actions github-actions Bot removed the run-internal-ci Maintainer-approved dispatch to internal CI label Nov 4, 2026
@xuanzic
xuanzic merged commit 513e76e into NVIDIA:main Nov 5, 2026
37 checks passed
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.

AIPerf: keep image_to_boxes and text_query_documents_to_relevance profiles in qualification

1 participant