~/runthismodel
daemon okbuild 5a3c91d00:00:00Z

Can RTX 5090 run Qwen3 8B Base?

S

Yes — runs locally

~114 tok/sec · Instant — feels like typing. No noticeable delay.

Your VRAM
32 GB
Model size
8B
Best quant
BF16
VRAM needed
16.5 GB

The verdict

The RTX 5090 (32 GB VRAM) handles Qwen3 8B Base comfortably using the BF16 quantization, which fits in 16.5 GB. Expected throughput is around 114 tokens/second, which feels Instant — feels like typing. No noticeable delay. in interactive use. Official Qwen3 8B foundation model — pretrained only, no RLHF or refusal training. The 'naturally uncensored' option: no abliteration needed because alignment was never applied. Apache 2.0.

Setup tutorial: Qwen3 8B Base on RTX 5090

AI-generated, GPU-specific. Verified commands for your exact hardware.

TL;DR

Run Qwen3 8B Base on an NVIDIA GeForce RTX 5090 with BF16 quantization for Grade S performance at ~79 tok/sec.

Prerequisites

Before starting, ensure you have at least 20GB of free disk space, a 64-bit version of Windows or Linux, NVIDIA driver version 525.60 or later, and CUDA 11.8 or later installed.

Expected performance

With the BF16 quantization, you can expect the model to run at approximately 79 tokens per second, using 16.5GB of VRAM. Given the remaining 15.5GB of VRAM, you can achieve a practical context window of up to 32K tokens, making it suitable for long-form text generation tasks.

1. Install runtimeOllama

pip install ollama
ollama config set device cuda

2. Download the model

Download the BF16 quantized Qwen3 8B Base model (16.0GB file) from Hugging Face.

ollama pull Qwen/Qwen3-8B-Base --filename model.safetensors

3. Run it

ollama run Qwen/Qwen3-8B-Base --n-gpu-layers 32 --flash-attn --tensor-parallelism 2
ollama chat Qwen/Qwen3-8B-Base

4. Optimize for RTX 5090

For optimal performance on the NVIDIA GeForce RTX 5090 with 32GB VRAM, use --n-gpu-layers 32 to offload layers to the GPU, enable --flash-attn for faster attention computations, and set --tensor-parallelism 2 to distribute the model across multiple GPUs if available. This configuration will utilize 16.5GB of VRAM, leaving 15.5GB for context, allowing for a practical context window of up to 32K tokens.

Troubleshooting

Out of memory error during inference

Reduce --n-gpu-layers to 24 or 16 to decrease VRAM usage.

Slow inference speed

Ensure CUDA and NVIDIA drivers are up to date. Try increasing --tensor-parallelism if multiple GPUs are available.

Model fails to load

Verify the integrity of the downloaded model file and try pulling it again using the 'ollama pull' command.

Alternative runtimes

Alternative runtimes include LM Studio for a more user-friendly interface, llama.cpp for lightweight deployment, and Jan for advanced customization. Use LM Studio for quick setup and testing, llama.cpp for resource-constrained environments, and Jan for fine-tuning and custom model modifications.

Other models that run great on RTX 5090

FAQ (20)

What GPU do I need to run Qwen3 8B Base?

To run Qwen3 8B Base, you need a GPU with at least 5.3 GB of VRAM for the lowest quantization level, up to 16.5 GB for the highest. NVIDIA GPUs like the RTX 3060 or higher are recommended.

Is Qwen3 8B Base good for coding?

Qwen3 8B Base is suitable for coding tasks, offering strong natural language understanding and code generation capabilities, though it may not be as specialized as models trained specifically for coding.

Qwen3 8B Base vs Llama 3.1 8B?

Qwen3 8B Base has a larger context length (32,768 tokens) compared to Llama 3.1 8B, which typically has a shorter context length. Qwen3 8B Base also uses the Apache 2.0 license, making it more permissive for commercial use.

Can I run Qwen3 8B Base on a Mac?

Yes, you can run Qwen3 8B Base on a Mac, but you will need a Mac with an M1 or later chip and sufficient VRAM. You may also need to install additional software like Docker or a compatible GPU driver.

How much VRAM does Qwen3 8B Base need?

The VRAM requirement for Qwen3 8B Base ranges from 5.3 GB to 16.5 GB, depending on the quantization level used. Lower quantization levels require less VRAM but may have a slight impact on performance.

Is Qwen3 8B Base censored?

No, Qwen3 8B Base is not censored. It is a foundation model without alignment or refusal training, allowing for more natural and uncensored responses.

Is Qwen3 8B Base commercial-use allowed?

Yes, Qwen3 8B Base is licensed under Apache 2.0, which allows for commercial use, modification, and distribution without restrictions.

Qwen3 8B Base context length?

Qwen3 8B Base has a context length of 32,768 tokens, which is significantly longer than many other models, allowing for more extensive and coherent conversations.

Want personalized recommendations for your exact setup? Detect my hardware →