Fix Mammoth’s CLI selecting the wrong engine

#3
by sheppo - opened

I noticed qev serve selects the multimodal engine because Mammoth’s config includes vision_config. That engine misses the block-bidirectional attention handling in serve.patch.

This change routes block-bidirectional checkpoints through the patched text engine, matching the model card’s Python example. Explicit --multimodal requests for these checkpoints fail with a clear error.

Checks: patch applies to the pinned runtime; routing regression fails before and passes after. No new GPU inference run.

@sheppo thanks for your pr. We are reading the mutlimodal_overrides in config.json

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment