Model Compatibility Error
2025-06-288 turns24,253 charsgpt-4o
Summary
User encountered a model compatibility error in ComfyUI when loading a wan2.1 text-to-video UNET that did not match the expected image-to-video variant.
Messages
comfy ui Prompt outputs failed validation:
UNETLoader:
- Value not in list: unet_name: 'wan2.1_t2v_14B_fp8_e4m3fn.safetensors' not in ['wan2.1_i2v_720p_14B_fp8_e4m3fn.safetensors']
VAELoader:
- Value not in list: vae_name: 'wan_2.1_vae.safetensors' not in ['diffusion_pytorch_model.safetensors']
This error means that **ComfyUI** is trying to load a model (`UNet` and `VAE`) using names that aren't found in the list of allowed or available models in the dropdown or configuration.
Let’s break it down:
---
### 🔴 Error Summary
#### **UNETLoader**
```
unet_name: 'wan2.1_t2v_14B_fp8_e4m3fn.safetensors'
not in ['wan2.1_i2v_720p_14B_fp8_e4m3fn.safetensors']
```
- You are referencing a UNet file called: `wan2.1_t2v_14B_fp8_e4m3fn.safetensors`
- Only allowed value is: `wan2.1_i2v_720p_14B_fp8_e4m3fn.safetensors`
#### **VAELoader**
```
vae_name: 'wan_2.1_vae.safetensors'
not in ['diffusion_pytorch_model.safetensors']
```
- You're trying to load `wan_2.1_vae.safetensors`
- But the only valid/available option is `diffusion_pytorch_model.safetensors`
---
### ✅ Fix Options
#### Option 1: **Use Existing Models**
Update your workflow to use the listed available models:
- UNet: `wan2.1_i2v_720p_14B_fp8_e4m3fn.safetensors`
- VAE: `diffusion_pytorch_model.safetensors`
This can be done by editing the JSON or the ComfyUI interface to select the model that is listed.
---
#### Option 2: **Add Your Intended Models to ComfyUI**
If you really meant to use:
- `wan2.1_t2v_14B_fp8_e4m3fn.safetensors` (UNet)
- `wan_2.1_vae.safetensors` (VAE)
You need to make sure:
1. These files exist in the appropriate directories:
- **UNet**: `models/unet/`
- **VAE**: `models/vae/`
2. They are listed in ComfyUI’s config or automatically recognized by ComfyUI.
- Restart ComfyUI after placing the files.
- It scans folders and populates the dropdowns.
---
### 📁 Folder Locations (Default)
| Model Type | Folder |
|------------|--------|
| UNet | `ComfyUI/models/unet/` |
| VAE | `ComfyUI/models/vae/` |
---
### 🛠️ Tips
- If these are custom or new models, double-check file names.
- Some workflows may require the exact filename match.
- Use symlinks if you have to reuse the same model under a different name.
---
Let me know if you want help creating a fixed workflow JSON or renaming the files to match what’s expected.
gpt-4o
TypeError: Failed to fetch
The error `TypeError: Failed to fetch` in **ComfyUI** or any web-based app usually means that something went wrong when the frontend tried to make a request to the backend server. Here's how you can troubleshoot and fix it:
---
## 🛠️ Common Causes and Fixes
### 1. 🚫 **Backend Server Not Running**
The most common cause:
- **ComfyUI server isn't running** or crashed.
✅ **Fix**:
Make sure the backend is running. In your terminal (where you usually start ComfyUI), you should see logs like:
```
Uvicorn running on http://127.0.0.1:8188
```
If it’s not running, restart it:
```bash
python main.py
```
or however you normally start ComfyUI.
---
### 2. 🌐 **Wrong Port or Address**
If you're accessing ComfyUI from a browser, check:
- You’re going to the correct URL, usually:
`http://127.0.0.1:8188`
If you changed ports, make sure your browser uses the same one.
---
### 3. 🔁 **CORS Error (Cross-Origin)**
If you’re calling the API from a different domain (e.g. a custom UI or browser extension), the browser might block the request.
✅ **Fix**:
- Make sure ComfyUI has CORS enabled properly.
- You can add CORS headers in the FastAPI backend if you’ve modified it.
---
### 4. 🧱 **Firewall/Antivirus Blocking**
Some antivirus or firewall software can block `fetch()` or Python servers.
✅ Try:
- Temporarily disable your antivirus/firewall.
- Or allow the Python process/network through.
---
### 5. 🧩 **Bad JSON or Invalid Request**
If you’re running a workflow and something is malformed (e.g., a missing node, bad path), `fetch()` might fail silently.
✅ Fix:
- Check the browser console (DevTools → Network tab) to see the failed request.
- Look at the request body and response.
---
### 6. 🪵 **Check the Logs**
Look in:
- Your browser **console** (F12 → Console tab)
- Your **terminal log** where ComfyUI is running
You’ll likely see a **Python stack trace** or a failed file reference.
---
## ✅ Summary Checklist
| ✅ Check | How? |
|-----------------------------|------|
| ComfyUI server is running | Terminal shows active server |
| URL/Port is correct | Go to `http://127.0.0.1:8188` |
| Browser console errors | Press `F12` → Console/Network tabs |
| Model filenames match config | Compare prompt with model folder |
| Backend logs for errors | Check terminal where ComfyUI runs |
---
If you post the full stack trace or JSON workflow you're loading, I can help you debug exactly where it's failing.
gpt-4o
## ComfyUI-Manager: installing dependencies done.
[2025-06-27 22:47:30.872] ** ComfyUI startup time: 2025-06-27 22:47:30.872
[2025-06-27 22:47:30.872] ** Platform: Darwin
[2025-06-27 22:47:30.872] ** Python version: 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6 ]
[2025-06-27 22:47:30.872] ** Python executable: /Users/danielkliewer/Documents/ComfyUI/.venv/bin/python
[2025-06-27 22:47:30.872] ** ComfyUI Path: /Applications/ComfyUI.app/Contents/Resources/ComfyUI
[2025-06-27 22:47:30.872] ** ComfyUI Base Folder Path: /Applications/ComfyUI.app/Contents/Resources/ComfyUI
[2025-06-27 22:47:30.872] ** User directory: /Users/danielkliewer/Documents/ComfyUI/user
[2025-06-27 22:47:30.872] ** ComfyUI-Manager config path: /Users/danielkliewer/Documents/ComfyUI/user/default/ComfyUI-Manager/config.ini
[2025-06-27 22:47:30.872] ** Log path: /Users/danielkliewer/Documents/ComfyUI/user/comfyui.log
[ComfyUI-Manager] Failed to restore comfyui-frontend-package
[2025-06-27 22:47:31.128] expected str, bytes or os.PathLike object, not NoneType
[2025-06-27 22:47:31.128]
Prestartup times for custom nodes:
[2025-06-27 22:47:31.128] 0.7 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/ComfyUI-Manager
[2025-06-27 22:47:31.128]
[2025-06-27 22:47:31.800] Checkpoint files will always be loaded safely.
[2025-06-27 22:47:31.815] Total VRAM 49152 MB, total RAM 49152 MB
[2025-06-27 22:47:31.815] pytorch version: 2.7.1
[2025-06-27 22:47:31.816] Mac Version (15, 5)
[2025-06-27 22:47:31.816] Set vram state to: DISABLED
[2025-06-27 22:47:31.816] Device: cpu
[2025-06-27 22:47:32.419] Using sub quadratic optimization for attention, if you have memory or speed issues try using: --use-split-cross-attention
[2025-06-27 22:47:33.284] Python version: 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6 ]
[2025-06-27 22:47:33.284] ComfyUI version: 0.3.43
[2025-06-27 22:47:33.285] [Prompt Server] web root: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/web_custom_versions/desktop_app
[2025-06-27 22:47:41.173] ### Loading: ComfyUI-Manager (V3.30.4)
[2025-06-27 22:47:41.173] [ComfyUI-Manager] network_mode: public
[2025-06-27 22:47:41.187] ### ComfyUI Revision: UNKNOWN (The currently installed ComfyUI is not a Git repository)
[2025-06-27 22:47:41.194]
Import times for custom nodes:
[2025-06-27 22:47:41.194] 0.0 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/websocket_image_save.py
[2025-06-27 22:47:41.194] 0.0 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/ComfyUI-Manager
[2025-06-27 22:47:41.194] 7.6 seconds: /Users/danielkliewer/Documents/ComfyUI/custom_nodes/comfyui-videohelpersuite
[2025-06-27 22:47:41.194]
[2025-06-27 22:47:41.417] Failed to initialize database. Please ensure you have installed the latest requirements. If the error persists, please report this as in future the database will be required: (sqlite3.OperationalError) unable to open database file
(Background on this error at: https://sqlalche.me/e/20/e3q8)
[2025-06-27 22:47:41.421] Starting server
[2025-06-27 22:47:41.421] To see the GUI go to: http://127.0.0.1:8000
[2025-06-27 22:47:41.438] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
[2025-06-27 22:47:41.466] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[2025-06-27 22:47:41.561] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
[2025-06-27 22:47:41.717] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
[2025-06-27 22:47:41.740] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
[2025-06-27 22:47:46.018] FETCH ComfyRegistry Data: 5/90
[2025-06-27 22:47:50.505] FETCH ComfyRegistry Data: 10/90
[2025-06-27 22:47:54.894] FETCH ComfyRegistry Data: 15/90
[2025-06-27 22:47:59.349] FETCH ComfyRegistry Data: 20/90
[2025-06-27 22:48:05.476] FETCH ComfyRegistry Data: 25/90
[2025-06-27 22:48:10.274] FETCH ComfyRegistry Data: 30/90
[2025-06-27 22:48:14.587] FETCH ComfyRegistry Data: 35/90
[2025-06-27 22:48:18.745] FETCH ComfyRegistry Data: 40/90
[2025-06-27 22:48:23.307] FETCH ComfyRegistry Data: 45/90
[2025-06-27 22:48:28.330] FETCH ComfyRegistry Data: 50/90
[2025-06-27 22:48:32.794] FETCH ComfyRegistry Data: 55/90
[2025-06-27 22:48:38.748] FETCH ComfyRegistry Data: 60/90
[2025-06-27 22:48:42.855] FETCH ComfyRegistry Data: 65/90
[2025-06-27 22:48:47.486] FETCH ComfyRegistry Data: 70/90
[2025-06-27 22:48:51.969] FETCH ComfyRegistry Data: 75/90
[2025-06-27 22:48:57.006] FETCH ComfyRegistry Data: 80/90
[2025-06-27 22:49:01.820] FETCH ComfyRegistry Data: 85/90
[2025-06-27 22:49:07.831] FETCH ComfyRegistry Data: 90/90
[2025-06-27 22:49:08.333] FETCH ComfyRegistry Data [DONE]
[2025-06-27 22:49:08.397] [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
[2025-06-27 22:49:08.418] nightly_channel:
https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/remote
[2025-06-27 22:49:08.418] FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [DONE]
[2025-06-27 22:49:08.853] [ComfyUI-Manager] All startup tasks have been completed.
[2025-06-27 22:49:38.375] got prompt
[2025-06-27 22:49:38.377] Failed to validate prompt for output 48:
[2025-06-27 22:49:38.377] * UNETLoader 37:
[2025-06-27 22:49:38.377] - Value not in list: unet_name: 'wan2.1_t2v_14B_fp8_e4m3fn.safetensors' not in ['wan2.1_i2v_720p_14B_fp8_e4m3fn.safetensors']
[2025-06-27 22:49:38.377] * VAELoader 39:
[2025-06-27 22:49:38.377] - Value not in list: vae_name: 'wan_2.1_vae.safetensors' not in ['diffusion_pytorch_model.safetensors']
[2025-06-27 22:49:38.377] Output will be ignored
[2025-06-27 22:49:38.377] invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
[2025-06-27 22:51:40.051] got prompt
[2025-06-27 22:51:40.052] Failed to validate prompt for output 48:
[2025-06-27 22:51:40.052] * UNETLoader 37:
[2025-06-27 22:51:40.052] - Value not in list: unet_name: 'wan2.1_t2v_14B_fp8_e4m3fn.safetensors' not in ['wan2.1_i2v_720p_14B_fp8_e4m3fn.safetensors']
[2025-06-27 22:51:40.052] Output will be ignored
[2025-06-27 22:51:40.052] invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
[2025-06-27 22:54:16.998] got prompt
[2025-06-27 22:54:16.999] Failed to validate prompt for output 48:
[2025-06-27 22:54:16.999] * UNETLoader 37:
[2025-06-27 22:54:16.999] - Value not in list: unet_name: 'wan2.1_t2v_14B_fp8_e4m3fn.safetensors' not in ['wan2.1_i2v_720p_14B_fp8_e4m3fn.safetensors']
[2025-06-27 22:54:16.999] * VAELoader 39:
[2025-06-27 22:54:16.999] - Value not in list: vae_name: 'wan_2.1_vae.safetensors' not in ['diffusion_pytorch_model.safetensors']
[2025-06-27 22:54:16.999] Output will be ignored
[2025-06-27 22:54:16.999] invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
[2025-06-27 22:58:34.420] got prompt
[2025-06-27 22:58:34.423] Failed to validate prompt for output 48:
[2025-06-27 22:58:34.423] * VAELoader 39:
[2025-06-27 22:58:34.423] - Value not in list: vae_name: 'wan_2.1_vae.safetensors' not in ['diffusion_pytorch_model.safetensors']
[2025-06-27 22:58:34.423] Output will be ignored
[2025-06-27 22:58:34.423] invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
[2025-06-27 22:58:48.261] got prompt
[2025-06-27 22:58:48.285] Using split attention in VAE
[2025-06-27 22:58:48.286] Using split attention in VAE
[2025-06-27 22:58:48.420] VAE load device: cpu, offload device: cpu, dtype: torch.float32
[2025-06-27 22:58:48.451] Using scaled fp8: fp8 matrix mult: False, scale input: False
[2025-06-27 22:58:48.725] Requested to load WanTEModel
[2025-06-27 22:58:48.728] loaded completely 9.5367431640625e+25 6419.477203369141 True
[2025-06-27 22:58:48.729] CLIP/text encoder model load device: cpu, offload device: cpu, current: cpu, dtype: torch.float16
[2025-06-27 22:59:00.041] Processing interrupted
[2025-06-27 22:59:00.041] Prompt executed in 11.78 seconds
[2025-06-27 22:59:40.697] got prompt
[2025-06-27 22:59:44.833] model weight dtype torch.float32, manual cast: None
[2025-06-27 22:59:44.833] model_type FLOW
Thanks for sharing the full log — here's a clear breakdown of what's going wrong and how to fix it.
---
## ❗ Summary of Issues
### 1. ❌ **Model Name Mismatch (UNet & VAE)**
Your prompt/workflow is referencing:
- `unet_name: 'wan2.1_t2v_14B_fp8_e4m3fn.safetensors'`
- `vae_name: 'wan_2.1_vae.safetensors'`
But ComfyUI only sees:
- ✅ UNET: `'wan2.1_i2v_720p_14B_fp8_e4m3fn.safetensors'`
- ✅ VAE: `'diffusion_pytorch_model.safetensors'`
---
### 2. ❌ **Failed to Restore `comfyui-frontend-package`**
ComfyUI-Manager failed to restore the frontend dependency.
---
### 3. ❌ **SQLite3 DB Initialization Error**
```
sqlite3.OperationalError: unable to open database file
```
Means some internal caching or indexing isn't working, but this isn’t a hard blocker *yet*. In future versions, it might become mandatory.
---
## ✅ Step-by-Step Fix
### 🔧 Fix 1: Make Sure Your Models Exist
#### ✅ Do this:
1. Place your missing model files into the appropriate folders:
- `/Users/danielkliewer/Documents/ComfyUI/models/unet/wan2.1_t2v_14B_fp8_e4m3fn.safetensors`
- `/Users/danielkliewer/Documents/ComfyUI/models/vae/wan_2.1_vae.safetensors`
2. Restart ComfyUI after copying.
3. **Verify** the models show up in the dropdown in the GUI before loading the workflow.
---
### 🛠️ Fix 2: Fix the Prompt If Models Aren't Available
If those model files **don’t exist**, you can either:
- Download them (if you have access), or
- **Edit your prompt JSON** to use the listed valid ones:
```json
"unet_name": "wan2.1_i2v_720p_14B_fp8_e4m3fn.safetensors",
"vae_name": "diffusion_pytorch_model.safetensors"
```
> Let me know if you want help editing the JSON automatically.
---
### 🧹 Fix 3: Database Error (Optional for now)
This is a warning, not a crash. To silence it:
1. Create the missing folder manually:
```bash
mkdir -p /Users/danielkliewer/Documents/ComfyUI/user/database
```
2. Or check if ComfyUI-Manager has a setting like `use_database = false` in `config.ini` you can toggle.
---
### 🌐 Fix 4: "Failed to fetch"
That was likely caused by the prompt validation failure. Once your prompt uses valid model names, the fetch error will go away.
---
## ✅ Final Checklist
| Task | Status |
|------|--------|
| Put correct model files in the right folders | 🔲 |
| OR edit prompt to use available model names | 🔲 |
| Restart ComfyUI | 🔲 |
| Fix optional database warning | 🔲 |
---
Let me know:
- If you need help editing the prompt JSON
- If you want a link to download the expected `.safetensors` models
- Or if you're trying to load **video-to-video** (`t2v`) and need the right custom node setup
I can generate a clean working `.json` prompt for you if you share your current one.
gpt-4o
## ComfyUI-Manager: installing dependencies done.
[2025-06-27 23:07:11.098] ** ComfyUI startup time: 2025-06-27 23:07:11.098
[2025-06-27 23:07:11.098] ** Platform: Darwin
[2025-06-27 23:07:11.098] ** Python version: 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6 ]
[2025-06-27 23:07:11.098] ** Python executable: /Users/danielkliewer/Documents/ComfyUI/.venv/bin/python
[2025-06-27 23:07:11.098] ** ComfyUI Path: /Applications/ComfyUI.app/Contents/Resources/ComfyUI
[2025-06-27 23:07:11.098] ** ComfyUI Base Folder Path: /Applications/ComfyUI.app/Contents/Resources/ComfyUI
[2025-06-27 23:07:11.098] ** User directory: /Users/danielkliewer/Documents/ComfyUI/user
[2025-06-27 23:07:11.098] ** ComfyUI-Manager config path: /Users/danielkliewer/Documents/ComfyUI/user/default/ComfyUI-Manager/config.ini
[2025-06-27 23:07:11.098] ** Log path: /Users/danielkliewer/Documents/ComfyUI/user/comfyui.log
[ComfyUI-Manager] Failed to restore comfyui-frontend-package
[2025-06-27 23:07:11.334] expected str, bytes or os.PathLike object, not NoneType
[2025-06-27 23:07:11.334]
Prestartup times for custom nodes:
[2025-06-27 23:07:11.334] 0.6 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/ComfyUI-Manager
[2025-06-27 23:07:11.334]
[2025-06-27 23:07:11.893] Checkpoint files will always be loaded safely.
[2025-06-27 23:07:11.907] Total VRAM 49152 MB, total RAM 49152 MB
[2025-06-27 23:07:11.907] pytorch version: 2.7.1
[2025-06-27 23:07:11.908] Mac Version (15, 5)
[2025-06-27 23:07:11.908] Set vram state to: DISABLED
[2025-06-27 23:07:11.908] Device: cpu
[2025-06-27 23:07:12.509] Using sub quadratic optimization for attention, if you have memory or speed issues try using: --use-split-cross-attention
[2025-06-27 23:07:13.570] Python version: 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6 ]
[2025-06-27 23:07:13.570] ComfyUI version: 0.3.43
[2025-06-27 23:07:13.571] [Prompt Server] web root: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/web_custom_versions/desktop_app
[2025-06-27 23:07:13.946] ### Loading: ComfyUI-Manager (V3.30.4)
[2025-06-27 23:07:13.946] [ComfyUI-Manager] network_mode: public
[2025-06-27 23:07:13.956] ### ComfyUI Revision: UNKNOWN (The currently installed ComfyUI is not a Git repository)
[2025-06-27 23:07:13.961]
Import times for custom nodes:
[2025-06-27 23:07:13.961] 0.0 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/websocket_image_save.py
[2025-06-27 23:07:13.961] 0.0 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/ComfyUI-Manager
[2025-06-27 23:07:13.961] 0.1 seconds: /Users/danielkliewer/Documents/ComfyUI/custom_nodes/comfyui-videohelpersuite
[2025-06-27 23:07:13.961]
[2025-06-27 23:07:14.152] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
[2025-06-27 23:07:14.165] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[2025-06-27 23:07:14.169] Failed to initialize database. Please ensure you have installed the latest requirements. If the error persists, please report this as in future the database will be required: (sqlite3.OperationalError) unable to open database file
(Background on this error at: https://sqlalche.me/e/20/e3q8)
[2025-06-27 23:07:14.172] Starting server
[2025-06-27 23:07:14.172] To see the GUI go to: http://127.0.0.1:8000
[2025-06-27 23:07:14.207] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
[2025-06-27 23:07:14.286] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
[2025-06-27 23:07:14.337] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
[2025-06-27 23:07:18.525] FETCH ComfyRegistry Data: 5/90
[2025-06-27 23:07:22.311] FETCH ComfyRegistry Data: 10/90
[2025-06-27 23:07:25.863] got prompt
[2025-06-27 23:07:25.888] Using split attention in VAE
[2025-06-27 23:07:25.888] Using split attention in VAE
[2025-06-27 23:07:25.978] VAE load device: cpu, offload device: cpu, dtype: torch.float32
[2025-06-27 23:07:26.010] Using scaled fp8: fp8 matrix mult: False, scale input: False
[2025-06-27 23:07:26.252] Requested to load WanTEModel
[2025-06-27 23:07:26.256] loaded completely 9.5367431640625e+25 6419.477203369141 True
[2025-06-27 23:07:26.256] CLIP/text encoder model load device: cpu, offload device: cpu, current: cpu, dtype: torch.float16
[2025-06-27 23:07:26.622] FETCH ComfyRegistry Data: 15/90
[2025-06-27 23:07:30.910] FETCH ComfyRegistry Data: 20/90
[2025-06-27 23:07:34.638] FETCH ComfyRegistry Data: 25/90
[2025-06-27 23:07:36.997] model weight dtype torch.float32, manual cast: None
[2025-06-27 23:07:36.997] model_type FLOW
[2025-06-27 23:07:38.266] FETCH ComfyRegistry Data: 30/90
[2025-06-27 23:07:42.549] FETCH ComfyRegistry Data: 35/90
[2025-06-27 23:07:47.177] FETCH ComfyRegistry Data: 40/90
[2025-06-27 23:07:53.068] FETCH ComfyRegistry Data: 45/90
[2025-06-27 23:07:57.982] FETCH ComfyRegistry Data: 50/90
[2025-06-27 23:08:03.150] FETCH ComfyRegistry Data: 55/90
[2025-06-27 23:08:08.586] FETCH ComfyRegistry Data: 60/90
[2025-06-27 23:08:13.722] FETCH ComfyRegistry Data: 65/90
[2025-06-27 23:08:19.144] FETCH ComfyRegistry Data: 70/90
[2025-06-27 23:08:24.875] FETCH ComfyRegistry Data: 75/90
[2025-06-27 23:08:30.274] FETCH ComfyRegistry Data: 80/90
[2025-06-27 23:08:35.082] FETCH ComfyRegistry Data: 85/90
Great news: your latest ComfyUI logs **show no validation errors**, which means:
✅ Your previously broken prompt (`unet_name` and `vae_name` mismatch) is now resolved — ComfyUI successfully loaded the model and ran the prompt.
---
## ✅ What’s Working Now
- The `WanTEModel` was loaded:
```
Requested to load WanTEModel
loaded completely ...
```
- The VAE loaded with `split attention`, indicating smooth execution on CPU:
```
VAE load device: cpu, offload device: cpu, dtype: torch.float32
```
- There are **no prompt validation errors**, unlike before.
- No `Failed to validate prompt` messages after `got prompt`.
---
## ⚠️ Minor Warnings You Can Fix Later
### 1. **Frontend Package Restoration Failed**
```
[ComfyUI-Manager] Failed to restore comfyui-frontend-package
```
This means the Manager couldn’t restore its frontend assets. This may cause minor UI glitches or missing options.
✅ Fix:
You can try:
```bash
cd /Users/danielkliewer/Documents/ComfyUI
source .venv/bin/activate
pip install -r requirements.txt
```
Or reinstall the frontend package if you know the specific command used by the `ComfyUI-Manager`.
---
### 2. **Database Initialization Failing**
```
sqlite3.OperationalError: unable to open database file
```
✅ Quick fix:
```bash
mkdir -p /Users/danielkliewer/Documents/ComfyUI/user/database
```
This creates the missing folder SQLite is trying to write to. Should suppress that warning.
---
## ✅ Recommended Next Steps
| Task | Recommendation |
|------|----------------|
| ✔ Prompt loads now | You're good to run your flow |
| ⚠ Create missing DB folder | `mkdir -p ~/Documents/ComfyUI/user/database` |
| ⚠ Reinstall frontend package | Only if you notice UI bugs |
| ✅ Save a working `.json` | Export your working workflow now that it's fixed |
| 🚀 Switch to GPU (if possible) | If you want faster runs, consider MPS or external GPU setup |
---
If you're still getting `TypeError: Failed to fetch`, that might be due to:
- Trying to run a second prompt before the first finished
- Browser cache (try Shift+Refresh)
- Networking conflict on `127.0.0.1:8000`
But for now, you're **fully up and running** — nice work getting through the config issues.
Let me know if you want:
- A clean export of the working workflow as a JSON template
- A guide for installing GPU support (MPS or external CUDA)
- Help installing missing video/image tools for WAN-based models
gpt-4o