Repository navigation
fix(aiperf): keep reranking and detection profiles after Task SDK renames - #1980
Conversation
…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]>
|
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
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) andimage_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_gapalready fails onmainfor the first one.Exit Criteria
test_every_ready_catalog_task_has_defaults_or_a_stated_gappasses.Implementation
config/tasks.yaml: aliasimage_to_boxestoobject_detectionandtext_query_documents_to_relevancetoreranking, the same way fix(aiperf): keep Task SDK encoders and Bark in qualification #1966 aliasedtext_to_pooled_featuresandtext_to_audio. Both Tasks keep the old operation (detect,rerank) and output.tests/test_qual.py: check that the eagle_vlm rerank profile resolves torerankwith its old suite and grader, and thatimage_to_boxeshas the same defaults asobject_detection. No YOLO profile usesimage_to_boxesonmainyet, so the second check compares the config entries directly.Change categories
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 becausescipyis not installed; they fail the same way onmain.resolve_model("nemotron-rerank-vl-1b-v2"): tasktext_query_documents_to_relevance, operationrerank, suitescifact-rerank, graderparity_scores(before: "no Task defaults").Hardware, Environment, and Revisions
11c655b7. Head:149e5427. CPU only; the change is configuration.Not Run / Remaining Gaps
Contributor Self-Review
Notes For Future Readers
Risk level
Configuration aliases only, the same pattern as #1966.