Skip to main content
Back

Michigan's Cornserve Runs Qwen Omni 3.81x Faster by Splitting Multimodal AI

Cornserve breaks apart multimodal models into independently scalable pieces, delivering 3.81x higher throughput and 5.79x lower tail latency on Qwen Omni workloads.

Pro

  • Cornserve is an open-source Kubernetes-based serving system for Any-to-Any multimodal models at github.com/cornserve-ai/cornserve.
  • Model fission splits models at component boundaries so encoders, LLMs, and generators scale independently on dedicated GPUs.
  • Delivers up to 3.81x higher throughput and 5.79x lower P99 tail latency versus monolithic deployment on Qwen Omni.
  • Record-and-replay execution supports arbitrary Python control flow while dispatching component invocations in parallel.
  • Sidecar daemons forward tensors via shared memory intra-node and RDMA inter-node, bypassing NVLink congestion.
  • Successfully serves Qwen 3 Omni 30B, which the Hugging Face Transformers baseline cannot fit at all.

Serving a text-only LLM is a solved problem. Serving a model that ingests audio, video, and images and then emits both text and speech is a very different beast, and existing engines like vLLM or xDiT only cover slivers of it. A team from the University of Michigan, USC, and Cisco Research just released Cornserve, a Kubernetes-native serving system built specifically for this new generation of Any-to-Any models.

The paper reports up to 3.81x higher throughput and 5.79x lower P99 latency on Qwen Omni compared to a monolithic Hugging Face Transformers baseline, and, more tellingly, it manages to serve models that the baseline cannot fit at all.

Why Any-to-Any breaks conventional serving

Any-to-Any models are the emerging class where the input and output can each be any combination of text, image, video, or audio. Cornserve is a distributed inference platform for complex, Any-to-Any multimodal AI that splits complex models into smaller separately scalable components (model fission) and shares common components across multiple applications. Concretely, that means models like Qwen 2.5/3 Omni, DeepSeek Janus, LTX-2, InternVL 3, and Qwen Image.

Internally these models are not a single blob of weights. They are a graph of heterogeneous components: multimodal encoders (image, video, audio), one or more LLMs, and multimodal generators such as diffusion transformers or audio vocoders. That creates two problems for a serving system:

  • Path heterogeneity. A text-only request skips the encoders entirely. A request that asks for spoken audio has to traverse an extra autoregressive "talker" LLM and a vocoder. Different requests hit different components at different rates.
  • Scaling heterogeneity. The components have wildly different throughput characteristics on the same hardware. In Qwen 2.5 Omni, the text generation component achieves 4x higher throughput than the audio generator on the same A100 GPU. Pack them into one process and the slowest component throttles everything.

Existing serving systems side-step this. vLLM is optimized for text and vision-language models, xDiT targets diffusion-based image and video generators, and disaggregation techniques like Prefill-Decode splitting are hard-coded to specific architectures. None of them generalize to a computation graph that changes shape per request.

Model fission: chop the model, scale the pieces

Cornserve's central idea is what the authors call model fission. Instead of running an Any-to-Any model as one monolithic executor, developers describe it as a graph of unit tasks, and Cornserve deploys each unit on its own GPU pool with its own replica count.

The programming model uses three layers of abstraction. Cornserve introduces three levels of abstraction: unit tasks, composite tasks, and apps. A unit task, e.g., LLMTask, EncoderTask, GeneratorTask, represents an atomic model component, and is deployed as its own Task Manager. Model developers compose unit tasks within a composite task class that implements a model's computations in plain Python inside the invoke method. An app is a single Python module that instantiates unit/composite tasks and defines an async def serve function as the entry point.

A minimal multimodal LLM composite task looks roughly like this:

class MLLMTask(Task[ChatCompletion, Stream[str]]):
    model_id: str
    modalities: list[Modality]
    encoder_fission: bool = True
    def post_init(self):
        if self.encoder_fission:
            self.encoders = {m: EncoderTask(self.encoder_ids, m)
                             for m in self.modalities}
        self.llm = LLMTask(self.model_id,
                           recv_embeds=self.encoder_fission)
    def invoke(self, req):
        if self.encoder_fission:
            for mes in extract_multimodal(req.messages):
                emb = self.encoders[mes.modality].invoke(mes)
                req.multimodal_embeddings.append(emb)
        return self.llm.invoke(req)

Flip encoder_fission to False and the LLM runs the encoder internally as a monolith. Flip it on and the encoders get their own GPUs. When two apps declare equivalent tasks with the same field values, they automatically share a single Task Manager, cutting GPU usage for scenarios like serving multiple Gemma variants behind a shared vision encoder.

Record-and-replay for dynamic graphs

The tricky part is that the invoke method contains arbitrary Python control flow, including loops and branches that depend on the request contents. Cornserve handles this in two passes. In the record phase, unit task calls return placeholder objects while their invocations and data dependencies are traced. The resulting subgraph is dispatched to executors in parallel. In the replay phase, invoke runs a second time with real tensors, producing the final response. The catch: control flow inside a composite task must be deterministic for a given request. Anything data-dependent (branching on an LLM's text output, for example) has to live in the outer serve function, which runs with real values.

The data plane

Once the model is fissioned, intermediate tensors have to travel between GPUs without going through the control plane. Cornserve ships three specialized executors: Eric for multimodal encoders (image, video, audio), a forked vLLM for LLM inference, and Geri for multimodal generators (audio vocoder, image DiT). A per-GPU Sidecar daemon handles the transfers directly from producer to consumer.

  • Intra-node: writes tensors from GPU memory into Linux shared memory (/dev/shm) and notifies the receiver via gRPC. This deliberately avoids NVLink and NVSwitch, which are usually saturated by tensor-parallel or expert-parallel executors.
  • Inter-node: uses RDMA through the UCX library. The measured overhead is roughly 5-10 ms for 8 MB tensors and 12-27 ms for 32 MB tensors, small enough that fission boundaries do not become the new bottleneck.

The numbers

Evaluation was done on two 8x A100-80GB nodes with 400 Gbps RDMA between them, driven by the ServeGen real-world multimodal workload with 20% of requests asking for audio output. Highlights against a monolithic Transformers baseline:

ModelSetupResult vs. monolith
Qwen 2.5 Omni 7B8 GPUs3.09x throughput
Qwen 2.5 Omni 7B16 GPUs3.81x throughput, 5.79x lower P99 latency
Qwen 3 Omni 30B8 and 16 GPUsMonolith OOMs, Cornserve serves it

Two things drive the latency win. First, in a monolithic deployment only one component runs at a time, so encoding blocks decoding and vice versa. Second, disaggregating the audio generator lets it use continuous batching independently of the thinker LLM, which is hard to co-implement inside a single process. For Qwen 3 Omni on 16 GPUs the planner ended up with 3 tensor-parallel-2 thinker replicas alongside 10 talker-plus-generator replicas, a configuration no manual deployment would obviously arrive at.

Availability and caveats

Cornserve is an open-source project at github.com/cornserve-ai/cornserve, built on top of Kubernetes in roughly 23K lines of Python with OpenTelemetry tracing baked in. It can be deployed on Kubernetes with a single command, or tried locally via Minikube. The automated deployment planner is a companion project called Cornfigurator, which sweeps parallelism degrees and batch sizes per component to find a goodput-optimized plan.

The main constraint is architectural: the record-and-replay model assumes composite task control flow is deterministic given the request. If your pipeline needs to route based on an intermediate model output, that logic belongs in the outer serve function rather than inside a composite task. For teams already stitching together vLLM plus a diffusion server plus a vocoder with brittle glue code, the payoff is a single runtime that treats the whole graph as a first-class object and scales each piece on its own budget.