---
title: "How to install ComfyUI and run Stable Diffusion on Windows"
description: "Installing ComfyUI Portable on a Windows laptop, selecting a build for the graphics card, downloading the Stable Diffusion checkpoint, and checking the first image and VRAM usage."
url: "https://lostele.com/en/articles/comfyui-stable-diffusion/"
language: "en"
author: "lostele.com"
datePublished: "2026-11-21T23:17:48+03:00"
dateModified: "2026-11-21T23:17:48+03:00"
---

[Guides](https://lostele.com/en/guides/) · AI PC

# How to install ComfyUI and run Stable Diffusion on a laptop

The first image in ComfyUI without lengthy setup. Selecting a package for the graphics card, placing the checkpoint, and recording measurable results.

![An open laptop in purple light on a dark table](https://lostele.com/assets/optimized-purple-222365f5bc-1000.webp)

Illustration: Unsplash. The photo is not a test result.

## At a glance

For the first local generation, take ComfyUI Portable for your graphics card and the official training workflow. Download a compatible Stable Diffusion checkpoint, place it in the models folder, and run a test image 512 × 512. This order provides a clear check of the installation and load without additional nodes. If the base graph works, you already have a starting point for a larger model or a different canvas size.

## How to install ComfyUI on a Windows laptop

Check the graphics card model in Windows and on the ComfyUI installation page. For Windows, Portable has separate builds for NVIDIA, AMD, and Intel, and support for specific graphics cards depends on the package. For modern NVIDIA RTX, the official guide suggests a corresponding CUDA build, while earlier chips have separate options. Choose a package based on the actual GPU, system architecture, and manufacturer's conditions. The presence of any «Discrete graphics» item in the specifications does not itself verify support for the required backend.

Unzip the archive to a regular folder accessible to your user and located on an SSD with sufficient free space. Portable already includes its own Python environment. The NVIDIA package uses `run_nvidia_gpu.bat`. For AMD or Intel, use the launch file from the selected package according to its instructions. Keep the server window open, then go to the local interface address displayed by the program. If there's an error in the console, first check the exact package name and the driver it's running on.

For a reproducible first test, the official tutorial uses Stable Diffusion 1.5 and a file in `.safetensors` format. Download it from the link in the tutorial and place it in `ComfyUI\models\checkpoints` inside Portable. The Load Checkpoint node list should display the file name. If it's missing, check the directory, extension, and completion of the download, then refresh the list or restart the interface. For a standard test, it's useful to limit yourself to official nodes and review the terms of use for the weights in advance.

## First generation and VRAM check

Open a text-to-image example, select the loaded checkpoint, and keep the width and height at 512. Perform generation with a batch size of 1. In the prompt, use a short description, such as «a desk with a lamp and a paper notebook». A fixed seed will help replicate this example when comparing settings. Check that the queue is processed, the image appears in the interface, and the save node writes it to the output folder.

In the Task Manager, open the GPU allocated memory indicator. Record the peak and duration of the second generation after loading the weights. For comparison, keep the same seed, image size, and sampler. If you get a memory error, close programs reserving VRAM, check the batch size, and revert to 512 × 512. Add larger models and increase the canvas size one at a time. Otherwise, it's hard to determine which step changed the speed.

Stable Diffusion 1.5 is suitable for checking the workflow and light drafts. For more demanding tasks, you can compare it with SDXL 1.0, released in 2023, using a suitable workflow and available memory. VRAM usage in image generation is measured according to its own scenario. The principle of choosing the reserve overlaps with [the guide on memory for local AI](https://lostele.com/en/articles/pamyat-dlya-lokalnoi-neiroseti/). If you need a laptop for daily work, compare the specific model, canvas size, and number of frames you actually plan to use. A successful first launch allows you to make such a comparison on your own.

## Sources and verification

This article is based on documentation and specifications. We did not conduct our own instrumental tests for this article.

- [ComfyUI — installing Portable for Windows](https://docs.comfy.org/installation/comfyui_portable_windows)

- [ComfyUI — first generation with Stable Diffusion 1.5](https://docs.comfy.org/get_started/first_generation)

- [Stability AI — SDXL 1.0 card](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0)

Keep exploring

## Related articles

[All articles](https://lostele.com/en/articles/)

[Guide](https://lostele.com/en/guides/) · AI PC · 4 min read

### [How much RAM and VRAM do local AI models need?](https://lostele.com/en/articles/pamyat-dlya-lokalnoi-neiroseti/)

How much memory to leave for Windows, the model, and a long chat. We combine practical guidelines for RAM and VRAM with testing on our own machine.

[Guide](https://lostele.com/en/guides/) · AI PC · 4 min read

### [How to run a neural network locally on a laptop](https://lostele.com/en/articles/lokalnaya-neiroset-na-noutbuke/)

First launch of a local model with ready-made tools, memory check and a short test without internet. There are separate instructions for the graphical interface and the terminal.

[Guide](https://lostele.com/en/guides/) · AI PC · 4 min read

### [What is a laptop NPU, and which tasks can it accelerate?](https://lostele.com/en/articles/npu-v-noutbuke/)

NPU helps keep some Windows functions in the background. Where you can see it in action, why it has different TOPS values, and when it's worth investing in memory or a graphics card.
