From 11b2efbb9527644acee01604d19d1f6c8b7b35e4 Mon Sep 17 00:00:00 2001 From: xmarre Date: Wed, 13 May 2026 03:46:55 +0200 Subject: [PATCH] Narrow WAN injection error handling --- tide_core/patches.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tide_core/patches.py b/tide_core/patches.py index 56cd0ab..a80897e 100644 --- a/tide_core/patches.py +++ b/tide_core/patches.py @@ -246,7 +246,7 @@ class TIDEModelWrapper: if has_tide_wan_options(transformer_options): inject_tide_wan_options(transformer_options, self.config, timestep=args.get("timestep"), source="model_function_wrapper") - except Exception as exc: + except (ImportError, AttributeError, KeyError, TypeError, ValueError) as exc: if not getattr(self, "_wan_injection_warned", False): _LOG.warning("TIDE WAN transformer_options injection failed and was skipped: %s", exc, exc_info=True) self._wan_injection_warned = True