#!/bin/bash
echo "=== VAE class and decode method ==="
awk '/^class VAE/,/^class [A-Z]/' /home/fabian/ComfyUI/comfy/sd.py | head -200
echo "=== load_models_gpu in decode? ==="
grep -n "load_models_gpu\|def decode\|def encode\|patcher\|first_stage" /home/fabian/ComfyUI/comfy/sd.py | tail -30
echo "=== VAEDecode node ==="
grep -n -A5 "class VAEDecode" /home/fabian/ComfyUI/nodes.py | head -20
