Remove debug find command that times out on large volumes
All checks were successful
Build and Push Docker Image / build (push) Successful in 32m5s
All checks were successful
Build and Push Docker Image / build (push) Successful in 32m5s
The find command searching for .safetensors across /runpod-volume was timing out after 30 seconds on volumes with many files. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
13
handler.py
13
handler.py
@@ -53,19 +53,6 @@ def start_comfyui():
|
|||||||
if comfyui_process is not None and comfyui_process.poll() is None:
|
if comfyui_process is not None and comfyui_process.poll() is None:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
# Debug: show model paths
|
|
||||||
print("=== Model Path Debug ===")
|
|
||||||
import subprocess
|
|
||||||
for path in ["/runpod-volume", "/runpod-volume/models", "/workspace/ComfyUI/models"]:
|
|
||||||
result = subprocess.run(["ls", "-la", path], capture_output=True, text=True)
|
|
||||||
print(f"{path}:")
|
|
||||||
print(result.stdout[:500] if result.stdout else f" Error: {result.stderr}")
|
|
||||||
|
|
||||||
# Find any .safetensors files
|
|
||||||
result = subprocess.run(["find", "/runpod-volume", "-name", "*.safetensors", "-type", "f"],
|
|
||||||
capture_output=True, text=True, timeout=30)
|
|
||||||
print(f"Safetensors on volume:\n{result.stdout[:1000] if result.stdout else 'None found'}")
|
|
||||||
|
|
||||||
print("Starting ComfyUI server...")
|
print("Starting ComfyUI server...")
|
||||||
|
|
||||||
comfyui_process = subprocess.Popen(
|
comfyui_process = subprocess.Popen(
|
||||||
|
|||||||
Reference in New Issue
Block a user