rewrite this for proper yaml: #config for comfyui
#your base path should be either an existing comfy install or a central folder where you store all of your models, loras, etc.
#comfyui:
base_path: F:/comfyui/
# # You can use is_default to mark that these folders should be listed first, and used as the default dirs for eg downloads
is_default: true
checkpoints: /models/checkpoints/
clip: F:/comfyui/models/clip/
clip_vision: F:/comfyui/models/clip_vision/
configs: F:/comfyui/models/configs/
controlnet: F:/comfyui/models/controlnet/
diffusion_models: |
F:/comfyui/models/diffusion_models
F:/comfyui/models/unet
embeddings: F:/comfyui/models/embeddings/
loras: F:/comfyui/models/loras/
upscale_models: F:/comfyui/models/upscale_models/
vae: F:/comfyui/models/vae/
custom_nodes: F:/comfyui/models/custom_nodes/
extra_model_paths: F:/comfyui/models/extra_model_paths/
Here’s your corrected YAML, properly indented and cleaned up for readability and validity:
“`yaml
# Config for ComfyUI
# Your base path should be either an existing ComfyUI install or a central folder where you store all of your models, loras, etc.
comfyui:
base_path: F:/comfyui/
is_default: true
checkpoints: /models/checkpoints/
clip: F:/comfyui/models/clip/
clip_vision: F:/comfyui/models/clip_vision/
configs: F:/comfyui/models/configs/
controlnet: F:/comfyui/models/controlnet/
diffusion_models:
– F:/comfyui/models/diffusion_models
– F:/comfyui/models/unet
embeddings: F:/comfyui/models/embeddings/
loras: F:/comfyui/models/loras/
upscale_models: F:/comfyui/models/upscale_models/
vae: F:/comfyui/models/vae/
custom_nodes: F:/comfyui/models/custom_nodes/
extra_model_paths: F:/comfyui/models/extra_model_paths/
“`
### Notes:
– Indentation is critical in YAML—spaces, not tabs.
– I converted the multi-line `diffusion_models` block to a list.
– Removed any dangling or misaligned keys.
– Cleaned up comment placement and ensured everything was under the `comfyui` root node.
Ready to plug into your config. Let me know if it needs to support multiple installs or platforms.
Traceback (most recent call last):
File “H:ComfyUI-0.3.36main.py”, line 98, in
apply_custom_paths()
File “H:ComfyUI-0.3.36main.py”, line 27, in apply_custom_paths
utils.extra_config.load_extra_path_config(extra_model_paths_config_path)
File “H:ComfyUI-0.3.36utilsextra_config.py”, line 24, in load_extra_path_config
for y in conf[x].split(“n”):
^^^^^^^^^^^^^
AttributeError: ‘list’ object has no attribute ‘split’
Ah, classic YAML type mismatch.
This error means your config is expecting each value (like `diffusion_models`) to be a **multi-line string**, not a **list**. But in your fixed YAML, `diffusion_models` is currently a list:
“`yaml
diffusion_models:
– F:/comfyui/models/diffusion_models
– F:/comfyui/models/unet
“`
The code is trying to do `.split(“n”)`, which only works on strings—not lists. So let’s fix that.
### ✅ Proper fix (treat as a multi-line string):
“`yaml
diffusion_models: |
F:/comfyui/models/diffusion_models
F:/comfyui/models/unet
“`
So here’s your **repaired YAML** with that tweak:
“`yaml
comfyui:
base_path: F:/comfyui/
is_default: true
checkpoints: /models/checkpoints/
clip: F:/comfyui/models/clip/
clip_vision: F:/comfyui/models/clip_vision/
configs: F:/comfyui/models/configs/
controlnet: F:/comfyui/models/controlnet/
diffusion_models: |
F:/comfyui/models/diffusion_models
F:/comfyui/models/unet
embeddings: F:/comfyui/models/embeddings/
loras: F:/comfyui/models/loras/
upscale_models: F:/comfyui/models/upscale_models/
vae: F:/comfyui/models/vae/
custom_nodes: F:/comfyui/models/custom_nodes/
extra_model_paths: F:/comfyui/models/extra_model_paths/
“`
Now `diffusion_models` is interpreted as a single string (with newlines), not a list—so the `.split(‘n’)` works as expected.
Let me know if it throws another tantrum.
Traceback (most recent call last):
File “H:ComfyUI-0.3.36main.py”, line 130, in
import execution
File “H:ComfyUI-0.3.36execution.py”, line 13, in
import nodes
File “H:ComfyUI-0.3.36nodes.py”, line 22, in
import comfy.diffusers_load
File “H:ComfyUI-0.3.36comfydiffusers_load.py”, line 3, in
import comfy.sd
File “H:ComfyUI-0.3.36comfysd.py”, line 7, in
from comfy import model_management
File “H:ComfyUI-0.3.36comfymodel_management.py”, line 221, in
total_vram = get_total_memory(get_torch_device()) / (1024 * 1024)
^^^^^^^^^^^^^^^^^^
File “H:ComfyUI-0.3.36comfymodel_management.py”, line 172, in get_torch_device
return torch.device(torch.cuda.current_device())
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “h:ComfyUI-0.3.36.venvLibsite-packagestorchcuda__init__.py”, line 1026, in current_device
_lazy_init()
File “h:ComfyUI-0.3.36.venvLibsite-packagestorchcuda__init__.py”, line 363, in _lazy_init
raise AssertionError(“Torch not compiled with CUDA enabled”)
AssertionError: Torch not compiled with CUDA enabled
Ah, the infamous **”Torch not compiled with CUDA enabled”** slap. This one’s pretty straightforward:
—
### 🔍 **What it means:**
You’re running a version of PyTorch that **doesn’t support GPU acceleration** (CUDA). So when ComfyUI tries to grab the GPU to load models—boom—crash.
—
### 🧯 **Quick Fix Options:**
#### ✅ 1. **Install CUDA-enabled PyTorch**
If you *do* have a compatible NVIDIA GPU (which your RTX 3060 absolutely qualifies as), do this:
From your venv or terminal (inside your ComfyUI folder):
“`bash
pip uninstall torch torchvision torchaudio
“`
Then reinstall with CUDA support (for your GPU, CUDA 11.8 or 12.1 is fine):
“`bash
pip install torch torchvision torchaudio –index-url https://download.pytorch.org/whl/cu118
“`
💡 Replace `cu118` with `cu121` if you’re using CUDA 12.1.
—
#### ❌ 2. **Or… Run ComfyUI in CPU-only mode**
(if you’re testing or don’t care about speed):
Edit `webextra_model_paths.yaml` or `extra_model_paths.yaml` wherever relevant configs live—*but the real change is in the launch*.
When running ComfyUI, launch it with this:
“`bash
python main.py –cpu
“`
Or modify the `run.bat`:
“`bat
@echo off
python main.py –cpu
pause
“`
⚠️ It’ll be sloooow. Your RTX 3060 is begging you not to do this.
—
### 💡 Bonus Check: Is PyTorch seeing your GPU?
You can test in Python:
“`python
import torch
print(torch.cuda.is_available()) # Should return True
“`
If it’s `False`, you’re still running the wrong PyTorch build.
—
Want a quick `.bat` file setup to reconfigure everything cleanly? Or a script to check and patch your whole Comfy install? I can whip one up.
It is loking at c: for the files it needs not h: where they are at
Got it — ComfyUI is using the **wrong base path**, likely defaulting to `C:` because your config isn’t being picked up properly or isn’t structured where ComfyUI expects it.
Let’s root this out methodically.
—
### ✅ Step-by-Step Fix:
#### **1. Double-check your `extra_model_paths.yaml` location**
Put the config file in one of these places:
– `H:/ComfyUI-0.3.36/models/extra_model_paths.yaml`
– Or `H:/ComfyUI-0.3.36/custom_nodes/extra_model_paths.yaml`
Wherever it lives, the correct structure should start directly with the paths, **not nested under `comfyui:`**. This is key.
#### ✅ **Correct YAML Format:**
“`yaml
is_default: true
checkpoints: F:/comfyui/models/checkpoints/
clip: F:/comfyui/models/clip/
clip_vision: F:/comfyui/models/clip_vision/
configs: F:/comfyui/models/configs/
controlnet: F:/comfyui/models/controlnet/
diffusion_models: |
F:/comfyui/models/diffusion_models
F:/comfyui/models/unet
embeddings: F:/comfyui/models/embeddings/
loras: F:/comfyui/models/loras/
upscale_models: F:/comfyui/models/upscale_models/
vae: F:/comfyui/models/vae/
custom_nodes: F:/comfyui/models/custom_nodes/
extra_model_paths: F:/comfyui/models/extra_model_paths/
“`
⚠️ **Do not include `comfyui:` as the root key** — that’s only for internal usage elsewhere. This YAML is parsed flat.
—
#### **2. Ensure it’s using the right drive**
ComfyUI doesn’t always guess your location. You may need to explicitly run it from the `H:` drive. Example:
“`bat
@echo off
H:
cd H:ComfyUI-0.3.36
python main.py
pause
“`
Save that as `run_comfy.bat` and execute it directly.
—
#### **3. (Optional) Force the config path manually**
If the autodetect fails, override the config path:
“`bash
python main.py –extra-model-paths H:/ComfyUI-0.3.36/models/extra_model_paths.yaml
“`
—
### 🔍 Confirm It’s Working:
You’ll know it worked if:
– It no longer complains about missing models
– It’s looking in `F:/comfyui/…` for everything
– Console shows paths being loaded from your config
—
Let me know if you want a script to verify all model paths or auto-fix misdirected folders. We can make ComfyUI behave.
Write a ridiculous scenario with petite, dancing fairies, in a exotic forest
**Title: The Pineapple Rave of Fernwood Vale**
Deep within the forgotten jungles of Fernwood Vale—a place so lush and humid it makes a rainforest look like a cactus garden—an absurd little event was unfolding beneath the phosphorescent glow of bioluminescent mangoes.
In the clearing of a grove made entirely of spiral bamboo and morally dubious vines, an army of petite, glitter-drenched fairies had gathered. And not just any fairies—these were the *Synesthetic Sprite Syndicate*, known throughout mythical circles for their wildly illegal jungle raves and their refusal to respect the Geneva Convention on Magical Creatures.
The leader, a three-inch-tall chaos queen named **DJ WingTip**, hovered above a coconut-turned-DJ-booth, slamming iridescent beetle shells together like turntables. Her wings spun so fast they emitted a faint dubstep wub-wub with every flap.
Around her, hundreds of fairies danced on toadstools that bounced like subwoofers. Their tiny feet tapped out rhythms on leaves engineered for maximum bass drop response. Exotic birds overhead—jeweled toucans with Bluetooth beaks—joined in, tweeting harmonies to the beat. A psychedelic tapir in glowsticks manned the fog machine, exhaling dream-fog infused with mild euphoria and hints of elderberry.
But the real insanity came when the **Pineapple Portal** opened.
A sentient, mustachioed pineapple (named Jeff) burst out of the underbrush, spinning on a hover-leaf and shouting, “THE TIME IS NOODLE!” Everyone froze. DJ WingTip dropped the tempo to an eerie silence. Jeff blinked, belched confetti, and said, “Nevermind. Wrong universe.”
He vanished. The fairies shrugged in unison and got back to twerking on moss-covered chipmunks.
Some say if you listen closely on humid nights, you can still hear the faint beat of DJ WingTip’s wings and the quiet whisper of the Pineapple Rave calling you home.
You’ve been warned. Bring glitter.
How about a prompt format
Absolutely—here’s a clean, reusable **prompt format** for generating a similar scene (ideal for AI art, story generation, or creative writing inspiration):
—
### 🧚♀️ **Fantasy Prompt Template: Petite Fairies in an Exotic Forest**
**Prompt:**
> *”In an impossibly lush and bioluminescent exotic forest, a gathering of petite, dancing fairies throws an absurd, whimsical celebration. The forest is alive with glowing plants, oversized mushrooms, and surreal wildlife. Fairies with iridescent wings perform choreographed dances atop bouncing toadstools, while a fairy DJ spins magical beats on a mushroom turntable. Creatures like tapirs in glowstick necklaces and toucans with Bluetooth beaks join the party. Suddenly, a sentient pineapple bursts onto the scene through a portal, declares something nonsensical, then vanishes. The fairies resume dancing under the phosphorescent canopy as enchanted fog swirls around them.”*
—
### Optional Style Tags:
– Style: Studio Ghibli | Lisa Frank | Psychedelic Fantasy | Surrealism | Vaporwave
– Mood: Whimsical | Absurd | Euphoric | Dreamlike
– Medium: Illustration | Animation | Short Story | Concept Art
—
Want a version tailored for image gen tools like MidJourney, DALL·E, or Sora?