worker diagnostics: print interpreter + torch state at import

This commit is contained in:
E committed 2026-10-01 10:08:49 -04:00
1 parent 7f80523739
commit c6296c9c10
2 files changed
+8

No files matched your search

+8
View File
@@ -22,6 +22,14 @@ from pathlib import Path
sys.path.insert(0, str(Path(__file__).parent)) sys.path.insert(0, str(Path(__file__).parent))
print("WORKER-ENV", sys.executable, sys.version.split()[0], flush=True)
try:
import torch
print("WORKER-TORCH", torch.__version__, flush=True)
except Exception as e:
print("WORKER-TORCH-FAIL", repr(e), flush=True)
print("WORKER-PATH", *sys.path, flush=True)
import runpod import runpod
import server # the chamber's model machinery: _state, set_vec, streams import server # the chamber's model machinery: _state, set_vec, streams
Binary file not shown.