Module neuralops.tests.test_part10_registry_and_consolidation

Part 10 Verification: Registry Health & Duplicate Consolidation.

Functions

def test_helper_module_exclusions()
Expand source code
def test_helper_module_exclusions():
    assert is_helper_module("adaptive_svd_factory")
    assert is_helper_module("adaptive_svd_inject")
    assert not is_helper_module("adaptive_svd")
def test_registry_size_healthy()
Expand source code
def test_registry_size_healthy():
    assert len(ATTENTION_REGISTRY.keys()) >= 15
    assert len(COMPRESSOR_REGISTRY.keys()) >= 5