mirror of
https://github.com/NVIDIA/dgx-spark-playbooks.git
synced 2026-04-22 18:13:52 +00:00
chore: Regenerate all playbooks
This commit is contained in:
parent
85089bc1c2
commit
34c35ea453
@ -13,19 +13,16 @@
|
||||
|
||||
## Basic idea
|
||||
|
||||
ComfyUI is a visual, node-based interface for AI image generation.
|
||||
Each step—like loading a model, adding text, sampling, or saving an image—is a node you connect with wires to form a workflow.
|
||||
Workflows can be saved and shared as JSON files, making results easy to reproduce.
|
||||
It’s flexible, letting you swap models, add effects, or combine tools, and it’s popular for Stable Diffusion because it gives precise control without needing to write code.
|
||||
Think of it like building with LEGO blocks, but for AI image pipelines.
|
||||
|
||||
ComfyUI is an open-source web server application for AI image generation using diffusion based models like SDXL, Flux and others.
|
||||
It has a browser-based UI that lets you create, edit and run image generation and editing workflows with multiple steps.
|
||||
Generation and editing steps (e.g. loading a model, adding text or sampling) are configurable in the UI as a node, and you connect nodes with wires to form a workflow.
|
||||
Workflows are saved as JSON files, so you can version them for future work, collaboration and reproducibility.
|
||||
|
||||
ComfyUI uses the host's GPU for inference, so you can install it on your Spark and do all of your image generation and editing directly on device.
|
||||
|
||||
## What you'll accomplish
|
||||
|
||||
You'll install and configure ComfyUI, a powerful node-based GUI for Stable Diffusion, on NVIDIA Spark
|
||||
devices with Blackwell architecture. By the end, you'll have a fully functional web interface accessible
|
||||
via browser for AI image generation workloads.
|
||||
You'll install and configure ComfyUI on your NVIDIA DGX Spark device so you can use the unified memory to work with large models.
|
||||
|
||||
## What to know before starting
|
||||
|
||||
@ -70,6 +67,10 @@ All required assets can be found [in the ComfyUI repository on GitHub](https://g
|
||||
**Rollback:** Virtual environment can be deleted to remove all installed packages. Downloaded models
|
||||
can be removed manually from the checkpoints directory.
|
||||
|
||||
## Get Started
|
||||
|
||||
- Follow the steps on the [Instruction tab](/instructions) to get Comfy installed directly on the Spark
|
||||
|
||||
## Instructions
|
||||
|
||||
## Step 1. Verify system prerequisites
|
||||
@ -87,7 +88,7 @@ Expected output should show Python 3.8+, pip available, CUDA toolkit, and GPU de
|
||||
|
||||
## Step 2. Create Python virtual environment
|
||||
|
||||
Create an isolated environment to avoid conflicts with system packages. This runs on the host system.
|
||||
You will install ComfyUI on your host system, so you should create an isolated environment to avoid conflicts with system packages.
|
||||
|
||||
```bash
|
||||
python3 -m venv comfyui-env
|
||||
@ -159,7 +160,7 @@ Expected output should show HTTP 200 response indicating the web server is opera
|
||||
|
||||
Open a web browser and navigate to `http://<SPARK_IP>:8188` where `<SPARK_IP>` is your device's IP address.
|
||||
|
||||
## Step 9. Troubleshooting
|
||||
## Step 9. Optional - Troubleshooting
|
||||
|
||||
| Symptom | Cause | Fix |
|
||||
|---------|-------|-----|
|
||||
@ -168,7 +169,7 @@ Open a web browser and navigate to `http://<SPARK_IP>:8188` where `<SPARK_IP>` i
|
||||
| Web interface inaccessible | Firewall blocking port 8188 | Configure firewall to allow port 8188, check IP address |
|
||||
| Out of GPU memory errors | Insufficient VRAM for model | Use smaller models or enable CPU fallback mode |
|
||||
|
||||
## Step 10. Cleanup and rollback
|
||||
## Step 10. Optional - Cleanup and rollback
|
||||
|
||||
If you need to remove the installation completely, follow these steps:
|
||||
|
||||
@ -182,7 +183,7 @@ rm -rf ComfyUI/
|
||||
|
||||
To rollback during installation, press `Ctrl+C` to stop the server and remove the virtual environment.
|
||||
|
||||
## Step 11. Next steps
|
||||
## Step 11. Optional - Next steps
|
||||
|
||||
Test the installation with a basic image generation workflow:
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user