From 2c1728c6cea8bcd90889df18fe00d731f5ed3598 Mon Sep 17 00:00:00 2001 From: giles Date: Tue, 3 Feb 2026 21:24:45 +0000 Subject: [PATCH] Disable GPU persistence by default GPU persistence returns CuPy arrays but most primitives expect numpy. Disable until all primitives support GPU frames. Co-Authored-By: Claude Opus 4.5 --- sexp_effects/primitive_libs/streaming.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sexp_effects/primitive_libs/streaming.py b/sexp_effects/primitive_libs/streaming.py index 7ad2793..647fa3b 100644 --- a/sexp_effects/primitive_libs/streaming.py +++ b/sexp_effects/primitive_libs/streaming.py @@ -25,7 +25,8 @@ except ImportError: CUPY_AVAILABLE = False # GPU persistence mode - output CuPy arrays instead of numpy -GPU_PERSIST = os.environ.get("STREAMING_GPU_PERSIST", "1") == "1" and CUPY_AVAILABLE +# Disabled by default until all primitives support GPU frames +GPU_PERSIST = os.environ.get("STREAMING_GPU_PERSIST", "0") == "1" and CUPY_AVAILABLE # Check for hardware decode support (cached) _HWDEC_AVAILABLE = None