From 18b52c3db02cb16d2ef54f028f9aaeb89ff18837 Mon Sep 17 00:00:00 2001 From: claude Date: Tue, 11 Aug 2026 07:47:49 +0000 Subject: [PATCH] debug: list ixformer.functions available APIs --- ex_engine/list_ixformer_funcs.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ex_engine/list_ixformer_funcs.py diff --git a/ex_engine/list_ixformer_funcs.py b/ex_engine/list_ixformer_funcs.py new file mode 100644 index 00000000..9944230d --- /dev/null +++ b/ex_engine/list_ixformer_funcs.py @@ -0,0 +1,21 @@ +#!/usr/bin/env python3 +"""List all functions available in ixformer.functions.""" +try: + import ixformer.functions as ixf + funcs = [x for x in dir(ixf) if not x.startswith('_')] + print(f"ixformer.functions: {len(funcs)} functions") + for f in sorted(funcs): + obj = getattr(ixf, f) + print(f" {f}: {type(obj).__name__}") +except ImportError as e: + print(f"ixformer.functions not available: {e}") + +# Also check what torch.ops has after loading +import torch +try: + import ixformer + for ns in dir(torch.ops): + if 'ix' in ns.lower() or 'corex' in ns.lower(): + print(f" torch.ops.{ns}") +except: + pass