Start with one 24 GB GPU for Qwen3-32B at 4.0 bits per weight (bpw). For Llama 3.1 70B Instruct at the same bitrate, plan on two 24 GB GPUs and verify that the chat cache fits across the split. Qwen3-32B checkpoint, Llama 70B checkpoint, ExLlamaV3 model loader.
Compare the checkpoint with your VRAM budget
Use the published file sizes to screen candidates. The chat examples below allocate a key/value (KV) cache and run a warmup. Two 24 GB cards give you 48 GB of nominal capacity, with a separate memory budget on each card. ExLlamaV3 cache and warmup code, Per-device loading.
| EXL3 checkpoint | Published file size | One 24 GB GPU | Two 24 GB GPUs |
|---|---|---|---|
| Qwen3-32B, 4.0 bpw | 17.8 GB | Try one card first. | Try a split if the cache you need puts the load over one card’s budget. |
| Llama 3.1 70B Instruct, 2.0 bpw | 20 GB | Candidate if you can use the lower weight bitrate and your cache fits. | Try one card first. |
| Llama 3.1 70B Instruct, 4.0 bpw | 37.1 GB | Plan on a smaller checkpoint. | Start here for this 70B model and check both cards after loading. |
| Llama 3.1 70B Instruct, 5.0 bpw | 45.7 GB | Plan on a smaller checkpoint. | Start with the 4.0 bpw branch if you need more room for the cache. |
Check the model with your roleplay context
Run the commands from the ExLlamaV3 checkout with its Python environment active. Put the files from the chosen 4.0 bpw branch in ./qwen32-exl3 or ./llama70-exl3 as appropriate. ExLlamaV3 setup, Hugging Face download guide.
Run nvidia-smi -L to list the GPUs. The Bash examples use GPU index 0 for the single card and indices 0,1 for the pair. Substitute your GPU indices or UUIDs as needed. With both cards visible, --gpu_split auto lets ExLlamaV3 place layers across the cards. NVIDIA CUDA device visibility, ExLlamaV3 model options, ExLlamaV3 model loader.
The examples start with a 4,096-token cache and a 512-token reply cap. To select each prompt mode, use --modes in place of -mode PROMPT_MODE. Then replace PROMPT_MODE with the listed name for ChatML on Qwen or Llama 3 Instruct on Llama. Replace CHARACTER_PROMPT with your character prompt. The --system_prompt option sets a custom system prompt. Without it, the script uses the prompt mode’s default system prompt. When the chat starts, the script prints the system prompt it will use. If you leave the option out, enter /sp before your first message to edit the system prompt, then press Alt-Enter to submit. Repeat that in every fresh chat. ExLlamaV3 chat example, Chat templates, Cache options.
One GPU, Qwen3-32B
CUDA_VISIBLE_DEVICES=0 python examples/chat.py -m ./qwen32-exl3 -mode PROMPT_MODE \
--system_prompt "CHARACTER_PROMPT" --cache_size 4096 --max_response_tokens 512
Two GPUs, Llama 3.1 70B Instruct
CUDA_VISIBLE_DEVICES=0,1 python examples/chat.py -m ./llama70-exl3 -mode PROMPT_MODE \
--system_prompt "CHARACTER_PROMPT" --gpu_split auto --cache_size 4096 --max_response_tokens 512
After the model loads, send a prompt and enter /vra in the chat. Read the device used row for each GPU and compare it with that card’s total. Repeat with representative chat history and budget --cache_size for the full formatted conversation, including the character prompt, and the reply allowance. The v1.6.7 chat example drops older turns when that combination needs more space than the cache provides. A reply confirms generation with the retained context. Chat commands and reply limits, VRAM report fields.
In examples/chat.py, add the two lines below after the first ids, exp_len = get_input_ids(prefix), just before if not fits(exp_len):. Match the indentation of that assignment. ExLlamaV3 chat example.
required_cache = (exp_len + PAGE_SIZE - 1) // PAGE_SIZE * PAGE_SIZE
print(required_cache, context_length)
Start a fresh chat with your character prompt set and build up your target history from the first turn. The script formats the system prompt in use, prior turns, and new message. It counts the input tokens, adds the effective reply allowance and one extra token, then rounds up to whole cache pages. On every turn, compare the required tokens printed first with the configured cache capacity printed second. Treat the first turn where required tokens exceed capacity as a failed fit. The script can drop older turns at that point, so a later passing comparison may cover only the shortened history. If you change the cache, start another fresh chat with the same character prompt and replay the conversation from the beginning, checking every turn again. The full history and reply budget fit if every comparison through the target message passes. ExLlamaV3 chat example.
If the load runs out of memory, try a lower --cache_size or --cache_quant 8, which requests 8 bits for both keys and values. If you shorten the cache, check that it still holds the history and reply length you need. Cache options, Chat context handling.
Check the hardware before adding a card
For an RTX 4090 Founders Edition, check case clearance for the card and its power cables, free expansion slots, and whether your power supply can provide a compatible cable setup. NVIDIA RTX 4090 Founders Edition compatibility checklist.
Evidence and limits. The commands follow the ExLlamaV3 v1.6.7 documentation and source. File sizes come from the published checkpoint listings. No hands-on testing was performed for this guide.