debug: list ixformer.functions available APIs

This commit is contained in:
claude
2026-08-11 07:47:49 +00:00
parent 4c1a27d8b8
commit 18b52c3db0

View File

@@ -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