Skip to content

Feature: support Salesforce/blip2-opt-2.7b #2574

Open

Description

@willg-nv

Request type

New model or checkpoint support

Problem and use case

Support Salesforce/blip2-opt-2.7b in TensorRT-Model-Connect for image-conditioned text generation, including captioning and visual question answering. Provide a reproducible native build and runtime path with checkpoint-specific validation and documented limits.

Proposed outcome

Add family-owned checkpoint/runtime integration, a reproducible build recipe, documentation, and tests.

Acceptance criteria:

  • Load the selected checkpoint and required public processor/tokenizer assets; pin the selected revisions in the recipe.
  • Support the declared inputs and runtime behavior through the native public interfaces.
  • Match image and optional text processing, preserve the BLIP-2 visual conditioning path, and compare native generated outputs with the upstream reference under declared decoding settings.
  • Record validation results against an independent upstream reference using the same inputs and declared settings.
  • Document supported precision, inputs, runtime limits, and remaining gaps.

Model and target details

  • Model: Salesforce/blip2-opt-2.7b.
  • Checkpoint revision: select and pin during bring-up.
  • Task / initial scope: Image-conditioned text generation, including captioning and visual question answering.
  • Initial precision: To be established and documented during bring-up; no precision qualification is claimed here.
  • Runtime target: TensorRT-Model-Connect native runtime.
  • Target GPU and memory requirements: to be established during bring-up.

Alternatives considered

Use the public upstream inference path linked from the model page as a reference. Native Model Connect integration and validation are the requested outcome; no comparative evaluation is claimed here.

Additional context

  • Public model reference: Salesforce/blip2-opt-2.7b.
  • The checkpoint combines an image encoder, a Q-Former, and OPT-2.7B. Initial support should document input and generation limits for this exact checkpoint.
  • This request defines bring-up work; it does not claim validated support, accuracy, or performance.

Submission checks

  • I searched open and closed issues and found no duplicate request.
  • I removed secrets, private/internal evidence, personal paths, and restricted artifacts.

Activity

  1. added
    enhancement
    on Nov 23, 2026
  2. linked a pull request that will close this issueBringup/blip2 opt 2.7b #2585on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions