Tag: #WSL

13 posts

Building llama.cpp with CUDA in WSL: A Real Local Deployment Note
Artificial Intelligence · Views

Building llama.cpp with CUDA in WSL: A Real Local Deployment Note

In a WSL environment with Ubuntu 26.04 LTS and an RTX 4060 Laptop GPU, this note uses micromamba to prepare CUDA 12.4, GCC 13, and cuBLAS without modifying system directories, builds the llama.cpp CUDA backend, and compares CPU and CUDA speed with Qwen3 4B.

Installing Useful Open Models on a Local Development Machine: Choose the Runtime First
Artificial Intelligence · Views

Installing Useful Open Models on a Local Development Machine: Choose the Runtime First

A continuously updated local open-model installation note. Starting from a Windows + Ubuntu 26.04 LTS development machine with 64GB host memory, 32GB assigned to WSL, and an RTX 4060 Laptop GPU with 8GB VRAM, this article first decides whether Ollama should run on Windows or WSL, compares llama.cpp, LM Studio, vLLM, and other options, and then lists models worth keeping locally.

AI Development in WSL: GPU, CUDA, Model Caches, and File IO
Development Environment · Views

AI Development in WSL: GPU, CUDA, Model Caches, and File IO

Starting from a Windows development machine with an NVIDIA GPU, this article explains how to verify CUDA in WSL, run a small PyTorch test, place local model caches, and debug cases where the GPU is not actually being used.

WSL Is Not Just a Virtual Machine
Development Environment · Views

WSL Is Not Just a Virtual Machine

Starting from a team development-environment migration, this article explains the boundaries of WSL1, WSL2, distributions, VHDX storage, Windows integration, systemd, networking, and filesystems, so you can decide what belongs in WSL.

From X11 to Wayland: Why WSLg Is Not Just an X Server
Development Environment · Views

From X11 to Wayland: Why WSLg Is Not Just an X Server

Starting from xeyes, gedit, and remote windows, this article explains the roles of X11, Wayland, XWayland, Weston, and RDP inside WSLg, and why old DISPLAY-based tutorials can now be counterproductive.

Opening Images with fim in WSL, Directly on the Windows Desktop
Development Environment · Views

Opening Images with fim in WSL, Directly on the Windows Desktop

Starting from a simple fim image.png command, this article explains why WSLg can display Linux GUI programs directly on the Windows desktop, and how that helps with image previews, computer-vision work, and small X11 tools.

Improving WSL2 Disk I/O Performance
Windows · Views

Improving WSL2 Disk I/O Performance

A practical note on improving WSL2 file I/O performance by moving development files onto an ext4 VHDX disk instead of working directly under mounted Windows drives.