---
title: "Training and Serving Multimodal LLMs in Production"
description: "Canva fine-tuned a 4B Qwen3.5 vision-language model to run 30+ content and quality checks on over 100k images a day, cutting LLM costs by about 85% and halving the false negative rate without raising false positives."
url: "https://swe.quest/articles/training-and-serving-multimodal-llms-in-production-25a82cfa670b2153"
canonical: "https://www.canva.dev/blog/engineering/local-jev-multimodal-llms-in-production/"
source: "Canva Engineering"
published: "2026-11-30"
difficulty: "hard"
kind: "Case study"
reading_minutes: 21
tags: ["inference","model-training","llms","computer-vision","cost-optimization"]
---

# Training and Serving Multimodal LLMs in Production

A post on [Canva Engineering](https://swe.quest/sources/canva.md), published 2026-11-30, 21 min read, Case study. Original: [https://www.canva.dev/blog/engineering/local-jev-multimodal-llms-in-production/](https://www.canva.dev/blog/engineering/local-jev-multimodal-llms-in-production/)

## Summary

Canva fine-tuned a 4B Qwen3.5 vision-language model to run 30+ content and quality checks on over 100k images a day, cutting LLM costs by about 85% and halving the false negative rate without raising false positives. Training used LoRA/QLoRA across all linear layers, loss masking on the assistant response, and a second stage that trains the true-minus-false logit difference directly with a binary classification loss. At serving time, a three-state logit mask in vLLM forces the fixed JSON structure and yields a calibrated probability per check. Because 157 of 190 output tokens are known in advance, switching to draft-free speculative decoding with a grammar constraint dropped p50 latency from 3.5 s to 240 ms on L40S GPUs.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Computer vision](https://swe.quest/tags/computer-vision.md) (AI & ML)
- [Cost optimization](https://swe.quest/tags/cost-optimization.md) (Reliability & operations)

## Prerequisites

- transformer decoding and logits
- LoRA fine-tuning ([easy posts on Model training](https://swe.quest/tags/model-training.md?difficulty=easy))
- PyTorch
- vLLM serving basics

## Keywords

Qwen3.5, vLLM, LoRA, QLoRA, speculative decoding, ChatML, L40S, structured outputs

## Related posts

- [Build specialized multimodal models with LFM3](https://swe.quest/articles/build-specialized-multimodal-models-with-lfm3-15ea2b7443acbb04.md): Hugging Face · 2026-10-27 · Hard · 14 min read · LLMs, Inference & serving, Computer vision, Speech & audio, Model training
  LFM3 is Liquid AI's new family of ~2B-parameter models: text, vision, audio, omni and decision variants, all built on one shared LFM3-1.7B-Base backbone and designed for single-GPU fine-tuning and on-device deployment.
- [Preference Optimization for Vision Language Models](https://swe.quest/articles/preference-optimization-for-vision-language-models-a84799e96613bf21.md): Hugging Face · 2024-07-10 · Hard · 11 min read · Model training, Computer vision, LLMs, Python
  TRL now supports direct preference optimization (DPO) for vision language models, trained on chosen/rejected answer pairs rather than fixed labels.
- [SmolVLM - small yet mighty Vision Language Model](https://swe.quest/articles/smolvlm-small-yet-mighty-vision-language-model-c85d5a6cd246b728.md): Hugging Face · 2024-11-26 · Hard · 12 min read · Computer vision, Model training, Inference & serving, LLMs, Evaluation
  SmolVLM is a 2B-parameter open vision language model built on the Idefics3 architecture with a SmolLM2 1.7B backbone.
- [Vision Language Models (Better, faster, stronger)](https://swe.quest/articles/vision-language-models-better-faster-stronger-e122b57ac9aa84ed.md): Hugging Face · 2025-05-12 · Easy · 23 min read · LLMs, Computer vision, Machine learning, RAG & retrieval, Inference & serving
  Vision language models shifted over the past year toward smaller yet stronger models, any-to-any architectures, multimodal reasoning, Mixture-of-Experts decoders and vision-language-action models for robotics.
- [Optimizing inference speed and costs: Lessons learned from large-scale deployments](https://swe.quest/articles/optimizing-inference-speed-and-costs-lessons-learned-from-large-scale-1e80b28572985147.md): Together AI · 2026-01-22 · Easy · 6 min read · Inference & serving, LLMs, Cost optimization, Performance engineering
  Lower LLM inference latency and cost come mainly from how inference runs rather than from buying more GPUs.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
