def METHOD_NAME():
    mod, mod2, mod3 = get_cuda_mod(), get_cuda_mod(), get_cuda_mod()
    mod4 = tvm.get_global_func("relay.build_module._AOTExecutorCodegen")()
    # Create the nested cuda module
    mod.import_module(mod2)
    mod2.import_module(mod3)
    mod2.import_module(mod4)
    # One of submodules is not binary serializable.
    assert mod.is_binary_serializable
    assert mod.imported_modules[0].is_binary_serializable
    assert mod.imported_modules[0].imported_modules[0].is_binary_serializable
    assert not mod.imported_modules[0].imported_modules[1].is_binary_serializable
    # Therefore, we cannot roundtrip.
    with pytest.raises(TVMError):
        tvm.ir.load_json(tvm.ir.save_json(mod))