#!/bin/bash
echo "=== GGUF ops.py cast_bias_weight ==="
grep -n "cast_bias_weight\|def forward_ggml\|def forward_comfy" /home/fabian/ComfyUI/custom_nodes/ComfyUI-GGUF/ops.py | head -n 20
echo ""
echo "=== cast_bias_weight full function ==="
sed -n '/def cast_bias_weight/,/^[[:space:]]*def /p' /home/fabian/ComfyUI/custom_nodes/ComfyUI-GGUF/ops.py | head -n 30
echo ""
echo "=== forward_ggml_cast_weights call ==="
sed -n '/def forward_ggml_cast_weights/,/^[[:space:]]*def /p' /home/fabian/ComfyUI/custom_nodes/ComfyUI-GGUF/ops.py | head -n 20
echo ""
echo "=== dequant.py get_scale_min ==="
sed -n '125,145p' /home/fabian/ComfyUI/custom_nodes/ComfyUI-GGUF/dequant.py
