Running localized models on a Surface device with NVIDIA graphics means you can execute language and image models entirely on the device, without sending data to a cloud service. This is useful for privacy, offline work, and avoiding per-request costs. The catch is that Surface hardware varies widely: many Surface models use integrated Intel or AMD graphics, and only some Surface devices with NVIDIA GPUs (typically Surface Laptop Studio and certain Surface Book models) can use CUDA acceleration. If your Surface has an NVIDIA GPU, the steps below will get you from a fresh machine to a working local model. If it does not, you can still run models on the CPU, but expect slower performance.
What You'll Need
- A Surface device with a discrete NVIDIA GPU (check Device Manager under Display adapters).
- Windows 11 (Windows 10 also works, but Windows 11 has better driver support).
- At least 16 GB of RAM; 32 GB is better for larger models.
- Free disk space: 10–50 GB depending on model size.
- An internet connection for the initial download of drivers and model files.
- A local model runner such as Ollama, LM Studio, or text-generation-webui. This guide uses Ollama because it is simple and supports NVIDIA acceleration.
Step-by-Step
- Confirm your GPU. Right-click Start, choose Device Manager, expand Display adapters, and look for an NVIDIA entry. If you only see Intel or AMD, you do not have an NVIDIA GPU and CUDA acceleration will not work. You can still proceed with CPU-only steps.
- Update the NVIDIA driver. Open the NVIDIA app or GeForce Experience (whichever is installed), go to Drivers, and install the latest Game Ready or Studio driver. Alternatively, download the driver from NVIDIA's website using your exact GPU model. Restart after installation.
- Verify CUDA support. Open Command Prompt and run
nvidia-smi. You should see your GPU name, driver version, and memory usage. If the command is not found, the driver did not install correctly; reinstall it. - Install a model runner. Download Ollama from ollama.com and run the installer. It installs as a background service and adds the
ollamacommand to your PATH. Open a new Command Prompt and runollama --versionto confirm. - Check GPU detection in the runner. Run
ollama run llama3.2(or another small model) and watch the output. Ollama will report whether it is using GPU or CPU. If it says CPU only, see Troubleshooting below. - Download a model. Use
ollama pull llama3.2for a small general model, orollama pull mistralfor a mid-size one. Model sizes range from about 2 GB to over 20 GB. Start small to confirm everything works. - Run the model interactively. Type
ollama run llama3.2and enter a prompt. The first response may be slow while the model loads into memory. Subsequent responses should be faster. - Test with a larger model if desired. If you have 16 GB of VRAM or more, try a 7B or 8B parameter model. If you have less, stick to 3B–4B models or use quantization (Ollama models are pre-quantized by default).
- Use a graphical interface (optional). Install LM Studio or Open WebUI if you prefer a chat window. LM Studio detects NVIDIA GPUs automatically and lets you adjust GPU offload layers with a slider.
- Monitor performance. Run
nvidia-smiin a second window while the model runs. You should see GPU utilization rise above 0% and memory usage increase. If utilization stays at 0%, the model is running on CPU.
Common Mistakes
- Assuming every Surface has NVIDIA graphics. Most Surface devices use integrated graphics. Check Device Manager before installing CUDA tools.
- Installing CUDA Toolkit unnecessarily. Ollama and LM Studio bundle the CUDA runtime they need. Installing the full toolkit rarely helps and can cause version conflicts.
- Using a model too large for VRAM. A 13B model at full precision needs more than 16 GB of VRAM. Stick to quantized models or smaller parameter counts.
- Ignoring thermal throttling. Surface devices are thin and can throttle under sustained GPU load. Expect performance to drop during long generations.
- Running on battery. Windows may limit GPU performance on battery. Plug in the power adapter for best results.
Tips
- Use the Studio driver rather than Game Ready if you want stability over gaming performance.
- Close other GPU-heavy apps (browsers with hardware acceleration, video editors) before running a model.
- Set the Windows power mode to Best Performance while running models.
- Keep models on the internal SSD; external drives and SD cards are much slower.
- Use smaller context windows if you run out of memory mid-generation.
Troubleshooting
nvidia-sminot found: Reinstall the NVIDIA driver and restart. Confirm the GPU appears in Device Manager without a warning icon.- Model runs on CPU despite NVIDIA GPU: Update the driver, then reinstall the model runner. In Ollama, check the server log for lines mentioning CUDA. In LM Studio, open the GPU settings and ensure the offload slider is above zero.
- Out of memory errors: Use a smaller model, reduce context length, or lower GPU offload layers so part of the model runs on system RAM.
- Very slow generation: Confirm the power adapter is connected and the power mode is Best Performance. Check
nvidia-smifor high temperature or power throttling. - Driver installation fails: Use the NVIDIA driver cleanup tool, reboot, then install the driver again. Disable antivirus temporarily if it blocks the installer.
Frequently Asked Questions
Can every Surface run NVIDIA-accelerated models? No. Only Surface models with a discrete NVIDIA GPU can use CUDA. Others run models on the CPU or integrated GPU, which is slower.
Do I need to install CUDA Toolkit? Usually not. Ollama and LM Studio include the CUDA runtime. Install the toolkit only if a specific tool asks for it.
How much VRAM do I need for a 7B model? A quantized 7B model typically needs about 4–6 GB of VRAM. Full precision needs far more, so use quantized versions.
Why is my model using CPU instead of GPU? The most common causes are an outdated driver, a runner that does not detect CUDA, or a model too large for VRAM causing a fallback to CPU.
Can I run models offline after downloading? Yes. Once the model files are on disk, the runner works without an internet connection.
Will running models damage my Surface? Sustained GPU load produces heat, and Surface devices are designed to throttle rather than overheat. Keep vents clear and avoid blocking the bottom of the device.