Deploying Multimodal LLMs on Non-NVIDIA Hardware: A Practical Guide

    This article walks through a real multi-card heterogeneous deployment of a native multimodal model of roughly 300 billion parameters on non-NVIDIA accelerators. It covers how to confirm inference framework support and choose an adaptation branch, how to estimate memory needs and apply low-bit dynamic quantization, why the vision projection module is a second required weight file, how to choose between tensor and pipeline parallelism, and what to validate before going live. Developers will get a reusable five-step chain: branch, quantization, projection module, parallelism, and validation.

    1. Why Deploy Multimodal Models on Non-NVIDIA Hardware

    A class of native multimodal models with roughly 300 billion parameters has recently drawn attention in the open-source community. One such model first appeared as an anonymous entry in grayscale testing on a model aggregation platform, was later confirmed, and earned a solid reputation, particularly for joint image-and-text understanding. Unlike stitched-together designs that bolt a vision encoder onto a text model, a native multimodal model unifies text, image, and video into a single representation space during pretraining, which gives it an edge in cross-modal reasoning, chart understanding, and document parsing.

    Most users still call these models through cloud APIs, but the case for local deployment is equally clear: data never leaves the internal network, the inference path stays under your control, you can fine-tune for your own business, and long-term cost becomes predictable. The difficulty is that mainstream inference ecosystems have long been optimized around a single vendor’s accelerators. Once you are working with other accelerator hardware, you run into incomplete operator support, incompatible quantization formats, and missing multi-card communication backends. This article uses one real multi-card heterogeneous deployment as a thread and abstracts a reusable methodology from it.

    2. Framework and Branch: First Get It Running

    The first step in local inference is not choosing a quantization scheme, but confirming whether the inference framework already supports the target model architecture. A new model’s attention variant, positional encoding, and normalization placement often differ from older designs, and merging support into the main branch usually takes time.

    A practical order of checks:

    1. Search the framework’s official repository for model architecture keywords to confirm whether support already exists.
    2. If the main branch does not have it yet, look for an active model adaptation branch, preferring one with continuous commits and matching quantized artifacts.
    3. Pull the source and build it yourself, disabling acceleration options that do not match your hardware. Get correctness first, then talk about performance.

    An illustrative workflow:

    1. # Clone the adaptation branch and build (illustrative)
    2. git clone -b <model-adaptation-branch> <inference-framework-repo>
    3. cd <inference-framework-repo>
    4. cmake -B build -DGGML_NATIVE=ON
    5. cmake --build build --config Release -j

    The branch you pick directly determines which quantization formats are available later, so settle the branch before choosing weights and avoid repeated rework.

    3. Quantization: Low-Bit Compression and Capacity Estimation

    A 300-billion-parameter model needs more than 600GB at half precision, which even a multi-card single machine struggles to hold, so quantization is unavoidable. The mainstream community approach today is dynamic quantization: different tensors get different bit widths according to sensitivity, with critical layers such as attention and embeddings kept at higher precision and the rest compressed to 2–4 bits, substantially shrinking the footprint while keeping quality loss under control.

    The naming usually breaks into three parts: a prefix indicating the quantization scheme source (dynamic quantization), a middle segment indicating the rough bit tier, and a suffix indicating the specific tier configuration. At the 2-bit dynamic tier, for example, 320B-class weights compress to roughly 110GB.

    Capacity estimation simplifies to:

    1. Total VRAM need ≈ quantized main model size + vision projection module size + KV cache + runtime overhead

    The KV cache grows linearly with context length and concurrency, so long-document and multi-turn conversation scenarios need generous headroom; reserve an extra 10%–20% for runtime overhead. On this basis, four accelerators with 32GB of VRAM each can cover roughly 110GB of weights plus the vision module, which is a workable range.

    4. The Vision Projection Module: The Second Weight in Multimodal Inference

    Multimodal inference in the framework typically relies on two sets of weights working together:

    • Main model weights: handle language understanding, reasoning, and text generation.
    • Vision projection module weights: map image encoding output into visual embeddings the main model can accept. They are usually distributed separately at half precision and are around 1GB in size.

    At load time you must explicitly specify the projection file path in the launch arguments; otherwise the model can chat normally but cannot understand images. Illustrative:

    1. ./main \
    2. -m <model-quant>.gguf \
    3. --mmproj <mmproj-f16>.gguf \
    4. -ngl 99 -c 8192 --image image.png

    A common mistake is loading only the main model and concluding that multimodality is unavailable; in most cases the projection module is missing or the path is wrong. When troubleshooting, first check the log for whether the visual context was built successfully, then check whether the image preprocessing size exceeds the limit.

    5. Parallelism Strategy and Heterogeneous Hardware Notes

    When a single card cannot hold the model, there are two parallelism options. Tensor parallelism splits a single layer across cards; it communicates frequently and is sensitive to interconnect bandwidth. Pipeline parallelism splits by layer segments; it moves less data and is simpler to implement, making it better suited to stacking capacity across multiple cards, at the cost of pipeline bubbles and uneven per-card utilization. This deployment used four-card pipeline parallelism, with the following configuration notes:

    • Explicitly specify the visible device list per card to avoid wrong default enumeration.
    • Align layer segment boundaries with VRAM capacity to prevent the first card from overflowing.
    • Operator coverage differs across accelerator vendors; when hitting an unsupported operator, fall back to the generic implementation and get it working before optimizing.
    • Use monitoring tools to watch per-card VRAM and utilization and locate the bottleneck card.

    6. Capability Boundaries and a Validation Checklist

    Native multimodality includes video, but the adaptation branch may not support video input yet, so early validation should be narrowed to text and images. A recommended pre-launch checklist:

    1. Pure-text long-context question answering; check for truncation and repetition.
    2. Single-image description, chart reading, and document field extraction.
    3. Multi-image comparison and mixed image-and-text instructions.
    4. VRAM peaks and throughput under concurrent load.
    5. Degraded behavior on abnormal inputs (oversized images, non-RGB formats).

    7. Conclusion

    Deploying a multimodal LLM on non-NVIDIA hardware is essentially a systems engineering effort built on a five-step chain: branch, quantization, projection module, parallelism, and validation. Following this order can significantly reduce trial-and-error cost. If you would rather skip environment setup and hardware selection, you can also draw on general cloud capabilities such as the container platform, object storage, and monitoring and alerting offered by Baidu AI Cloud to quickly build an observable, scalable inference service.