Local LLM Selection and Deployment on Laptop GPUs with 8GB VRAM

    A baseline test compares 4B and 8B text models and an e4b multimodal model for local deployment on a laptop GPU with 8GB VRAM. The results cover disk size, startup latency, generation speed, and system RAM usage, while clarifying why CPU-based measurements and missing peak VRAM data cannot establish GPU performance or full GPU residency.

    Introduction

    Many devices have far less GPU memory than desktop graphics cards. Determining which models an 8GB laptop GPU can support—and how well they perform—requires measurements rather than assumptions.

    This article summarizes one baseline test to help with model selection, explain the performance metrics, and identify memory constraints that need further investigation.

    The figures come from a single test round and should not be treated as representative of every environment. The conditions and gaps in the available data are noted below.

    1. Test Environment and Measurement Definitions

    All tests ran on the same local development machine:

    • Host system RAM: 64GB
    • RAM allocated to the Linux subsystem: 32GB
    • GPU: A laptop discrete GPU with 8GB VRAM

    The exact GPU model, inference framework version, and quantization format were not fully preserved in the test records. Anyone reproducing these tests should record those details.

    Most measurements came from a CPU build of the inference library and serve as a baseline. Although the inference service detected the GPU after startup, GPU-accelerated results were not reported separately. The speeds below should therefore be read as baseline figures, not GPU performance measurements. To evaluate GPU acceleration, record results for the CPU and GPU builds separately.

    The metrics are defined as follows:

    • Disk footprint: The size of the model files on disk.
    • Cold-start time: The time from the start of model loading until the service can accept its first request.
    • Warm-start latency: The wait time for the first request when the model is already resident in RAM or VRAM.
    • Generation speed: Output tokens per second, shown as a range across multiple runs.
    • Runtime RAM usage: The inference process’s system memory usage. Peak VRAM usage was not recorded.

    2. Text Models: 4B and 8B

    The text-model comparison covered only the 4B and 8B parameter classes.

    4B Models: A Fit for Lightweight Pipeline Tasks

    The 4B model produced the following baseline results:

    Metric Result
    Disk footprint Approximately 2.5GB
    Cold-start time Approximately 12.3 seconds
    Warm-start latency 0.13–0.16 seconds
    Generation speed 38–43 tokens/s
    Runtime RAM usage 2.7–2.8GB

    Models at this scale load quickly and have modest resource requirements, making them candidates for keeping loaded in the background. They are a first option for lightweight tasks such as text classification, title generation, and short-text rewriting.

    Complex reasoning and long-form code generation are beyond the capability described for this model class. For those workloads, use a larger model.

    8B Models: A Main Option for Everyday Chinese Writing

    The 8B model produced the following baseline results:

    Metric Result
    Disk footprint Approximately 5.2GB
    Cold-start time Approximately 16.8 seconds
    Warm-start latency Approximately 0.23 seconds
    Generation speed 22–26 tokens/s
    Runtime RAM usage Approximately 4.9GB

    For Chinese-language writing, editing, and question answering, this model delivered more consistent output at a speed suitable for interactive use.

    However, the test recorded only system RAM usage, not peak VRAM usage. As the context grows, the KV cache requires more GPU memory. If long conversations become sluggish, check VRAM usage before deciding whether to switch models.

    3. Multimodal Models: e4b and 12B Classes

    e4b: A Resource-Efficient Option for Visual Assistance

    The e4b model produced the following baseline results:

    Metric Result
    Disk footprint Approximately 9.6GB
    Cold-start time Approximately 14.4 seconds
    Warm-start latency 0.66–0.72 seconds
    Generation speed 54–56 tokens/s
    Runtime RAM usage Approximately 3.1GB

    The model files exceed the GPU’s 8GB VRAM capacity, but file size alone does not establish whether the model is fully resident in GPU memory. The available records do not specify how its layers were distributed.

    The source ends at this point and provides no further layer-placement details or measurements for the 12B class.