11 lines
582 B
Bash
11 lines
582 B
Bash
#!/bin/bash
|
|
# Check threading settings + model caching behavior
|
|
echo "=== THREADS ==="
|
|
grep -n -i -E "thread|num_worker|dataloader|OMP|MKL|parallel" /home/fabian/ComfyUI/comfy/model_management.py | head -20
|
|
echo "=== torch threads ==="
|
|
grep -rn -i "set_num_threads\|num_threads\|OMP_NUM\|MKL_NUM\|torch.get_num_threads\|interop" /home/fabian/ComfyUI/comfy/ --include="*.py" | head -15
|
|
echo "=== free_memory function ==="
|
|
sed -n '636,680p' /home/fabian/ComfyUI/comfy/model_management.py
|
|
echo "=== load_models_gpu ==="
|
|
sed -n '680,780p' /home/fabian/ComfyUI/comfy/model_management.py
|