Skip to content

Migrate eagle_vlm to the semantic Task SDK #1449

Closed

Description

@yifeif-nv

Parent epic: #1430

Status: Not started — comment here before beginning work.

Family: families/eagle_vlm/
Current declared task mode(s): embedding, reranking, encoding (see variant-specific declarations in support.py)
Target semantic Task(s): Identify the existing semantic Task contract(s) that preserve every current capability; record the exact IDs in the PR.

Work

  • Inventory this family's primary and secondary behavior, including batch, streaming, raw outputs and stateful operations where supported. Record the current defaults, profiles, checkpoint cases, and reference criteria.
  • Implement and bind the matching semantic Task interface(s) in this family's runtime. Preserve its graph, preprocessing, inference, postprocessing, configuration and complete owned results.
  • Align family-owned support, build metadata and manifests with the primary Task. Advertise only interfaces implemented by the loaded bundle; document whether existing bundles need rebuilding.
  • Add family-owned CPU contracts and public C/C++ SDK consumers. Cover invalid inputs, configuration handling, result lifetime and every relevant lifecycle.
  • Run a selected real checkpoint E2E with the existing oracle and thresholds, then check the remaining declared capabilities and public CLI, example and benchmark paths. Preserve meaningful passing criteria.

PR evidence

Link the migration PR here. Report the tested revision, exact commands and results, selected checkpoint cases, original reference checks, current-head CI, and any untested configurations. Keep a normal migration within families/eagle_vlm/**; raise a separate linked prerequisite issue if a shared contract is genuinely missing. Do not weaken an acceptance criterion to pass CI.

References: #1226 · family validation guide.

Activity

  1. jkzhang7 commented on Nov 2, 2026

    @jkzhang7
    Contributor

    Hi @yifeif-nv @chaofengw-nv, I'd like to take this one (eagle_vlm, parent epic #1430). I recently landed the encoder-family migrations for distilbert/electra/mpnet/xlnet (#1581, #1584) and deberta/dpr/fnet (#1936).

    Unlike those, this family has a trained reranking head (the nemotron-rerank-vl cases), so I expect the mapping to be embedding -> text_to_embedding and reranking -> text_pair_to_relevance / text_query_documents_to_relevance, with the bundle's declared mode deciding what it advertises. I will confirm the exact IDs against the current checkpoint cases and manifests and record them in the PR. I will keep the change inside families/eagle_vlm/** and link the PR here.

  2. jkzhang7 commented on Nov 2, 2026

    @jkzhang7
    Contributor

    Migration PR (draft): #1939

    Mapping used: embedding -> text_to_embedding, encoding -> text_to_pooled_features, reranking -> text_query_documents_to_relevance (primary) plus text_pair_to_relevance. One point I would like a maintainer's view on: the default rerank CLI form becomes --query/--documents (the old --document form is reached with --task text_pair_to_relevance). I kept the list Task primary because the server and benchmark adapter already select it; swapping is a small change if you prefer otherwise. No GPU run of my own yet; relying on the Community CI GPU lane.

  3. chaofengw-nv commented on Nov 2, 2026

    @chaofengw-nv
    Collaborator

    @jkzhang7 Thanks, keeping text_query_documents_to_relevance as the primary rerank Task is fine. The server's /rerank and the benchmark adapter already use the list Task, and the existing rerank manifests (prompt plus a documents list) match it, so the current reference checks carry over.

    Please cover these in #1939 before marking it ready:

    • State in the PR description that the default rerank CLI form is now --query/--documents, and that --task text_pair_to_relevance keeps the --document form.
    • Say whether existing embed and rerank bundles need to be rebuilt.
    • Exercise both rerank CLI forms in tests, and keep the list-Task E2E on its existing reference and thresholds.
  4. jkzhang7 commented on Nov 3, 2026

    @jkzhang7
    Contributor

    @chaofengw-nv thanks. All three are now in the #1939 description, and the PR is marked ready for review:

    • The default rerank form is --query/--documents; --task text_pair_to_relevance keeps the --document form. It is stated under "Behavior changes to review".
    • Existing embed and rerank bundles must be rebuilt: the recorded primary task names changed and the plugin no longer accepts the old ones, and older bundles also lack vocab_size in runtime.json.
    • Both rerank CLI forms are exercised in the E2E. The list form is the one gated against the HF reference with the existing reference and thresholds (unchanged). The pair form must return a finite logit per document and the same pairwise ordering as the list form; it is checked against the list form, not directly against HF scores. Community GPU lane on 5e2e0398: eagle_vlm E2E requested=4 executed=4 passed=4 (embed and rerank, fp16 and fp8); the tp4 manifests were not run.

    Could one of you trigger the internal premerge when convenient?

  5. xuanzic commented on Nov 4, 2026

    @xuanzic
    Collaborator

    The eagle_vlm migration to the semantic Task SDK was merged in #1939. eagle_vlm now binds its capabilities through semantic Tasks on main, so I'm closing this issue as completed. Thanks to everyone who contributed!

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions