Skip to content

[nightly] Fix garbage output in VLM nightly tests - #1172

Draft
quic-vishali wants to merge 1 commit into
quic:mainfrom
quic-vishali:nightly/vlm_junk_outputs
Draft

[nightly] Fix garbage output in VLM nightly tests#1172
quic-vishali wants to merge 1 commit into
quic:mainfrom
quic-vishali:nightly/vlm_junk_outputs

Conversation

@quic-vishali

Copy link
Copy Markdown
Contributor

Summary

Fix garbage output observed in VLM nightly tests.

Root Causes

  • split_model_io absent from disaggregated compile calls
  • ctx_len smaller than prompt_len for some models
  • Incomplete preprocessing for several VLM families in test_generate.py

Changes

  • Add split_model_io=True to VLM example compile calls and nightly pipeline config
  • Increase nightly ctx_len from 1024 to 6000
  • Refactor preprocessing into model-family specific helpers:
    • _prepare_internvl_inputs
    • _prepare_molmo_inputs
    • _prepare_unified_processor_inputs
    • _prepare_qwen_vl_inputs
    • _prepare_legacy_processor_inputs

Root causes:
- split_model_io absent from disaggregated compile calls
- ctx_len from the config smaller than prompt_len for some models
- Incomplete preprocessing for several VLM families in test_generate.py

Fixes:
- Add split_model_io=True to all VLM example compile calls and nightly
  pipeline config; required for correct disaggregated prefill/decode on
  multi-SoC configurations
- Increase ctx_len from 1024 to 6000 in the nightly config
- Refactor test_generate.py preprocessing into per-family helpers:
  _prepare_internvl_inputs,
  _prepare_molmo_inputs,
  _prepare_unified_processor_inputs,
  _prepare_qwen_vl_inputs,
  _prepare_legacy_processor_inputs
  with correct per-model preprocessing steps

Signed-off-by: Vishali Senthilkumar <vishsent@qti.qualcomm.com>
@quic-hemagnih

Copy link
Copy Markdown
Contributor

@quic-vishali Can you please fix the linter issues. Did you take the CI run with these changes? Can you please post the results. Changes overall looks good to me

@quic-hemagnih quic-hemagnih left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

an you please fix the linter issues. Did you take the CI run with these changes? Can you please post the results. Changes overall looks good to me

@quic-vishali

Copy link
Copy Markdown
Contributor Author

an you please fix the linter issues. Did you take the CI run with these changes? Can you please post the results. Changes overall looks good to me

Hi @quic-hemagnih, This PR is currently on hold, and a few VLM models are still pending validation. I'm currently working on another task and will share the validation results once I get back to this.

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.

2 participants