Local Deployment of Open-Source Multimodal LLMs on Consumer GPUs: A Practical Four-GPU Guide
This article documents a practical four-GPU local deployment of a lightweight flagship open-source multimodal LLM. It covers model and quantization selection, multimodal projector requirements, VRAM budgeting, parallelism choices, ROCm versus Vulkan trade-offs, and a validation checklist, concluding with four deployment principles for running hundred-GB-class models on ordinary multi-GPU workstations.
1. Background and Goals
Among the large-parameter models that have recently appeared in the open-source community, one class is particularly representative: “lightweight flagship” models. They approach flagship-level reasoning while keeping a relatively restrained parameter scale, and they natively support multimodal inputs such as text, images, and even video. This class of model has attracted many developers who want to run it on local hardware to avoid dependence on cloud APIs and gain lower latency, better privacy control, and unlimited invocation capacity.
However, local deployment of large-parameter models is not trivial. The core tension comes from three factors:
- Huge weight size: Even after aggressive quantization, the weights of models in the hundreds-of-billions parameter class remain in the hundred-GB range.
- Lagging inference framework support: After a new model is released, mainstream open-source inference engines often need days to weeks to merge support, and support usually appears first on development branches rather than stable branches.
- Additional components for multimodality: Beyond language model weights, a separate visual encoding/projection module is required, making the deployment process more complex than for text-only models.
This article uses an actual four-card deployment as a case study and reviews the full process from model selection, quantization strategy, and VRAM planning to runtime validation.
2. Model and Quantization Version Selection Logic
2.1 Why Not Use the Main Branch Directly
Support for new architectures in open-source inference frameworks usually follows a “development branch first, main branch later” rhythm. New models often introduce new attention structures, new tokenizers, or new multimodal interfaces, and these changes need sufficient validation before being merged into the main branch. Therefore, when deploying a newly released model, the first step should be to check whether the framework repository has a corresponding feature branch or PR.
In this practice, the main branch had not yet merged support for the target model, while a community-maintained frontier branch could already run it, so that branch was selected as the inference engine. This is a general strategy for deploying new models, but note that development branches are less stable. When encountering build failures or numerical anomalies, compatibility issues in the branch itself should be suspected first.
2.2 The Value of Dynamic Quantization
For weights in the hundred-GB range, the choice of quantization level directly determines hardware feasibility. Common dynamic quantization schemes in the industry have a key advantage over uniform quantization: they do not use the same precision for all layers. Instead, they allocate different bit widths according to each layer’s sensitivity to quantization, keeping higher precision for sensitive layers and using more aggressive compression for redundant layers.
Taking an original 320B-parameter model as an example:
- Uniform 2-bit level: Very small in size, but key layers suffer obvious precision loss and generation quality degradation is perceptible.
- Dynamic 2-bit mixed level (about 110 GB): The overall size remains in a similar range, but important layers are protected, and actual output quality is noticeably closer to the original weights.
- 4-bit level: Better quality, but the size usually exceeds 180 GB, beyond the hardware capacity in this case.
In deployment scenarios with tight VRAM, dynamic low-bit quantization is the best compromise between quality and feasibility.
2.3 Do Not Omit the Multimodal Projection Module
Deploying a multimodal model in an inference framework usually requires two types of files:
| File | Responsibility | Typical Size |
|---|---|---|
| Main model weights (GGUF, etc.) | Language understanding, reasoning, text generation | Main body, accounting for more than 95% |
| Visual projection module (such as mmproj-like files) | Encodes images and projects them into visual embeddings accepted by the main model | Hundreds of MB to several GB |
The visual projection module is essentially a mapping layer between the output of the vision encoder and the embedding space of the language model. If this file is missing, the model can still hold text-only conversations but cannot accept image input. It is recommended to choose a half-precision (F16) version of the projection module: it is small and has limited VRAM usage, while avoiding visual understanding degradation introduced by quantizing the projection layer.
3. VRAM Budget: Why “Theoretically Enough” Is Not “Actually Enough”
This deployment used four accelerator cards with 32 GB VRAM each, for a total of about 128 GB of physical VRAM. The weights plus the projection module were about 110 GB, which looks ample on the surface. In actual operation, however, additional space must be reserved for:
- KV Cache: The longer the context, the larger the usage. For long-text tasks, a context of tens of thousands of tokens may consume several GB to tens of GB.
- Intermediate activations and compute buffers: Temporary tensors, sampling buffers, and similar allocations during inference.
- Framework runtime overhead: Compute graphs, memory pool alignment, and related costs.
Therefore, the practical VRAM budget formula should be:
Available context space ≈ total VRAM − weight size − projector − KV Cache reserve − 15%–20% buffer
Practical advice: If weights account for more than 85% of total VRAM, proactively reduce context length or use a smaller quantization level. Otherwise, VRAM overflow is very likely in long-text scenarios.
4. Choosing a Parallelism Strategy
There are two basic parallelism approaches for multi-GPU deployment:
- Pipeline parallelism: The model is split by layers across multiple cards, with each card responsible for a contiguous segment of layers. The advantages are low communication volume and low requirements for hardware interconnect; the disadvantage is that only one card is doing the main computation at any given time, limiting throughput.
- Tensor parallelism: Computation within each layer is split across multiple cards. Throughput is better, but high-bandwidth inter-card interconnect is required, which consumer hardware usually lacks.
In an ordinary workstation environment without high-speed interconnect, pipeline parallelism is the more pragmatic choice. This practice adopted that approach. Although throughput is not optimal, deployment is simple, stable, and reliable.
5. Compute Backend: ROCm or Vulkan
One question worth expanding on: On AMD cards, why do many practitioners ultimately choose the Vulkan backend rather than the official ROCm?
ROCm’s advantage is a higher performance ceiling. Deeply optimized operators can fully utilize the hardware, and the official project continues to invest in it. Its pain points are:
- Limited hardware support scope: The official support list does not fully cover consumer cards. Cards not on the list require self-building or community variants, with a high cost of troubleshooting.
- Complex environment configuration: Dependency versions, kernel drivers, library paths, and similar issues occur frequently outside data center environments.
- Lagging inference framework adaptation: The ROCm backends of some frameworks are less mature than their CUDA backends.
Vulkan’s advantages are universality and a low barrier to entry:
- Almost all modern GPUs, regardless of vendor, have Vulkan drivers.
- No complex compute stack configuration is required, and the framework works out of the box.
- Support for multi-GPU pipeline parallelism is mature.
The cost is a lower performance ceiling than deeply optimized ROCm. But if the goal is to “get it running first and validate functionality,” or if the hardware model is not on ROCm’s official support list, Vulkan is a highly cost-effective starting point. A reasonable strategy is to use Vulkan for functional validation first, then evaluate whether it is worth investing effort in switching to ROCm for throughput.
6. Functional Validation and Known Limitations
After deployment, validation is recommended in the following order:
- Basic text generation: Short Q&A and instruction following to confirm that quantization quality is acceptable.
- Long-text retrieval: Feed in long documents and ask detailed questions to test KV Cache management and large-context behavior.
- Image understanding: Single-image description and chart interpretation to verify that the visual projection module works properly.
- Video input: Note that the framework side may not yet have native video processing connected. In that case, downgrade to frame extraction and multi-image input, or temporarily give up the capability.
In this practice, both text and image capabilities passed validation. Video input was deferred because the framework branch did not yet support it. This is also normal when deploying the latest models: capability coverage is determined by what the framework actually supports, not by what the model officially claims.
7. Summary and Recommendations
The methodology can be condensed into four principles:
- Branch selection comes first: For a new model, check feature branches and community builds first; do not wait idly on the main branch.
- Choose dynamic quantization and keep the projector at half precision: Low-bit dynamic quantization is the best solution in VRAM-constrained scenarios, and the vision module should remain F16.
- Reserve at least 20% of VRAM: Beyond weights, KV Cache and runtime overhead must be included in the budget.
- Prioritize getting the backend running: Vulkan is suitable for rapid validation, while ROCm is suitable for later performance tuning.
Local deployment of large-parameter multimodal models is becoming increasingly feasible. As long as deployment proceeds with rigorous budgeting and validation, an ordinary multi-GPU workstation can host hundred-GB-class open-source models and provide developers with a fully autonomous and controllable inference environment.
