| {".class": "MypyFile", "_fullname": "jax.interpreters.pxla", "future_import_flags": ["annotations"], "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "<callable subtype of Sequence>": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": [{".class": "Instance", "args": [{".class": "UnionType", "items": ["jax.experimental.sharding.MeshPspecSharding", "jax.interpreters.pxla._AUTOAxisResource", "jax.interpreters.pxla._UnspecifiedValue"]}], "type_ref": "typing.Sequence"}], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla.<callable subtype of Sequence>", "name": "Sequence[Union[MeshPspecSharding, _AUTOAxisResource, _UnspecifiedValue]]", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax.interpreters.pxla.<callable subtype of Sequence>", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla.<callable subtype of Sequence>", "typing.Sequence", "typing.Collection", "typing.Reversible", "typing.Iterable", "typing.Container", "builtins.object"], "names": {".class": "SymbolTable", "__call__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [], "arg_names": [], "flags": [], "fullname": "jax.interpreters.pxla.<callable subtype of Sequence>.__call__", "name": "__call__", "type": {".class": "CallableType", "arg_kinds": [2, 4], "arg_names": [null, null], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": true, "name": null, "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "AUTO": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax.interpreters.pxla.AUTO", "name": "AUTO", "type": "jax.interpreters.pxla._AUTOAxisResource"}}, "Any": {".class": "SymbolTableNode", "cross_ref": "typing.Any", "kind": "Gdef"}, "ArrayMapping": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "jax.interpreters.pxla.ArrayMapping", "line": 510, "no_args": false, "normalized": false, "target": {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.MeshAxisName"}, "builtins.int"], "type_ref": "builtins.dict"}}}, "ArrayMappingOrAutoOrUnspecified": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "jax.interpreters.pxla.ArrayMappingOrAutoOrUnspecified", "line": 511, "no_args": false, "normalized": false, "target": {".class": "UnionType", "items": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.ArrayMapping"}, "jax.interpreters.pxla._AUTOAxisResource", "jax.interpreters.pxla._UnspecifiedValue"]}}}, "AvalDimSharding": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "jax.interpreters.pxla.AvalDimSharding", "line": 113, "no_args": false, "normalized": false, "target": {".class": "UnionType", "items": ["jaxlib.xla_extension.pmap_lib.Unstacked", "jaxlib.xla_extension.pmap_lib.Chunked", "jaxlib.xla_extension.pmap_lib.NoSharding"]}}}, "Callable": {".class": "SymbolTableNode", "cross_ref": "typing.Callable", "kind": "Gdef"}, "Chunked": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "jax.interpreters.pxla.Chunked", "line": 106, "no_args": true, "normalized": false, "target": "jaxlib.xla_extension.pmap_lib.Chunked"}}, "ConcreteArray": {".class": "SymbolTableNode", "cross_ref": "jax.core.ConcreteArray", "kind": "Gdef"}, "ContextDecorator": {".class": "SymbolTableNode", "cross_ref": "contextlib.ContextDecorator", "kind": "Gdef"}, "Dict": {".class": "SymbolTableNode", "cross_ref": "typing.Dict", "kind": "Gdef"}, "DynamicAxisEnv": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": [{".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}], "type_ref": "builtins.list"}], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla.DynamicAxisEnv", "name": "DynamicAxisEnv", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax.interpreters.pxla.DynamicAxisEnv", "has_param_spec_type": false, "metaclass_type": "abc.ABCMeta", "metadata": {}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla.DynamicAxisEnv", "builtins.list", "typing.MutableSequence", "typing.Sequence", "typing.Collection", "typing.Reversible", "typing.Iterable", "typing.Container", "builtins.object"], "names": {".class": "SymbolTable", "__contains__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": [null, null], "flags": [], "fullname": "jax.interpreters.pxla.DynamicAxisEnv.__contains__", "name": "__contains__", "type": null}}, "__getitem__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": [null, null], "flags": [], "fullname": "jax.interpreters.pxla.DynamicAxisEnv.__getitem__", "name": "__getitem__", "type": null}}, "nreps": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "jax.interpreters.pxla.DynamicAxisEnv.nreps", "name": "nreps", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "nreps", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["jax.interpreters.pxla.DynamicAxisEnv"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": "nreps of DynamicAxisEnv", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "sizes": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "jax.interpreters.pxla.DynamicAxisEnv.sizes", "name": "sizes", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "sizes", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["jax.interpreters.pxla.DynamicAxisEnv"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": "sizes of DynamicAxisEnv", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "DynamicAxisEnvFrame": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla.DynamicAxisEnvFrame", "name": "DynamicAxisEnvFrame", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax.interpreters.pxla.DynamicAxisEnvFrame", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla.DynamicAxisEnvFrame", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["self", "name", "pmap_trace", "hard_size"], "flags": [], "fullname": "jax.interpreters.pxla.DynamicAxisEnvFrame.__init__", "name": "__init__", "type": null}}, "__slots__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "has_explicit_value", "allow_incompatible_override"], "fullname": "jax.interpreters.pxla.DynamicAxisEnvFrame.__slots__", "name": "__slots__", "type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}}}, "hard_size": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.DynamicAxisEnvFrame.hard_size", "name": "hard_size", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "name": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.DynamicAxisEnvFrame.name", "name": "name", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "pmap_trace": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.DynamicAxisEnvFrame.pmap_trace", "name": "pmap_trace", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}, "slots": ["hard_size", "name", "pmap_trace"], "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "EMPTY_ENV": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax.interpreters.pxla.EMPTY_ENV", "name": "EMPTY_ENV", "type": {".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": "jax.interpreters.pxla.ResourceEnv"}}}, "ExecuteReplicated": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla.ExecuteReplicated", "name": "ExecuteReplicated", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax.interpreters.pxla.ExecuteReplicated", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla.ExecuteReplicated", "builtins.object"], "names": {".class": "SymbolTable", "__call__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 2], "arg_names": ["self", "args"], "flags": ["is_decorated"], "fullname": "jax.interpreters.pxla.ExecuteReplicated.__call__", "name": "__call__", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "__call__", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}, "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 0, 0], "arg_names": ["self", "xla_executable", "backend", "in_handler", "out_handler", "unordered_effects", "keepalive"], "flags": [], "fullname": "jax.interpreters.pxla.ExecuteReplicated.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0, 0, 0, 0], "arg_names": ["self", "xla_executable", "backend", "in_handler", "out_handler", "unordered_effects", "keepalive"], "arg_types": ["jax.interpreters.pxla.ExecuteReplicated", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "jax.interpreters.pxla.InputsHandler", "jax.interpreters.pxla.ResultsHandler", {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.list"}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of ExecuteReplicated", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "__slots__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "has_explicit_value", "allow_incompatible_override"], "fullname": "jax.interpreters.pxla.ExecuteReplicated.__slots__", "name": "__slots__", "type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}}}, "backend": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.ExecuteReplicated.backend", "name": "backend", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "has_unordered_effects": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.ExecuteReplicated.has_unordered_effects", "name": "has_unordered_effects", "type": "builtins.bool"}}, "in_handler": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.ExecuteReplicated.in_handler", "name": "in_handler", "type": "jax.interpreters.pxla.InputsHandler"}}, "keepalive": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.ExecuteReplicated.keepalive", "name": "keepalive", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}, "out_handler": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.ExecuteReplicated.out_handler", "name": "out_handler", "type": "jax.interpreters.pxla.ResultsHandler"}}, "xla_executable": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.ExecuteReplicated.xla_executable", "name": "xla_executable", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}, "slots": ["backend", "has_unordered_effects", "in_handler", "keepalive", "out_handler", "xla_executable"], "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "FrozenSet": {".class": "SymbolTableNode", "cross_ref": "typing.FrozenSet", "kind": "Gdef"}, "Index": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "jax.interpreters.pxla.Index", "line": 103, "no_args": false, "normalized": false, "target": {".class": "UnionType", "items": ["builtins.int", "builtins.slice", {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", "builtins.slice"]}], "type_ref": "builtins.tuple"}]}}}, "InputsHandler": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla.InputsHandler", "name": "InputsHandler", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax.interpreters.pxla.InputsHandler", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla.InputsHandler", "builtins.object"], "names": {".class": "SymbolTable", "__call__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "input_buffers"], "flags": [], "fullname": "jax.interpreters.pxla.InputsHandler.__call__", "name": "__call__", "type": null}}, "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0], "arg_names": ["self", "local_devices", "in_shardings", "input_indices", "mode"], "flags": [], "fullname": "jax.interpreters.pxla.InputsHandler.__init__", "name": "__init__", "type": null}}, "__slots__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "has_explicit_value", "allow_incompatible_override"], "fullname": "jax.interpreters.pxla.InputsHandler.__slots__", "name": "__slots__", "type": {".class": "TupleType", "implicit": false, "items": ["builtins.str", "builtins.str", "builtins.str", "builtins.str", "builtins.str"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}}}, "__str__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": [null], "flags": [], "fullname": "jax.interpreters.pxla.InputsHandler.__str__", "name": "__str__", "type": null}}, "handler": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.InputsHandler.handler", "name": "handler", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "in_shardings": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.InputsHandler.in_shardings", "name": "in_shardings", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "input_indices": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.InputsHandler.input_indices", "name": "input_indices", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "local_devices": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.InputsHandler.local_devices", "name": "local_devices", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "mode": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.InputsHandler.mode", "name": "mode", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}, "slots": ["handler", "in_shardings", "input_indices", "local_devices", "mode"], "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "InputsHandlerMode": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["enum.Enum"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla.InputsHandlerMode", "name": "InputsHandlerMode", "type_vars": []}, "deletable_attributes": [], "flags": ["is_enum"], "fullname": "jax.interpreters.pxla.InputsHandlerMode", "has_param_spec_type": false, "metaclass_type": "enum.EnumMeta", "metadata": {}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla.InputsHandlerMode", "enum.Enum", "builtins.object"], "names": {".class": "SymbolTable", "pjit_or_xmap": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_final", "is_ready", "has_explicit_value"], "fullname": "jax.interpreters.pxla.InputsHandlerMode.pjit_or_xmap", "name": "pjit_or_xmap", "type": {".class": "Instance", "args": [], "last_known_value": {".class": "LiteralType", "fallback": "builtins.int", "value": 1}, "type_ref": "builtins.int"}}}, "pmap": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_final", "is_ready", "has_explicit_value"], "fullname": "jax.interpreters.pxla.InputsHandlerMode.pmap", "name": "pmap", "type": {".class": "Instance", "args": [], "last_known_value": {".class": "LiteralType", "fallback": "builtins.int", "value": 0}, "type_ref": "builtins.int"}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Iterable": {".class": "SymbolTableNode", "cross_ref": "typing.Iterable", "kind": "Gdef"}, "JAXTypeError": {".class": "SymbolTableNode", "cross_ref": "jax._src.errors.JAXTypeError", "kind": "Gdef"}, "List": {".class": "SymbolTableNode", "cross_ref": "typing.List", "kind": "Gdef"}, "Mapping": {".class": "SymbolTableNode", "cross_ref": "typing.Mapping", "kind": "Gdef"}, "Mesh": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["contextlib.ContextDecorator"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla.Mesh", "name": "Mesh", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax.interpreters.pxla.Mesh", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla.Mesh", "contextlib.ContextDecorator", "builtins.object"], "names": {".class": "SymbolTable", "__enter__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": [null], "flags": [], "fullname": "jax.interpreters.pxla.Mesh.__enter__", "name": "__enter__", "type": null}}, "__eq__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": [null, null], "flags": [], "fullname": "jax.interpreters.pxla.Mesh.__eq__", "name": "__eq__", "type": null}}, "__exit__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": [null, null, null, null], "flags": [], "fullname": "jax.interpreters.pxla.Mesh.__exit__", "name": "__exit__", "type": null}}, "__hash__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax.interpreters.pxla.Mesh.__hash__", "name": "__hash__", "type": null}}, "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "devices", "axis_names"], "flags": [], "fullname": "jax.interpreters.pxla.Mesh.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["self", "devices", "axis_names"], "arg_types": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}], "type_ref": "numpy.ndarray"}, {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.MeshAxisName"}], "type_ref": "typing.Sequence"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of Mesh", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "__repr__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": [null], "flags": [], "fullname": "jax.interpreters.pxla.Mesh.__repr__", "name": "__repr__", "type": null}}, "__setattr__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "name", "value"], "flags": [], "fullname": "jax.interpreters.pxla.Mesh.__setattr__", "name": "__setattr__", "type": null}}, "_global_to_local": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "axes", "aval"], "flags": [], "fullname": "jax.interpreters.pxla.Mesh._global_to_local", "name": "_global_to_local", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["self", "axes", "aval"], "arg_types": ["jax.interpreters.pxla.Mesh", {".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.ArrayMapping"}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_global_to_local of Mesh", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "_hash": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.Mesh._hash", "name": "_hash", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "_local_mesh": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "process_index"], "flags": [], "fullname": "jax.interpreters.pxla.Mesh._local_mesh", "name": "_local_mesh", "type": null}}, "_local_to_global": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "axes", "aval"], "flags": [], "fullname": "jax.interpreters.pxla.Mesh._local_to_global", "name": "_local_to_global", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["self", "axes", "aval"], "arg_types": ["jax.interpreters.pxla.Mesh", {".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.ArrayMapping"}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_local_to_global of Mesh", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "axis_names": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.Mesh.axis_names", "name": "axis_names", "type": {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.MeshAxisName"}], "type_ref": "builtins.tuple"}}}, "device_ids": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "jax.interpreters.pxla.Mesh.device_ids", "name": "device_ids", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "device_ids", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["jax.interpreters.pxla.Mesh"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": "device_ids of Mesh", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "devices": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.Mesh.devices", "name": "devices", "type": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}], "type_ref": "numpy.ndarray"}}}, "empty": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "jax.interpreters.pxla.Mesh.empty", "name": "empty", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "empty", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["jax.interpreters.pxla.Mesh"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": "empty of Mesh", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "is_multi_process": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "jax.interpreters.pxla.Mesh.is_multi_process", "name": "is_multi_process", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "is_multi_process", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["jax.interpreters.pxla.Mesh"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": "is_multi_process of Mesh", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "local_devices": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "jax.interpreters.pxla.Mesh.local_devices", "name": "local_devices", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "local_devices", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["jax.interpreters.pxla.Mesh"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": "local_devices of Mesh", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "local_mesh": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "jax.interpreters.pxla.Mesh.local_mesh", "name": "local_mesh", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "local_mesh", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["jax.interpreters.pxla.Mesh"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": "local_mesh of Mesh", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "shape": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "jax.interpreters.pxla.Mesh.shape", "name": "shape", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "shape", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["jax.interpreters.pxla.Mesh"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": "shape of Mesh", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "size": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "jax.interpreters.pxla.Mesh.size", "name": "size", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "size", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["jax.interpreters.pxla.Mesh"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": "size of Mesh", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "MeshAxisName": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "jax.interpreters.pxla.MeshAxisName", "line": 117, "no_args": false, "normalized": false, "target": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}}}, "MeshComputation": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["jax._src.stages.XlaLowering"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla.MeshComputation", "name": "MeshComputation", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax.interpreters.pxla.MeshComputation", "has_param_spec_type": false, "metaclass_type": "abc.ABCMeta", "metadata": {}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla.MeshComputation", "jax._src.stages.XlaLowering", "jax._src.stages.Lowering", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 4], "arg_names": ["self", "name", "hlo", "donated_invars", "compile_args"], "flags": [], "fullname": "jax.interpreters.pxla.MeshComputation.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0, 4], "arg_names": ["self", "name", "hlo", "donated_invars", "compile_args"], "arg_types": ["jax.interpreters.pxla.MeshComputation", "builtins.str", {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": "jax._src.lib.mlir.ir", "source_any": null, "type_of_any": 3}, "jaxlib.xla_extension.XlaComputation"]}, {".class": "Instance", "args": ["builtins.bool"], "type_ref": "typing.Sequence"}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of MeshComputation", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "_donated_invars": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.MeshComputation._donated_invars", "name": "_donated_invars", "type": {".class": "Instance", "args": ["builtins.bool"], "type_ref": "typing.Sequence"}}}, "_executable": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.MeshComputation._executable", "name": "_executable", "type": {".class": "UnionType", "items": ["jax.interpreters.pxla.MeshExecutable", {".class": "NoneType"}]}}}, "_hlo": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.MeshComputation._hlo", "name": "_hlo", "type": {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": "jax._src.lib.mlir.ir", "source_any": null, "type_of_any": 3}, "jaxlib.xla_extension.XlaComputation"]}}}, "_name": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.MeshComputation._name", "name": "_name", "type": "builtins.str"}}, "compile": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1], "arg_names": ["self", "_allow_propagation_to_outputs", "_allow_compile_replicated"], "flags": [], "fullname": "jax.interpreters.pxla.MeshComputation.compile", "name": "compile", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1], "arg_names": ["self", "_allow_propagation_to_outputs", "_allow_compile_replicated"], "arg_types": ["jax.interpreters.pxla.MeshComputation", "builtins.bool", "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "compile of MeshComputation", "ret_type": "jax.interpreters.pxla.MeshExecutable", "type_guard": null, "variables": []}}}, "compile_args": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.MeshComputation.compile_args", "name": "compile_args", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "type_ref": "builtins.dict"}}}, "hlo": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax.interpreters.pxla.MeshComputation.hlo", "name": "hlo", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["jax.interpreters.pxla.MeshComputation"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "hlo of MeshComputation", "ret_type": "jaxlib.xla_extension.XlaComputation", "type_guard": null, "variables": []}}}, "mhlo": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax.interpreters.pxla.MeshComputation.mhlo", "name": "mhlo", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["jax.interpreters.pxla.MeshComputation"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "mhlo of MeshComputation", "ret_type": {".class": "AnyType", "missing_import_name": "jax._src.lib.mlir.ir", "source_any": null, "type_of_any": 3}, "type_guard": null, "variables": []}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "MeshDimAssignment": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "jax.interpreters.pxla.MeshDimAssignment", "line": 114, "no_args": false, "normalized": false, "target": {".class": "UnionType", "items": ["jaxlib.xla_extension.pmap_lib.ShardedAxis", "jaxlib.xla_extension.pmap_lib.Replicated"]}}}, "MeshExecutable": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["jax._src.stages.XlaExecutable"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla.MeshExecutable", "name": "MeshExecutable", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax.interpreters.pxla.MeshExecutable", "has_param_spec_type": false, "metaclass_type": "abc.ABCMeta", "metadata": {}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla.MeshExecutable", "jax._src.stages.XlaExecutable", "jax._src.stages.Executable", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 0, 0], "arg_names": ["self", "xla_executable", "unsafe_call", "input_avals", "in_shardings", "out_shardings", "auto_spmd_lowering"], "flags": [], "fullname": "jax.interpreters.pxla.MeshExecutable.__init__", "name": "__init__", "type": null}}, "__slots__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "has_explicit_value", "allow_incompatible_override"], "fullname": "jax.interpreters.pxla.MeshExecutable.__slots__", "name": "__slots__", "type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}}}, "_auto_spmd_lowering": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.MeshExecutable._auto_spmd_lowering", "name": "_auto_spmd_lowering", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "_in_shardings": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.MeshExecutable._in_shardings", "name": "_in_shardings", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "_input_avals": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.MeshExecutable._input_avals", "name": "_input_avals", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "_out_shardings": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.MeshExecutable._out_shardings", "name": "_out_shardings", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "call": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 2], "arg_names": ["self", "args"], "flags": [], "fullname": "jax.interpreters.pxla.MeshExecutable.call", "name": "call", "type": null}}, "from_hlo": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "arg_names": ["name", "computation", "mesh", "global_in_avals", "global_out_avals", "in_shardings", "out_shardings", "spmd_lowering", "tuple_args", "in_is_global", "auto_spmd_lowering", "_allow_propagation_to_outputs", "_allow_compile_replicated", "unordered_effects", "host_callbacks", "keepalive"], "flags": ["is_static", "is_decorated"], "fullname": "jax.interpreters.pxla.MeshExecutable.from_hlo", "name": "from_hlo", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "arg_names": ["name", "computation", "mesh", "global_in_avals", "global_out_avals", "in_shardings", "out_shardings", "spmd_lowering", "tuple_args", "in_is_global", "auto_spmd_lowering", "_allow_propagation_to_outputs", "_allow_compile_replicated", "unordered_effects", "host_callbacks", "keepalive"], "arg_types": ["builtins.str", {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": "jax._src.lib.mlir.ir", "source_any": null, "type_of_any": 3}, "jaxlib.xla_extension.XlaComputation"]}, {".class": "UnionType", "items": ["jax.interpreters.pxla.Mesh", {".class": "NoneType"}]}, {".class": "Instance", "args": ["jax.core.ShapedArray"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.ShapedArray"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": [{".class": "UnionType", "items": ["jax.experimental.sharding.XLACompatibleSharding", "jax.interpreters.pxla._AUTOAxisResource"]}], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": [{".class": "UnionType", "items": ["jax.experimental.sharding.XLACompatibleSharding", "jax.interpreters.pxla._AUTOAxisResource", "jax.interpreters.pxla._UnspecifiedValue"]}], "type_ref": "typing.Sequence"}, "builtins.bool", "builtins.bool", {".class": "Instance", "args": ["builtins.bool"], "type_ref": "typing.Sequence"}, "builtins.bool", "builtins.bool", "builtins.bool", {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.list"}, {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "builtins.list"}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "from_hlo of MeshExecutable", "ret_type": "jax.interpreters.pxla.MeshExecutable", "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_staticmethod", "is_ready"], "fullname": null, "name": "from_hlo", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "arg_names": ["name", "computation", "mesh", "global_in_avals", "global_out_avals", "in_shardings", "out_shardings", "spmd_lowering", "tuple_args", "in_is_global", "auto_spmd_lowering", "_allow_propagation_to_outputs", "_allow_compile_replicated", "unordered_effects", "host_callbacks", "keepalive"], "arg_types": ["builtins.str", {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": "jax._src.lib.mlir.ir", "source_any": null, "type_of_any": 3}, "jaxlib.xla_extension.XlaComputation"]}, {".class": "UnionType", "items": ["jax.interpreters.pxla.Mesh", {".class": "NoneType"}]}, {".class": "Instance", "args": ["jax.core.ShapedArray"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.ShapedArray"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": [{".class": "UnionType", "items": ["jax.experimental.sharding.XLACompatibleSharding", "jax.interpreters.pxla._AUTOAxisResource"]}], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": [{".class": "UnionType", "items": ["jax.experimental.sharding.XLACompatibleSharding", "jax.interpreters.pxla._AUTOAxisResource", "jax.interpreters.pxla._UnspecifiedValue"]}], "type_ref": "typing.Sequence"}, "builtins.bool", "builtins.bool", {".class": "Instance", "args": ["builtins.bool"], "type_ref": "typing.Sequence"}, "builtins.bool", "builtins.bool", "builtins.bool", {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.list"}, {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "builtins.list"}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "from_hlo of MeshExecutable", "ret_type": "jax.interpreters.pxla.MeshExecutable", "type_guard": null, "variables": []}}}}, "unsafe_call": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.MeshExecutable.unsafe_call", "name": "unsafe_call", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "xla_executable": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.MeshExecutable.xla_executable", "name": "xla_executable", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "xla_extension_executable": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax.interpreters.pxla.MeshExecutable.xla_extension_executable", "name": "xla_extension_executable", "type": null}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "MeshPspecSharding": {".class": "SymbolTableNode", "cross_ref": "jax.experimental.sharding.MeshPspecSharding", "kind": "Gdef"}, "NamedTuple": {".class": "SymbolTableNode", "cross_ref": "typing.NamedTuple", "kind": "Gdef"}, "NoSharding": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "jax.interpreters.pxla.NoSharding", "line": 105, "no_args": true, "normalized": false, "target": "jaxlib.xla_extension.pmap_lib.NoSharding"}}, "OpShardingType": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "jax.interpreters.pxla.OpShardingType", "line": 118, "no_args": false, "normalized": false, "target": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}}}, "Optional": {".class": "SymbolTableNode", "cross_ref": "typing.Optional", "kind": "Gdef"}, "OrderedDict": {".class": "SymbolTableNode", "cross_ref": "collections.OrderedDict", "kind": "Gdef"}, "OrderedDictType": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 2, "fullname": "jax.interpreters.pxla.OrderedDictType", "line": 97, "no_args": true, "normalized": true, "target": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}], "type_ref": "builtins.dict"}}}, "OutputType": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["enum.Enum"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla.OutputType", "name": "OutputType", "type_vars": []}, "deletable_attributes": [], "flags": ["is_enum"], "fullname": "jax.interpreters.pxla.OutputType", "has_param_spec_type": false, "metaclass_type": "enum.EnumMeta", "metadata": {}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla.OutputType", "enum.Enum", "builtins.object"], "names": {".class": "SymbolTable", "Array": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_final", "is_ready", "has_explicit_value"], "fullname": "jax.interpreters.pxla.OutputType.Array", "name": "Array", "type": {".class": "Instance", "args": [], "last_known_value": {".class": "LiteralType", "fallback": "builtins.int", "value": 0}, "type_ref": "builtins.int"}}}, "GlobalDeviceArray": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_final", "is_ready", "has_explicit_value"], "fullname": "jax.interpreters.pxla.OutputType.GlobalDeviceArray", "name": "GlobalDeviceArray", "type": {".class": "Instance", "args": [], "last_known_value": {".class": "LiteralType", "fallback": "builtins.int", "value": 1}, "type_ref": "builtins.int"}}}, "ShardedDeviceArray": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_final", "is_ready", "has_explicit_value"], "fullname": "jax.interpreters.pxla.OutputType.ShardedDeviceArray", "name": "ShardedDeviceArray", "type": {".class": "Instance", "args": [], "last_known_value": {".class": "LiteralType", "fallback": "builtins.int", "value": 2}, "type_ref": "builtins.int"}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "ParallelCallableInfo": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla.ParallelCallableInfo", "name": "ParallelCallableInfo", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax.interpreters.pxla.ParallelCallableInfo", "has_param_spec_type": false, "metaclass_type": null, "metadata": {"dataclass": {"attributes": [{"column": 2, "has_default": false, "is_in_init": true, "is_init_var": false, "kw_only": false, "line": 944, "name": "name", "type": "builtins.str"}, {"column": 2, "has_default": false, "is_in_init": true, "is_init_var": false, "kw_only": false, "line": 945, "name": "backend", "type": "jaxlib.xla_extension.Client"}, {"column": 2, "has_default": false, "is_in_init": true, "is_init_var": false, "kw_only": false, "line": 946, "name": "axis_name", "type": "typing.Hashable"}, {"column": 2, "has_default": false, "is_in_init": true, "is_init_var": false, "kw_only": false, "line": 947, "name": "axis_size", "type": "builtins.int"}, {"column": 2, "has_default": false, "is_in_init": true, "is_init_var": false, "kw_only": false, "line": 948, "name": "global_axis_size", "type": {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}}, {"column": 2, "has_default": false, "is_in_init": true, "is_init_var": false, "kw_only": false, "line": 949, "name": "devices", "type": {".class": "UnionType", "items": [{".class": "Instance", "args": ["jaxlib.xla_extension.Device"], "type_ref": "typing.Sequence"}, {".class": "NoneType"}]}}, {"column": 2, "has_default": false, "is_in_init": true, "is_init_var": false, "kw_only": false, "line": 950, "name": "in_axes", "type": {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "type_ref": "typing.Iterable"}}, {"column": 2, "has_default": false, "is_in_init": true, "is_init_var": false, "kw_only": false, "line": 951, "name": "out_axes_thunk", "type": {".class": "CallableType", "arg_kinds": [], "arg_names": [], "arg_types": [], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": null, "ret_type": {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "type_ref": "typing.Sequence"}, "type_guard": null, "variables": []}}, {"column": 2, "has_default": false, "is_in_init": true, "is_init_var": false, "kw_only": false, "line": 952, "name": "avals", "type": {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}}], "frozen": true}, "dataclass_tag": {}}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla.ParallelCallableInfo", "builtins.object"], "names": {".class": "SymbolTable", "__dataclass_fields__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "jax.interpreters.pxla.ParallelCallableInfo.__dataclass_fields__", "name": "__dataclass_fields__", "type": {".class": "Instance", "args": ["builtins.str", {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "dataclasses.Field"}], "type_ref": "builtins.dict"}}, "plugin_generated": true}, "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "arg_names": ["self", "name", "backend", "axis_name", "axis_size", "global_axis_size", "devices", "in_axes", "out_axes_thunk", "avals"], "flags": [], "fullname": "jax.interpreters.pxla.ParallelCallableInfo.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "arg_names": ["self", "name", "backend", "axis_name", "axis_size", "global_axis_size", "devices", "in_axes", "out_axes_thunk", "avals"], "arg_types": ["jax.interpreters.pxla.ParallelCallableInfo", "builtins.str", "jaxlib.xla_extension.Client", "typing.Hashable", "builtins.int", {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": ["jaxlib.xla_extension.Device"], "type_ref": "typing.Sequence"}, {".class": "NoneType"}]}, {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "type_ref": "typing.Iterable"}, {".class": "CallableType", "arg_kinds": [], "arg_names": [], "arg_types": [], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": null, "ret_type": {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "type_ref": "typing.Sequence"}, "type_guard": null, "variables": []}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of ParallelCallableInfo", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}, "plugin_generated": true}, "__match_args__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_ready", "allow_incompatible_override"], "fullname": "jax.interpreters.pxla.ParallelCallableInfo.__match_args__", "name": "__match_args__", "type": {".class": "TupleType", "implicit": false, "items": [{".class": "LiteralType", "fallback": "builtins.str", "value": "name"}, {".class": "LiteralType", "fallback": "builtins.str", "value": "backend"}, {".class": "LiteralType", "fallback": "builtins.str", "value": "axis_name"}, {".class": "LiteralType", "fallback": "builtins.str", "value": "axis_size"}, {".class": "LiteralType", "fallback": "builtins.str", "value": "global_axis_size"}, {".class": "LiteralType", "fallback": "builtins.str", "value": "devices"}, {".class": "LiteralType", "fallback": "builtins.str", "value": "in_axes"}, {".class": "LiteralType", "fallback": "builtins.str", "value": "out_axes_thunk"}, {".class": "LiteralType", "fallback": "builtins.str", "value": "avals"}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}}, "plugin_generated": true}, "avals": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": "jax.interpreters.pxla.ParallelCallableInfo.avals", "name": "avals", "type": {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}}}, "axis_name": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": "jax.interpreters.pxla.ParallelCallableInfo.axis_name", "name": "axis_name", "type": "typing.Hashable"}}, "axis_size": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": "jax.interpreters.pxla.ParallelCallableInfo.axis_size", "name": "axis_size", "type": "builtins.int"}}, "backend": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": "jax.interpreters.pxla.ParallelCallableInfo.backend", "name": "backend", "type": "jaxlib.xla_extension.Client"}}, "devices": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": "jax.interpreters.pxla.ParallelCallableInfo.devices", "name": "devices", "type": {".class": "UnionType", "items": [{".class": "Instance", "args": ["jaxlib.xla_extension.Device"], "type_ref": "typing.Sequence"}, {".class": "NoneType"}]}}}, "global_axis_size": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": "jax.interpreters.pxla.ParallelCallableInfo.global_axis_size", "name": "global_axis_size", "type": {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}}}, "in_axes": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": "jax.interpreters.pxla.ParallelCallableInfo.in_axes", "name": "in_axes", "type": {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "type_ref": "typing.Iterable"}}}, "local_devices": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "jax.interpreters.pxla.ParallelCallableInfo.local_devices", "name": "local_devices", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "local_devices", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["jax.interpreters.pxla.ParallelCallableInfo"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": "local_devices of ParallelCallableInfo", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "name": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": "jax.interpreters.pxla.ParallelCallableInfo.name", "name": "name", "type": "builtins.str"}}, "out_axes": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "jax.interpreters.pxla.ParallelCallableInfo.out_axes", "name": "out_axes", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "out_axes", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["jax.interpreters.pxla.ParallelCallableInfo"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": "out_axes of ParallelCallableInfo", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "out_axes_thunk": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_property", "is_ready"], "fullname": "jax.interpreters.pxla.ParallelCallableInfo.out_axes_thunk", "name": "out_axes_thunk", "type": {".class": "CallableType", "arg_kinds": [], "arg_names": [], "arg_types": [], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": null, "ret_type": {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "type_ref": "typing.Sequence"}, "type_guard": null, "variables": []}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "PartitionInfo": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": [{".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}]}], "type_ref": "builtins.tuple"}], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla.PartitionInfo", "name": "PartitionInfo", "type_vars": []}, "deletable_attributes": [], "flags": ["is_named_tuple"], "fullname": "jax.interpreters.pxla.PartitionInfo", "has_param_spec_type": false, "metaclass_type": null, "metadata": {"namedtuple": {"fields": ["arg_parts", "out_parts", "num_partitions", "local_arg_parts", "local_out_parts", "local_num_partitions"]}}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla.PartitionInfo", "builtins.tuple", "typing.Sequence", "typing.Collection", "typing.Reversible", "typing.Iterable", "typing.Container", "builtins.object"], "names": {".class": "SymbolTable", "_NT": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "TypeVarExpr", "fullname": "jax.interpreters.pxla.PartitionInfo._NT", "name": "_NT", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, "builtins.int", {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "partial_fallback": {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}]}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}}, "__annotations__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.PartitionInfo.__annotations__", "name": "__annotations__", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}}}, "__doc__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.PartitionInfo.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__match_args__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.PartitionInfo.__match_args__", "name": "__match_args__", "type": {".class": "TupleType", "implicit": false, "items": [{".class": "LiteralType", "fallback": "builtins.str", "value": "arg_parts"}, {".class": "LiteralType", "fallback": "builtins.str", "value": "out_parts"}, {".class": "LiteralType", "fallback": "builtins.str", "value": "num_partitions"}, {".class": "LiteralType", "fallback": "builtins.str", "value": "local_arg_parts"}, {".class": "LiteralType", "fallback": "builtins.str", "value": "local_out_parts"}, {".class": "LiteralType", "fallback": "builtins.str", "value": "local_num_partitions"}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}}}, "__new__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 0, 0], "arg_names": ["_cls", "arg_parts", "out_parts", "num_partitions", "local_arg_parts", "local_out_parts", "local_num_partitions"], "flags": [], "fullname": "jax.interpreters.pxla.PartitionInfo.__new__", "name": "__new__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0, 0, 0, 0], "arg_names": ["_cls", "arg_parts", "out_parts", "num_partitions", "local_arg_parts", "local_out_parts", "local_num_partitions"], "arg_types": [{".class": "TypeType", "item": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.PartitionInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, "builtins.int", {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "partial_fallback": {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}]}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, "builtins.int", {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__new__ of PartitionInfo", "ret_type": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.PartitionInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, "builtins.int", {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "partial_fallback": {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}]}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.PartitionInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, "builtins.int", {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "partial_fallback": {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}]}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}, "plugin_generated": true}, "_asdict": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["_self"], "flags": [], "fullname": "jax.interpreters.pxla.PartitionInfo._asdict", "name": "_asdict", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["_self"], "arg_types": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.PartitionInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, "builtins.int", {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "partial_fallback": {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}]}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_asdict of PartitionInfo", "ret_type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.PartitionInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, "builtins.int", {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "partial_fallback": {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}]}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}, "plugin_generated": true}, "_field_defaults": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.PartitionInfo._field_defaults", "name": "_field_defaults", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}}}, "_field_types": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.PartitionInfo._field_types", "name": "_field_types", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}}}, "_fields": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.PartitionInfo._fields", "name": "_fields", "type": {".class": "TupleType", "implicit": false, "items": ["builtins.str", "builtins.str", "builtins.str", "builtins.str", "builtins.str", "builtins.str"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}}}, "_make": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 5, 5], "arg_names": ["_cls", "iterable", "new", "len"], "flags": ["is_class", "is_decorated"], "fullname": "jax.interpreters.pxla.PartitionInfo._make", "name": "_make", "type": {".class": "CallableType", "arg_kinds": [0, 0, 5, 5], "arg_names": ["_cls", "iterable", "new", "len"], "arg_types": [{".class": "TypeType", "item": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.PartitionInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, "builtins.int", {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "partial_fallback": {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}]}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}}, {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "typing.Iterable"}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_make of PartitionInfo", "ret_type": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.PartitionInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, "builtins.int", {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "partial_fallback": {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}]}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.PartitionInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, "builtins.int", {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "partial_fallback": {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}]}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_classmethod", "is_ready"], "fullname": "jax.interpreters.pxla.PartitionInfo._make", "name": "_make", "type": {".class": "CallableType", "arg_kinds": [0, 0, 5, 5], "arg_names": ["_cls", "iterable", "new", "len"], "arg_types": [{".class": "TypeType", "item": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.PartitionInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, "builtins.int", {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "partial_fallback": {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}]}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}}, {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "typing.Iterable"}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_make of PartitionInfo", "ret_type": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.PartitionInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, "builtins.int", {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "partial_fallback": {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}]}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.PartitionInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, "builtins.int", {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "partial_fallback": {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}]}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}}, "plugin_generated": true}, "_replace": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 5, 5, 5, 5, 5, 5], "arg_names": ["_self", "arg_parts", "out_parts", "num_partitions", "local_arg_parts", "local_out_parts", "local_num_partitions"], "flags": [], "fullname": "jax.interpreters.pxla.PartitionInfo._replace", "name": "_replace", "type": {".class": "CallableType", "arg_kinds": [0, 5, 5, 5, 5, 5, 5], "arg_names": ["_self", "arg_parts", "out_parts", "num_partitions", "local_arg_parts", "local_out_parts", "local_num_partitions"], "arg_types": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.PartitionInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, "builtins.int", {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "partial_fallback": {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}]}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, "builtins.int", {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_replace of PartitionInfo", "ret_type": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.PartitionInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, "builtins.int", {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "partial_fallback": {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}]}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.PartitionInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, "builtins.int", {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "partial_fallback": {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}]}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}, "plugin_generated": true}, "_source": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.PartitionInfo._source", "name": "_source", "type": "builtins.str"}}, "arg_parts": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_property", "is_ready"], "fullname": "jax.interpreters.pxla.PartitionInfo.arg_parts", "name": "arg_parts", "type": {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}}}, "arg_parts-redefinition": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.pxla.PartitionInfo.arg_parts", "kind": "Mdef"}, "local_arg_parts": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_property", "is_ready"], "fullname": "jax.interpreters.pxla.PartitionInfo.local_arg_parts", "name": "local_arg_parts", "type": {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}}}, "local_arg_parts-redefinition": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.pxla.PartitionInfo.local_arg_parts", "kind": "Mdef"}, "local_num_partitions": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_property", "is_ready"], "fullname": "jax.interpreters.pxla.PartitionInfo.local_num_partitions", "name": "local_num_partitions", "type": {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}}}, "local_num_partitions-redefinition": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.pxla.PartitionInfo.local_num_partitions", "kind": "Mdef"}, "local_out_parts": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_property", "is_ready"], "fullname": "jax.interpreters.pxla.PartitionInfo.local_out_parts", "name": "local_out_parts", "type": {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}}}, "local_out_parts-redefinition": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.pxla.PartitionInfo.local_out_parts", "kind": "Mdef"}, "num_partitions": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_property", "is_ready"], "fullname": "jax.interpreters.pxla.PartitionInfo.num_partitions", "name": "num_partitions", "type": "builtins.int"}}, "num_partitions-redefinition": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.pxla.PartitionInfo.num_partitions", "kind": "Mdef"}, "out_parts": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_property", "is_ready"], "fullname": "jax.interpreters.pxla.PartitionInfo.out_parts", "name": "out_parts", "type": {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}}}, "out_parts-redefinition": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.pxla.PartitionInfo.out_parts", "kind": "Mdef"}}, "slots": null, "tuple_type": {".class": "TupleType", "implicit": false, "items": [{".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, "builtins.int", {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "partial_fallback": {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}]}], "type_ref": "builtins.tuple"}}, "type_vars": [], "typeddict_type": null}}, "PartitionSpec": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": [{".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}], "type_ref": "builtins.tuple"}], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla.PartitionSpec", "name": "PartitionSpec", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax.interpreters.pxla.PartitionSpec", "has_param_spec_type": false, "metaclass_type": "abc.ABCMeta", "metadata": {}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla.PartitionSpec", "builtins.tuple", "typing.Sequence", "typing.Collection", "typing.Reversible", "typing.Iterable", "typing.Container", "builtins.object"], "names": {".class": "SymbolTable", "UNCONSTRAINED": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "has_explicit_value"], "fullname": "jax.interpreters.pxla.PartitionSpec.UNCONSTRAINED", "name": "UNCONSTRAINED", "type": "jax.interpreters.pxla._UnconstrainedPartitionSingleton"}}, "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 2], "arg_names": ["self", "partitions"], "flags": [], "fullname": "jax.interpreters.pxla.PartitionSpec.__init__", "name": "__init__", "type": null}}, "__new__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 2], "arg_names": ["cls", "partitions"], "flags": [], "fullname": "jax.interpreters.pxla.PartitionSpec.__new__", "name": "__new__", "type": null}}, "__reduce__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax.interpreters.pxla.PartitionSpec.__reduce__", "name": "__reduce__", "type": null}}, "__repr__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": [null], "flags": [], "fullname": "jax.interpreters.pxla.PartitionSpec.__repr__", "name": "__repr__", "type": null}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "PartitionsOrReplicated": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "jax.interpreters.pxla.PartitionsOrReplicated", "line": 1387, "no_args": false, "normalized": false, "target": {".class": "UnionType", "items": [{".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}}}, "PmapComputation": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["jax._src.stages.XlaLowering"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla.PmapComputation", "name": "PmapComputation", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax.interpreters.pxla.PmapComputation", "has_param_spec_type": false, "metaclass_type": "abc.ABCMeta", "metadata": {}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla.PmapComputation", "jax._src.stages.XlaLowering", "jax._src.stages.Lowering", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 4], "arg_names": ["self", "hlo", "compile_args"], "flags": [], "fullname": "jax.interpreters.pxla.PmapComputation.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 4], "arg_names": ["self", "hlo", "compile_args"], "arg_types": ["jax.interpreters.pxla.PmapComputation", {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": "jax._src.lib.mlir.ir", "source_any": null, "type_of_any": 3}, "jaxlib.xla_extension.XlaComputation"]}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of PmapComputation", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "_executable": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.PmapComputation._executable", "name": "_executable", "type": {".class": "UnionType", "items": ["jax.interpreters.pxla.PmapExecutable", {".class": "NoneType"}]}}}, "_hlo": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.PmapComputation._hlo", "name": "_hlo", "type": {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": "jax._src.lib.mlir.ir", "source_any": null, "type_of_any": 3}, "jaxlib.xla_extension.XlaComputation"]}}}, "compile": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "jax.interpreters.pxla.PmapComputation.compile", "name": "compile", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["jax.interpreters.pxla.PmapComputation"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "compile of PmapComputation", "ret_type": "jax.interpreters.pxla.PmapExecutable", "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "compile", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}, "compile_args": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.PmapComputation.compile_args", "name": "compile_args", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "type_ref": "builtins.dict"}}}, "hlo": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax.interpreters.pxla.PmapComputation.hlo", "name": "hlo", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["jax.interpreters.pxla.PmapComputation"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "hlo of PmapComputation", "ret_type": "jaxlib.xla_extension.XlaComputation", "type_guard": null, "variables": []}}}, "mhlo": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax.interpreters.pxla.PmapComputation.mhlo", "name": "mhlo", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["jax.interpreters.pxla.PmapComputation"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "mhlo of PmapComputation", "ret_type": {".class": "AnyType", "missing_import_name": "jax._src.lib.mlir.ir", "source_any": null, "type_of_any": 3}, "type_guard": null, "variables": []}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "PmapExecutable": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["jax._src.stages.XlaExecutable"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla.PmapExecutable", "name": "PmapExecutable", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax.interpreters.pxla.PmapExecutable", "has_param_spec_type": false, "metaclass_type": "abc.ABCMeta", "metadata": {}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla.PmapExecutable", "jax._src.stages.XlaExecutable", "jax._src.stages.Executable", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0], "arg_names": ["self", "xla_executable", "unsafe_call", "fingerprint", "in_avals"], "flags": [], "fullname": "jax.interpreters.pxla.PmapExecutable.__init__", "name": "__init__", "type": null}}, "__slots__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "has_explicit_value", "allow_incompatible_override"], "fullname": "jax.interpreters.pxla.PmapExecutable.__slots__", "name": "__slots__", "type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}}}, "call": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 2], "arg_names": ["self", "args"], "flags": ["is_decorated"], "fullname": "jax.interpreters.pxla.PmapExecutable.call", "name": "call", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "call", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}, "fingerprint": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.PmapExecutable.fingerprint", "name": "fingerprint", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "from_hlo": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 0, 0, 0, 0], "arg_names": ["xla_computation", "pci", "replicas", "parts", "shards", "tuple_args", "unordered_effects", "host_callbacks", "keepalive"], "flags": ["is_static", "is_decorated"], "fullname": "jax.interpreters.pxla.PmapExecutable.from_hlo", "name": "from_hlo", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0, 0, 0, 0, 0, 0], "arg_names": ["xla_computation", "pci", "replicas", "parts", "shards", "tuple_args", "unordered_effects", "host_callbacks", "keepalive"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "jax.interpreters.pxla.ParallelCallableInfo", {".class": "TupleType", "implicit": false, "items": ["builtins.int", "builtins.int", "builtins.int"], "partial_fallback": "jax.interpreters.pxla.ReplicaInfo"}, {".class": "TupleType", "implicit": false, "items": [{".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, "builtins.int", {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "partial_fallback": "jax.interpreters.pxla.PartitionInfo"}, {".class": "TupleType", "implicit": false, "items": [{".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, "builtins.int", "builtins.int"], "partial_fallback": "jax.interpreters.pxla.ShardInfo"}, "builtins.bool", {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.list"}, {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "builtins.list"}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "from_hlo of PmapExecutable", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_staticmethod", "is_ready"], "fullname": null, "name": "from_hlo", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0, 0, 0, 0, 0, 0], "arg_names": ["xla_computation", "pci", "replicas", "parts", "shards", "tuple_args", "unordered_effects", "host_callbacks", "keepalive"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "jax.interpreters.pxla.ParallelCallableInfo", {".class": "TupleType", "implicit": false, "items": ["builtins.int", "builtins.int", "builtins.int"], "partial_fallback": "jax.interpreters.pxla.ReplicaInfo"}, {".class": "TupleType", "implicit": false, "items": [{".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, "builtins.int", {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "partial_fallback": "jax.interpreters.pxla.PartitionInfo"}, {".class": "TupleType", "implicit": false, "items": [{".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, "builtins.int", "builtins.int"], "partial_fallback": "jax.interpreters.pxla.ShardInfo"}, "builtins.bool", {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.list"}, {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "builtins.list"}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "from_hlo of PmapExecutable", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "in_avals": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.PmapExecutable.in_avals", "name": "in_avals", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "unsafe_call": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.PmapExecutable.unsafe_call", "name": "unsafe_call", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "xla_executable": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.PmapExecutable.xla_executable", "name": "xla_executable", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "xla_extension_executable": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax.interpreters.pxla.PmapExecutable.xla_extension_executable", "name": "xla_extension_executable", "type": null}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "PxlaResultHandler": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "jax.interpreters.pxla.PxlaResultHandler", "line": 564, "no_args": false, "normalized": false, "target": {".class": "CallableType", "arg_kinds": [2, 4], "arg_names": [null, null], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": true, "name": null, "ret_type": {".class": "CallableType", "arg_kinds": [0], "arg_names": [null], "arg_types": [{".class": "Instance", "args": ["jaxlib.xla_extension.DeviceArray"], "type_ref": "builtins.list"}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": null, "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}, "type_guard": null, "variables": []}, "type_guard": null, "variables": []}}}, "ReplicaInfo": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": [{".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla.ReplicaInfo", "name": "ReplicaInfo", "type_vars": []}, "deletable_attributes": [], "flags": ["is_named_tuple"], "fullname": "jax.interpreters.pxla.ReplicaInfo", "has_param_spec_type": false, "metaclass_type": null, "metadata": {"namedtuple": {"fields": ["jaxpr_replicas", "num_local_replicas", "num_global_replicas"]}}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla.ReplicaInfo", "builtins.tuple", "typing.Sequence", "typing.Collection", "typing.Reversible", "typing.Iterable", "typing.Container", "builtins.object"], "names": {".class": "SymbolTable", "_NT": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "TypeVarExpr", "fullname": "jax.interpreters.pxla.ReplicaInfo._NT", "name": "_NT", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["builtins.int", "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}}, "__annotations__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.ReplicaInfo.__annotations__", "name": "__annotations__", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}}}, "__doc__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.ReplicaInfo.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__match_args__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.ReplicaInfo.__match_args__", "name": "__match_args__", "type": {".class": "TupleType", "implicit": false, "items": [{".class": "LiteralType", "fallback": "builtins.str", "value": "jaxpr_replicas"}, {".class": "LiteralType", "fallback": "builtins.str", "value": "num_local_replicas"}, {".class": "LiteralType", "fallback": "builtins.str", "value": "num_global_replicas"}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}}}, "__new__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["_cls", "jaxpr_replicas", "num_local_replicas", "num_global_replicas"], "flags": [], "fullname": "jax.interpreters.pxla.ReplicaInfo.__new__", "name": "__new__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0], "arg_names": ["_cls", "jaxpr_replicas", "num_local_replicas", "num_global_replicas"], "arg_types": [{".class": "TypeType", "item": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ReplicaInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["builtins.int", "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}}, "builtins.int", "builtins.int", "builtins.int"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__new__ of ReplicaInfo", "ret_type": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ReplicaInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["builtins.int", "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ReplicaInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["builtins.int", "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}, "plugin_generated": true}, "_asdict": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["_self"], "flags": [], "fullname": "jax.interpreters.pxla.ReplicaInfo._asdict", "name": "_asdict", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["_self"], "arg_types": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ReplicaInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["builtins.int", "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_asdict of ReplicaInfo", "ret_type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ReplicaInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["builtins.int", "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}, "plugin_generated": true}, "_field_defaults": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.ReplicaInfo._field_defaults", "name": "_field_defaults", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}}}, "_field_types": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.ReplicaInfo._field_types", "name": "_field_types", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}}}, "_fields": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.ReplicaInfo._fields", "name": "_fields", "type": {".class": "TupleType", "implicit": false, "items": ["builtins.str", "builtins.str", "builtins.str"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}}}, "_make": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 5, 5], "arg_names": ["_cls", "iterable", "new", "len"], "flags": ["is_class", "is_decorated"], "fullname": "jax.interpreters.pxla.ReplicaInfo._make", "name": "_make", "type": {".class": "CallableType", "arg_kinds": [0, 0, 5, 5], "arg_names": ["_cls", "iterable", "new", "len"], "arg_types": [{".class": "TypeType", "item": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ReplicaInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["builtins.int", "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}}, {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "typing.Iterable"}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_make of ReplicaInfo", "ret_type": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ReplicaInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["builtins.int", "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ReplicaInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["builtins.int", "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_classmethod", "is_ready"], "fullname": "jax.interpreters.pxla.ReplicaInfo._make", "name": "_make", "type": {".class": "CallableType", "arg_kinds": [0, 0, 5, 5], "arg_names": ["_cls", "iterable", "new", "len"], "arg_types": [{".class": "TypeType", "item": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ReplicaInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["builtins.int", "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}}, {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "typing.Iterable"}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_make of ReplicaInfo", "ret_type": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ReplicaInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["builtins.int", "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ReplicaInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["builtins.int", "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}}, "plugin_generated": true}, "_replace": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 5, 5, 5], "arg_names": ["_self", "jaxpr_replicas", "num_local_replicas", "num_global_replicas"], "flags": [], "fullname": "jax.interpreters.pxla.ReplicaInfo._replace", "name": "_replace", "type": {".class": "CallableType", "arg_kinds": [0, 5, 5, 5], "arg_names": ["_self", "jaxpr_replicas", "num_local_replicas", "num_global_replicas"], "arg_types": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ReplicaInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["builtins.int", "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "builtins.int", "builtins.int", "builtins.int"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_replace of ReplicaInfo", "ret_type": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ReplicaInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["builtins.int", "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ReplicaInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["builtins.int", "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}, "plugin_generated": true}, "_source": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.ReplicaInfo._source", "name": "_source", "type": "builtins.str"}}, "jaxpr_replicas": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_property", "is_ready"], "fullname": "jax.interpreters.pxla.ReplicaInfo.jaxpr_replicas", "name": "jaxpr_replicas", "type": "builtins.int"}}, "jaxpr_replicas-redefinition": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.pxla.ReplicaInfo.jaxpr_replicas", "kind": "Mdef"}, "num_global_replicas": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_property", "is_ready"], "fullname": "jax.interpreters.pxla.ReplicaInfo.num_global_replicas", "name": "num_global_replicas", "type": "builtins.int"}}, "num_global_replicas-redefinition": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.pxla.ReplicaInfo.num_global_replicas", "kind": "Mdef"}, "num_local_replicas": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_property", "is_ready"], "fullname": "jax.interpreters.pxla.ReplicaInfo.num_local_replicas", "name": "num_local_replicas", "type": "builtins.int"}}, "num_local_replicas-redefinition": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.pxla.ReplicaInfo.num_local_replicas", "kind": "Mdef"}}, "slots": null, "tuple_type": {".class": "TupleType", "implicit": false, "items": ["builtins.int", "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}}, "type_vars": [], "typeddict_type": null}}, "Replicated": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "jax.interpreters.pxla.Replicated", "line": 110, "no_args": true, "normalized": false, "target": "jaxlib.xla_extension.pmap_lib.Replicated"}}, "ResourceAxisName": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "jax.interpreters.pxla.ResourceAxisName", "line": 2088, "no_args": true, "normalized": false, "target": "typing.Hashable"}}, "ResourceEnv": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": [{".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla.ResourceEnv", "name": "ResourceEnv", "type_vars": []}, "deletable_attributes": [], "flags": ["is_named_tuple"], "fullname": "jax.interpreters.pxla.ResourceEnv", "has_param_spec_type": false, "metaclass_type": null, "metadata": {"namedtuple": {"fields": ["physical_mesh", "loops"]}}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla.ResourceEnv", "builtins.tuple", "typing.Sequence", "typing.Collection", "typing.Reversible", "typing.Iterable", "typing.Container", "builtins.object"], "names": {".class": "SymbolTable", "_NT": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "TypeVarExpr", "fullname": "jax.interpreters.pxla.ResourceEnv._NT", "name": "_NT", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}}, "__annotations__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.ResourceEnv.__annotations__", "name": "__annotations__", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}}}, "__doc__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.ResourceEnv.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__match_args__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.ResourceEnv.__match_args__", "name": "__match_args__", "type": {".class": "TupleType", "implicit": false, "items": [{".class": "LiteralType", "fallback": "builtins.str", "value": "physical_mesh"}, {".class": "LiteralType", "fallback": "builtins.str", "value": "loops"}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}}}, "__new__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["_cls", "physical_mesh", "loops"], "flags": [], "fullname": "jax.interpreters.pxla.ResourceEnv.__new__", "name": "__new__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["_cls", "physical_mesh", "loops"], "arg_types": [{".class": "TypeType", "item": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ResourceEnv._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}}, "jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__new__ of ResourceEnv", "ret_type": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ResourceEnv._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ResourceEnv._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}, "plugin_generated": true}, "__repr__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": [null], "flags": [], "fullname": "jax.interpreters.pxla.ResourceEnv.__repr__", "name": "__repr__", "type": null}}, "_asdict": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["_self"], "flags": [], "fullname": "jax.interpreters.pxla.ResourceEnv._asdict", "name": "_asdict", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["_self"], "arg_types": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ResourceEnv._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_asdict of ResourceEnv", "ret_type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ResourceEnv._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}, "plugin_generated": true}, "_field_defaults": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.ResourceEnv._field_defaults", "name": "_field_defaults", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}}}, "_field_types": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.ResourceEnv._field_types", "name": "_field_types", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}}}, "_fields": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.ResourceEnv._fields", "name": "_fields", "type": {".class": "TupleType", "implicit": false, "items": ["builtins.str", "builtins.str"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}}}, "_make": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 5, 5], "arg_names": ["_cls", "iterable", "new", "len"], "flags": ["is_class", "is_decorated"], "fullname": "jax.interpreters.pxla.ResourceEnv._make", "name": "_make", "type": {".class": "CallableType", "arg_kinds": [0, 0, 5, 5], "arg_names": ["_cls", "iterable", "new", "len"], "arg_types": [{".class": "TypeType", "item": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ResourceEnv._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}}, {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "typing.Iterable"}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_make of ResourceEnv", "ret_type": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ResourceEnv._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ResourceEnv._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_classmethod", "is_ready"], "fullname": "jax.interpreters.pxla.ResourceEnv._make", "name": "_make", "type": {".class": "CallableType", "arg_kinds": [0, 0, 5, 5], "arg_names": ["_cls", "iterable", "new", "len"], "arg_types": [{".class": "TypeType", "item": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ResourceEnv._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}}, {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "typing.Iterable"}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_make of ResourceEnv", "ret_type": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ResourceEnv._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ResourceEnv._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}}, "plugin_generated": true}, "_replace": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 5, 5], "arg_names": ["_self", "physical_mesh", "loops"], "flags": [], "fullname": "jax.interpreters.pxla.ResourceEnv._replace", "name": "_replace", "type": {".class": "CallableType", "arg_kinds": [0, 5, 5], "arg_names": ["_self", "physical_mesh", "loops"], "arg_types": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ResourceEnv._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_replace of ResourceEnv", "ret_type": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ResourceEnv._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ResourceEnv._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}, "plugin_generated": true}, "_source": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.ResourceEnv._source", "name": "_source", "type": "builtins.str"}}, "local_shape": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "jax.interpreters.pxla.ResourceEnv.local_shape", "name": "local_shape", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "local_shape", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": [{".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": "jax.interpreters.pxla.ResourceEnv"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": "local_shape of ResourceEnv", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "loop_resource_axes": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "jax.interpreters.pxla.ResourceEnv.loop_resource_axes", "name": "loop_resource_axes", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": [{".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": "jax.interpreters.pxla.ResourceEnv"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "loop_resource_axes of ResourceEnv", "ret_type": {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.set"}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "loop_resource_axes", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": [{".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": "jax.interpreters.pxla.ResourceEnv"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "loop_resource_axes of ResourceEnv", "ret_type": {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.set"}, "type_guard": null, "variables": []}}}}, "loops": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_property", "is_ready"], "fullname": "jax.interpreters.pxla.ResourceEnv.loops", "name": "loops", "type": {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}}}, "loops-redefinition": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.pxla.ResourceEnv.loops", "kind": "Mdef"}, "physical_mesh": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_property", "is_ready"], "fullname": "jax.interpreters.pxla.ResourceEnv.physical_mesh", "name": "physical_mesh", "type": "jax.interpreters.pxla.Mesh"}}, "physical_mesh-redefinition": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.pxla.ResourceEnv.physical_mesh", "kind": "Mdef"}, "physical_resource_axes": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "jax.interpreters.pxla.ResourceEnv.physical_resource_axes", "name": "physical_resource_axes", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": [{".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": "jax.interpreters.pxla.ResourceEnv"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "physical_resource_axes of ResourceEnv", "ret_type": {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.set"}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "physical_resource_axes", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": [{".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": "jax.interpreters.pxla.ResourceEnv"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "physical_resource_axes of ResourceEnv", "ret_type": {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.set"}, "type_guard": null, "variables": []}}}}, "resource_axes": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "jax.interpreters.pxla.ResourceEnv.resource_axes", "name": "resource_axes", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": [{".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": "jax.interpreters.pxla.ResourceEnv"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "resource_axes of ResourceEnv", "ret_type": {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.set"}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "resource_axes", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": [{".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": "jax.interpreters.pxla.ResourceEnv"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "resource_axes of ResourceEnv", "ret_type": {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.set"}, "type_guard": null, "variables": []}}}}, "shape": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "jax.interpreters.pxla.ResourceEnv.shape", "name": "shape", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "shape", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": [{".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": "jax.interpreters.pxla.ResourceEnv"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": "shape of ResourceEnv", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "with_extra_loop": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "loop"], "flags": [], "fullname": "jax.interpreters.pxla.ResourceEnv.with_extra_loop", "name": "with_extra_loop", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "loop"], "arg_types": [{".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": "jax.interpreters.pxla.ResourceEnv"}, {".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "with_extra_loop of ResourceEnv", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "with_mesh": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "mesh"], "flags": [], "fullname": "jax.interpreters.pxla.ResourceEnv.with_mesh", "name": "with_mesh", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "mesh"], "arg_types": [{".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": "jax.interpreters.pxla.ResourceEnv"}, "jax.interpreters.pxla.Mesh"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "with_mesh of ResourceEnv", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "slots": null, "tuple_type": {".class": "TupleType", "implicit": false, "items": ["jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": "jax.interpreters.pxla._Loop"}], "type_ref": "builtins.tuple"}], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "type_vars": [], "typeddict_type": null}}, "ResultsHandler": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla.ResultsHandler", "name": "ResultsHandler", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax.interpreters.pxla.ResultsHandler", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla.ResultsHandler", "builtins.object"], "names": {".class": "SymbolTable", "__call__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "out_bufs"], "flags": [], "fullname": "jax.interpreters.pxla.ResultsHandler.__call__", "name": "__call__", "type": null}}, "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["self", "handlers", "out_shardings", "out_avals"], "flags": [], "fullname": "jax.interpreters.pxla.ResultsHandler.__init__", "name": "__init__", "type": null}}, "__slots__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "has_explicit_value", "allow_incompatible_override"], "fullname": "jax.interpreters.pxla.ResultsHandler.__slots__", "name": "__slots__", "type": {".class": "TupleType", "implicit": false, "items": ["builtins.str", "builtins.str", "builtins.str"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}}}, "handlers": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.ResultsHandler.handlers", "name": "handlers", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "out_avals": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.ResultsHandler.out_avals", "name": "out_avals", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "out_shardings": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.ResultsHandler.out_shardings", "name": "out_shardings", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}, "slots": ["handlers", "out_avals", "out_shardings"], "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "SPMDBatchTrace": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["jax.interpreters.batching.BatchTrace"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla.SPMDBatchTrace", "name": "SPMDBatchTrace", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax.interpreters.pxla.SPMDBatchTrace", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla.SPMDBatchTrace", "jax.interpreters.batching.BatchTrace", "jax.core.Trace", "builtins.object"], "names": {".class": "SymbolTable", "get_axis_primitive_batcher": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "primitive", "frame"], "flags": [], "fullname": "jax.interpreters.pxla.SPMDBatchTrace.get_axis_primitive_batcher", "name": "get_axis_primitive_batcher", "type": null}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Sequence": {".class": "SymbolTableNode", "cross_ref": "typing.Sequence", "kind": "Gdef"}, "Set": {".class": "SymbolTableNode", "cross_ref": "typing.Set", "kind": "Gdef"}, "ShapedArray": {".class": "SymbolTableNode", "cross_ref": "jax.core.ShapedArray", "kind": "Gdef"}, "ShardInfo": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": [{".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla.ShardInfo", "name": "ShardInfo", "type_vars": []}, "deletable_attributes": [], "flags": ["is_named_tuple"], "fullname": "jax.interpreters.pxla.ShardInfo", "has_param_spec_type": false, "metaclass_type": null, "metadata": {"namedtuple": {"fields": ["sharded_avals", "out_sharded_avals", "global_sharded_avals", "num_local_shards", "num_global_shards"]}}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla.ShardInfo", "builtins.tuple", "typing.Sequence", "typing.Collection", "typing.Reversible", "typing.Iterable", "typing.Container", "builtins.object"], "names": {".class": "SymbolTable", "_NT": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "TypeVarExpr", "fullname": "jax.interpreters.pxla.ShardInfo._NT", "name": "_NT", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}}, "__annotations__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.ShardInfo.__annotations__", "name": "__annotations__", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}}}, "__doc__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.ShardInfo.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__match_args__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.ShardInfo.__match_args__", "name": "__match_args__", "type": {".class": "TupleType", "implicit": false, "items": [{".class": "LiteralType", "fallback": "builtins.str", "value": "sharded_avals"}, {".class": "LiteralType", "fallback": "builtins.str", "value": "out_sharded_avals"}, {".class": "LiteralType", "fallback": "builtins.str", "value": "global_sharded_avals"}, {".class": "LiteralType", "fallback": "builtins.str", "value": "num_local_shards"}, {".class": "LiteralType", "fallback": "builtins.str", "value": "num_global_shards"}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}}}, "__new__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 0], "arg_names": ["_cls", "sharded_avals", "out_sharded_avals", "global_sharded_avals", "num_local_shards", "num_global_shards"], "flags": [], "fullname": "jax.interpreters.pxla.ShardInfo.__new__", "name": "__new__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0, 0, 0], "arg_names": ["_cls", "sharded_avals", "out_sharded_avals", "global_sharded_avals", "num_local_shards", "num_global_shards"], "arg_types": [{".class": "TypeType", "item": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ShardInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, "builtins.int", "builtins.int"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__new__ of ShardInfo", "ret_type": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ShardInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ShardInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}, "plugin_generated": true}, "_asdict": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["_self"], "flags": [], "fullname": "jax.interpreters.pxla.ShardInfo._asdict", "name": "_asdict", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["_self"], "arg_types": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ShardInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_asdict of ShardInfo", "ret_type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ShardInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}, "plugin_generated": true}, "_field_defaults": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.ShardInfo._field_defaults", "name": "_field_defaults", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}}}, "_field_types": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.ShardInfo._field_types", "name": "_field_types", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}}}, "_fields": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.ShardInfo._fields", "name": "_fields", "type": {".class": "TupleType", "implicit": false, "items": ["builtins.str", "builtins.str", "builtins.str", "builtins.str", "builtins.str"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}}}, "_make": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 5, 5], "arg_names": ["_cls", "iterable", "new", "len"], "flags": ["is_class", "is_decorated"], "fullname": "jax.interpreters.pxla.ShardInfo._make", "name": "_make", "type": {".class": "CallableType", "arg_kinds": [0, 0, 5, 5], "arg_names": ["_cls", "iterable", "new", "len"], "arg_types": [{".class": "TypeType", "item": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ShardInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}}, {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "typing.Iterable"}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_make of ShardInfo", "ret_type": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ShardInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ShardInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_classmethod", "is_ready"], "fullname": "jax.interpreters.pxla.ShardInfo._make", "name": "_make", "type": {".class": "CallableType", "arg_kinds": [0, 0, 5, 5], "arg_names": ["_cls", "iterable", "new", "len"], "arg_types": [{".class": "TypeType", "item": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ShardInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}}, {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "typing.Iterable"}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_make of ShardInfo", "ret_type": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ShardInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ShardInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}}, "plugin_generated": true}, "_replace": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 5, 5, 5, 5, 5], "arg_names": ["_self", "sharded_avals", "out_sharded_avals", "global_sharded_avals", "num_local_shards", "num_global_shards"], "flags": [], "fullname": "jax.interpreters.pxla.ShardInfo._replace", "name": "_replace", "type": {".class": "CallableType", "arg_kinds": [0, 5, 5, 5, 5, 5], "arg_names": ["_self", "sharded_avals", "out_sharded_avals", "global_sharded_avals", "num_local_shards", "num_global_shards"], "arg_types": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ShardInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, "builtins.int", "builtins.int"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_replace of ShardInfo", "ret_type": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ShardInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla.ShardInfo._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}, "plugin_generated": true}, "_source": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla.ShardInfo._source", "name": "_source", "type": "builtins.str"}}, "global_sharded_avals": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_property", "is_ready"], "fullname": "jax.interpreters.pxla.ShardInfo.global_sharded_avals", "name": "global_sharded_avals", "type": {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}}}, "global_sharded_avals-redefinition": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.pxla.ShardInfo.global_sharded_avals", "kind": "Mdef"}, "num_global_shards": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_property", "is_ready"], "fullname": "jax.interpreters.pxla.ShardInfo.num_global_shards", "name": "num_global_shards", "type": "builtins.int"}}, "num_global_shards-redefinition": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.pxla.ShardInfo.num_global_shards", "kind": "Mdef"}, "num_local_shards": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_property", "is_ready"], "fullname": "jax.interpreters.pxla.ShardInfo.num_local_shards", "name": "num_local_shards", "type": "builtins.int"}}, "num_local_shards-redefinition": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.pxla.ShardInfo.num_local_shards", "kind": "Mdef"}, "out_sharded_avals": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_property", "is_ready"], "fullname": "jax.interpreters.pxla.ShardInfo.out_sharded_avals", "name": "out_sharded_avals", "type": {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}}}, "out_sharded_avals-redefinition": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.pxla.ShardInfo.out_sharded_avals", "kind": "Mdef"}, "sharded_avals": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_property", "is_ready"], "fullname": "jax.interpreters.pxla.ShardInfo.sharded_avals", "name": "sharded_avals", "type": {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}}}, "sharded_avals-redefinition": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.pxla.ShardInfo.sharded_avals", "kind": "Mdef"}}, "slots": null, "tuple_type": {".class": "TupleType", "implicit": false, "items": [{".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, "builtins.int", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["builtins.object"], "type_ref": "builtins.tuple"}}, "type_vars": [], "typeddict_type": null}}, "ShardedAxis": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "jax.interpreters.pxla.ShardedAxis", "line": 109, "no_args": true, "normalized": false, "target": "jaxlib.xla_extension.pmap_lib.ShardedAxis"}}, "ShardedDeviceArray": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "jax.interpreters.pxla.ShardedDeviceArray", "name": "ShardedDeviceArray", "type": {".class": "TypeType", "item": "builtins.object"}}}, "ShardedDeviceArrayBase": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 2, "fullname": "jax.interpreters.pxla.ShardedDeviceArrayBase", "line": 662, "no_args": true, "normalized": false, "target": "jaxlib.xla_extension.pmap_lib.ShardedDeviceArrayBase"}}, "ShardingSpec": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "jax.interpreters.pxla.ShardingSpec", "line": 115, "no_args": true, "normalized": false, "target": "jaxlib.xla_extension.pmap_lib.ShardingSpec"}}, "TYPE_CHECKING": {".class": "SymbolTableNode", "cross_ref": "typing.TYPE_CHECKING", "kind": "Gdef"}, "TileManual": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla.TileManual", "name": "TileManual", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax.interpreters.pxla.TileManual", "has_param_spec_type": false, "metaclass_type": null, "metadata": {"dataclass": {"attributes": [{"column": 2, "has_default": false, "is_in_init": true, "is_init_var": false, "kw_only": false, "line": 2294, "name": "manual_axes", "type": {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.MeshAxisName"}], "type_ref": "builtins.frozenset"}}], "frozen": true}, "dataclass_tag": {}}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla.TileManual", "builtins.object"], "names": {".class": "SymbolTable", "__dataclass_fields__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "jax.interpreters.pxla.TileManual.__dataclass_fields__", "name": "__dataclass_fields__", "type": {".class": "Instance", "args": ["builtins.str", {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "dataclasses.Field"}], "type_ref": "builtins.dict"}}, "plugin_generated": true}, "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "manual_axes"], "flags": [], "fullname": "jax.interpreters.pxla.TileManual.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "manual_axes"], "arg_types": ["jax.interpreters.pxla.TileManual", {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.MeshAxisName"}], "type_ref": "builtins.frozenset"}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of TileManual", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}, "plugin_generated": true}, "__match_args__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_ready", "allow_incompatible_override"], "fullname": "jax.interpreters.pxla.TileManual.__match_args__", "name": "__match_args__", "type": {".class": "TupleType", "implicit": false, "items": [{".class": "LiteralType", "fallback": "builtins.str", "value": "manual_axes"}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}}, "plugin_generated": true}, "manual_axes": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": "jax.interpreters.pxla.TileManual.manual_axes", "name": "manual_axes", "type": {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.MeshAxisName"}], "type_ref": "builtins.frozenset"}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "TileVectorize": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla.TileVectorize", "name": "TileVectorize", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax.interpreters.pxla.TileVectorize", "has_param_spec_type": false, "metaclass_type": null, "metadata": {"dataclass": {"attributes": [], "frozen": true}, "dataclass_tag": {}}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla.TileVectorize", "builtins.object"], "names": {".class": "SymbolTable", "__dataclass_fields__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "jax.interpreters.pxla.TileVectorize.__dataclass_fields__", "name": "__dataclass_fields__", "type": {".class": "Instance", "args": ["builtins.str", {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "dataclasses.Field"}], "type_ref": "builtins.dict"}}, "plugin_generated": true}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "TilingMethod": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "jax.interpreters.pxla.TilingMethod", "line": 2296, "no_args": false, "normalized": false, "target": {".class": "UnionType", "items": ["jax.interpreters.pxla.TileVectorize", "jax.interpreters.pxla.TileManual"]}}}, "Tuple": {".class": "SymbolTableNode", "cross_ref": "typing.Tuple", "kind": "Gdef"}, "Type": {".class": "SymbolTableNode", "cross_ref": "typing.Type", "kind": "Gdef"}, "Union": {".class": "SymbolTableNode", "cross_ref": "typing.Union", "kind": "Gdef"}, "Unstacked": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "jax.interpreters.pxla.Unstacked", "line": 107, "no_args": true, "normalized": false, "target": "jaxlib.xla_extension.pmap_lib.Unstacked"}}, "WeakRefList": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": [{".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}], "type_ref": "builtins.list"}], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla.WeakRefList", "name": "WeakRefList", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax.interpreters.pxla.WeakRefList", "has_param_spec_type": false, "metaclass_type": "abc.ABCMeta", "metadata": {}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla.WeakRefList", "builtins.list", "typing.MutableSequence", "typing.Sequence", "typing.Collection", "typing.Reversible", "typing.Iterable", "typing.Container", "builtins.object"], "names": {".class": "SymbolTable"}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "XLACompatibleSharding": {".class": "SymbolTableNode", "cross_ref": "jax.experimental.sharding.XLACompatibleSharding", "kind": "Gdef"}, "_AUTOAxisResource": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla._AUTOAxisResource", "name": "_AUTOAxisResource", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax.interpreters.pxla._AUTOAxisResource", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla._AUTOAxisResource", "builtins.object"], "names": {".class": "SymbolTable"}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "_Loop": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": [{".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.tuple"}], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla._Loop", "name": "_Loop", "type_vars": []}, "deletable_attributes": [], "flags": ["is_named_tuple"], "fullname": "jax.interpreters.pxla._Loop", "has_param_spec_type": false, "metaclass_type": null, "metadata": {"namedtuple": {"fields": ["name", "length"]}}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla._Loop", "builtins.tuple", "typing.Sequence", "typing.Collection", "typing.Reversible", "typing.Iterable", "typing.Container", "builtins.object"], "names": {".class": "SymbolTable", "_NT": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "TypeVarExpr", "fullname": "jax.interpreters.pxla._Loop._NT", "name": "_NT", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}}, "__annotations__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla._Loop.__annotations__", "name": "__annotations__", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}}}, "__doc__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla._Loop.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__match_args__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla._Loop.__match_args__", "name": "__match_args__", "type": {".class": "TupleType", "implicit": false, "items": [{".class": "LiteralType", "fallback": "builtins.str", "value": "name"}, {".class": "LiteralType", "fallback": "builtins.str", "value": "length"}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}}}, "__new__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["_cls", "name", "length"], "flags": [], "fullname": "jax.interpreters.pxla._Loop.__new__", "name": "__new__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["_cls", "name", "length"], "arg_types": [{".class": "TypeType", "item": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla._Loop._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}}, "typing.Hashable", "builtins.int"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__new__ of _Loop", "ret_type": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla._Loop._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla._Loop._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}, "plugin_generated": true}, "_asdict": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["_self"], "flags": [], "fullname": "jax.interpreters.pxla._Loop._asdict", "name": "_asdict", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["_self"], "arg_types": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla._Loop._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_asdict of _Loop", "ret_type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla._Loop._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}, "plugin_generated": true}, "_field_defaults": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla._Loop._field_defaults", "name": "_field_defaults", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}}}, "_field_types": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla._Loop._field_types", "name": "_field_types", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}}}, "_fields": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla._Loop._fields", "name": "_fields", "type": {".class": "TupleType", "implicit": false, "items": ["builtins.str", "builtins.str"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}}}, "_make": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 5, 5], "arg_names": ["_cls", "iterable", "new", "len"], "flags": ["is_class", "is_decorated"], "fullname": "jax.interpreters.pxla._Loop._make", "name": "_make", "type": {".class": "CallableType", "arg_kinds": [0, 0, 5, 5], "arg_names": ["_cls", "iterable", "new", "len"], "arg_types": [{".class": "TypeType", "item": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla._Loop._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}}, {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "typing.Iterable"}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_make of _Loop", "ret_type": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla._Loop._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla._Loop._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_classmethod", "is_ready"], "fullname": "jax.interpreters.pxla._Loop._make", "name": "_make", "type": {".class": "CallableType", "arg_kinds": [0, 0, 5, 5], "arg_names": ["_cls", "iterable", "new", "len"], "arg_types": [{".class": "TypeType", "item": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla._Loop._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}}, {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "typing.Iterable"}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_make of _Loop", "ret_type": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla._Loop._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla._Loop._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}}, "plugin_generated": true}, "_replace": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 5, 5], "arg_names": ["_self", "name", "length"], "flags": [], "fullname": "jax.interpreters.pxla._Loop._replace", "name": "_replace", "type": {".class": "CallableType", "arg_kinds": [0, 5, 5], "arg_names": ["_self", "name", "length"], "arg_types": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla._Loop._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "typing.Hashable", "builtins.int"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_replace of _Loop", "ret_type": {".class": "TypeVarType", "fullname": "jax.interpreters.pxla._Loop._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarType", "fullname": "jax.interpreters.pxla._Loop._NT", "id": -1, "name": "_NT", "namespace": "", "upper_bound": {".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}, "plugin_generated": true}, "_source": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax.interpreters.pxla._Loop._source", "name": "_source", "type": "builtins.str"}}, "length": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_property", "is_ready"], "fullname": "jax.interpreters.pxla._Loop.length", "name": "length", "type": "builtins.int"}}, "length-redefinition": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.pxla._Loop.length", "kind": "Mdef"}, "name": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_property", "is_ready"], "fullname": "jax.interpreters.pxla._Loop.name", "name": "name", "type": "typing.Hashable"}}, "name-redefinition": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.pxla._Loop.name", "kind": "Mdef"}}, "slots": null, "tuple_type": {".class": "TupleType", "implicit": false, "items": ["typing.Hashable", "builtins.int"], "partial_fallback": {".class": "Instance", "args": ["typing.Hashable"], "type_ref": "builtins.tuple"}}, "type_vars": [], "typeddict_type": null}}, "_SDA_BASE_CLASS": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 2, "fullname": "jax.interpreters.pxla._SDA_BASE_CLASS", "line": 667, "no_args": true, "normalized": false, "target": "jaxlib.xla_extension.pmap_lib.ShardedDeviceArrayBase"}}, "_ShardedDeviceArray": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["jaxlib.xla_extension.pmap_lib.ShardedDeviceArrayBase"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla._ShardedDeviceArray", "name": "_ShardedDeviceArray", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax.interpreters.pxla._ShardedDeviceArray", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla._ShardedDeviceArray", "jaxlib.xla_extension.pmap_lib.ShardedDeviceArrayBase", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 1], "arg_names": ["self", "aval", "sharding_spec", "device_buffers", "indices"], "flags": [], "fullname": "jax.interpreters.pxla._ShardedDeviceArray.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0, 1], "arg_names": ["self", "aval", "sharding_spec", "device_buffers", "indices"], "arg_types": ["jax.interpreters.pxla._ShardedDeviceArray", "jax.core.ShapedArray", "jaxlib.xla_extension.pmap_lib.ShardingSpec", {".class": "Instance", "args": ["jaxlib.xla_extension.DeviceArray"], "type_ref": "builtins.list"}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.Index"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of _ShardedDeviceArray", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "__slots__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "has_explicit_value", "allow_incompatible_override"], "fullname": "jax.interpreters.pxla._ShardedDeviceArray.__slots__", "name": "__slots__", "type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}}}, "_npy_value": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla._ShardedDeviceArray._npy_value", "name": "_npy_value", "type": {".class": "NoneType"}}}, "_one_replica_buffer_indices": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla._ShardedDeviceArray._one_replica_buffer_indices", "name": "_one_replica_buffer_indices", "type": {".class": "NoneType"}}}, "aval": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla._ShardedDeviceArray.aval", "name": "aval", "type": "jax.core.ShapedArray"}}, "delete": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax.interpreters.pxla._ShardedDeviceArray.delete", "name": "delete", "type": null}}, "device_buffers": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla._ShardedDeviceArray.device_buffers", "name": "device_buffers", "type": {".class": "Instance", "args": ["jaxlib.xla_extension.DeviceArray"], "type_ref": "builtins.list"}}}, "dtype": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "jax.interpreters.pxla._ShardedDeviceArray.dtype", "name": "dtype", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "dtype", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["jax.interpreters.pxla._ShardedDeviceArray"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": "dtype of _ShardedDeviceArray", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "indices": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla._ShardedDeviceArray.indices", "name": "indices", "type": {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.Index"}], "type_ref": "builtins.tuple"}}}, "ndim": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "jax.interpreters.pxla._ShardedDeviceArray.ndim", "name": "ndim", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "ndim", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["jax.interpreters.pxla._ShardedDeviceArray"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": "ndim of _ShardedDeviceArray", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "shape": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "jax.interpreters.pxla._ShardedDeviceArray.shape", "name": "shape", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "shape", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["jax.interpreters.pxla._ShardedDeviceArray"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": "shape of _ShardedDeviceArray", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "sharding_spec": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla._ShardedDeviceArray.sharding_spec", "name": "sharding_spec", "type": "jaxlib.xla_extension.pmap_lib.ShardingSpec"}}, "size": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "jax.interpreters.pxla._ShardedDeviceArray.size", "name": "size", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "size", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["jax.interpreters.pxla._ShardedDeviceArray"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": "size of _ShardedDeviceArray", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "_ThreadLocalOldEnv": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["threading.local"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla._ThreadLocalOldEnv", "name": "_ThreadLocalOldEnv", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax.interpreters.pxla._ThreadLocalOldEnv", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla._ThreadLocalOldEnv", "threading.local", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax.interpreters.pxla._ThreadLocalOldEnv.__init__", "name": "__init__", "type": null}}, "stack": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla._ThreadLocalOldEnv.stack", "name": "stack", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "_ThreadLocalState": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["threading.local"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla._ThreadLocalState", "name": "_ThreadLocalState", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax.interpreters.pxla._ThreadLocalState", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla._ThreadLocalState", "threading.local", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax.interpreters.pxla._ThreadLocalState.__init__", "name": "__init__", "type": null}}, "dynamic_axis_env": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla._ThreadLocalState.dynamic_axis_env", "name": "dynamic_axis_env", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "_ThreadResourcesLocalState": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["threading.local"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla._ThreadResourcesLocalState", "name": "_ThreadResourcesLocalState", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax.interpreters.pxla._ThreadResourcesLocalState", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla._ThreadResourcesLocalState", "threading.local", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax.interpreters.pxla._ThreadResourcesLocalState.__init__", "name": "__init__", "type": null}}, "env": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla._ThreadResourcesLocalState.env", "name": "env", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "_UNCONSTRAINED_PARTITION": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax.interpreters.pxla._UNCONSTRAINED_PARTITION", "name": "_UNCONSTRAINED_PARTITION", "type": "jax.interpreters.pxla._UnconstrainedPartitionSingleton"}}, "_UNSHARDED_INSTANCE": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax.interpreters.pxla._UNSHARDED_INSTANCE", "name": "_UNSHARDED_INSTANCE", "type": "jaxlib.xla_extension.pmap_lib.NoSharding"}}, "_UNSPECIFIED": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax.interpreters.pxla._UNSPECIFIED", "name": "_UNSPECIFIED", "type": "jax.interpreters.pxla._UnspecifiedValue"}}, "_USE_CPP_SDA": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax.interpreters.pxla._USE_CPP_SDA", "name": "_USE_CPP_SDA", "type": "builtins.bool"}}, "_UnconstrainedPartitionSingleton": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla._UnconstrainedPartitionSingleton", "name": "_UnconstrainedPartitionSingleton", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax.interpreters.pxla._UnconstrainedPartitionSingleton", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla._UnconstrainedPartitionSingleton", "builtins.object"], "names": {".class": "SymbolTable", "__str__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": [null], "flags": [], "fullname": "jax.interpreters.pxla._UnconstrainedPartitionSingleton.__str__", "name": "__str__", "type": null}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "_UnspecifiedValue": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax.interpreters.pxla._UnspecifiedValue", "name": "_UnspecifiedValue", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax.interpreters.pxla._UnspecifiedValue", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "jax.interpreters.pxla", "mro": ["jax.interpreters.pxla._UnspecifiedValue", "builtins.object"], "names": {".class": "SymbolTable"}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "__annotations__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "jax.interpreters.pxla.__annotations__", "name": "__annotations__", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}}}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "jax.interpreters.pxla.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "jax.interpreters.pxla.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "jax.interpreters.pxla.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "jax.interpreters.pxla.__package__", "name": "__package__", "type": "builtins.str"}}, "_as_slice_indices": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["arr", "idx"], "flags": [], "fullname": "jax.interpreters.pxla._as_slice_indices", "name": "_as_slice_indices", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["arr", "idx"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "jax._src.device_array.DeviceArrayProtocol"}, {".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.Index"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_as_slice_indices", "ret_type": {".class": "TupleType", "implicit": false, "items": [{".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}, {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}, {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}, "type_guard": null, "variables": []}}}, "_check_gda_or_array_xla_sharding_match": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["args", "in_xla_shardings"], "flags": [], "fullname": "jax.interpreters.pxla._check_gda_or_array_xla_sharding_match", "name": "_check_gda_or_array_xla_sharding_match", "type": null}}, "_check_if_any_auto": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["shardings"], "flags": [], "fullname": "jax.interpreters.pxla._check_if_any_auto", "name": "_check_if_any_auto", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["shardings"], "arg_types": [{".class": "Instance", "args": [{".class": "UnionType", "items": ["jax.experimental.sharding.XLACompatibleSharding", "jax.interpreters.pxla._AUTOAxisResource", "jax.interpreters.pxla._UnspecifiedValue"]}], "type_ref": "typing.Iterable"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_check_if_any_auto", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}}, "_create_mesh_pspec_sharding": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 1], "arg_names": ["mesh", "pspec", "parsed_pspec"], "flags": ["is_decorated"], "fullname": "jax.interpreters.pxla._create_mesh_pspec_sharding", "name": "_create_mesh_pspec_sharding", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "_create_mesh_pspec_sharding", "type": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_of_any": 7}], "type_ref": "functools._lru_cache_wrapper"}}}}, "_create_pmap_sharding_spec": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1], "arg_names": ["aval", "sharded_dim", "sharded_dim_size"], "flags": [], "fullname": "jax.interpreters.pxla._create_pmap_sharding_spec", "name": "_create_pmap_sharding_spec", "type": null}}, "_find_partitions": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["jaxpr"], "flags": [], "fullname": "jax.interpreters.pxla._find_partitions", "name": "_find_partitions", "type": null}}, "_forbidden_primitives": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax.interpreters.pxla._forbidden_primitives", "name": "_forbidden_primitives", "type": {".class": "Instance", "args": ["builtins.str", "builtins.str"], "type_ref": "builtins.dict"}}}, "_full_to_shard_abstract_eval": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 4], "arg_names": ["x", "axes", "mesh", "_"], "flags": ["is_decorated"], "fullname": "jax.interpreters.pxla._full_to_shard_abstract_eval", "name": "_full_to_shard_abstract_eval", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "_full_to_shard_abstract_eval", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}, "_full_to_shard_lowering": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 3, 3, 3], "arg_names": ["ctx", "x", "axes", "mesh", "manual_axes"], "flags": ["is_decorated"], "fullname": "jax.interpreters.pxla._full_to_shard_lowering", "name": "_full_to_shard_lowering", "type": {".class": "CallableType", "arg_kinds": [0, 0, 3, 3, 3], "arg_names": ["ctx", "x", "axes", "mesh", "manual_axes"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.ArrayMapping"}, "jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.MeshAxisName"}], "type_ref": "builtins.frozenset"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_full_to_shard_lowering", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "_full_to_shard_lowering", "type": {".class": "AnyType", "missing_import_name": null, "source_any": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_of_any": 7}}}}, "_get_array_mapping": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["pspec"], "flags": [], "fullname": "jax.interpreters.pxla._get_array_mapping", "name": "_get_array_mapping", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["pspec"], "arg_types": ["jax.interpreters.pxla.PartitionSpec"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_get_array_mapping", "ret_type": {".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.ArrayMappingOrAutoOrUnspecified"}, "type_guard": null, "variables": []}}}, "_get_backend_from_shardings": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["shardings"], "flags": [], "fullname": "jax.interpreters.pxla._get_backend_from_shardings", "name": "_get_backend_from_shardings", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["shardings"], "arg_types": [{".class": "Instance", "args": ["jax.experimental.sharding.XLACompatibleSharding"], "type_ref": "typing.Iterable"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_get_backend_from_shardings", "ret_type": {".class": "TupleType", "implicit": false, "items": ["jaxlib.xla_extension.Client", "jax.experimental.sharding.XLACompatibleSharding"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}, "type_guard": null, "variables": []}}}, "_get_input_metadata": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["global_in_avals", "in_shardings", "in_is_global"], "flags": [], "fullname": "jax.interpreters.pxla._get_input_metadata", "name": "_get_input_metadata", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["global_in_avals", "in_shardings", "in_is_global"], "arg_types": [{".class": "Instance", "args": ["jax.core.ShapedArray"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.experimental.sharding.XLACompatibleSharding"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["builtins.bool"], "type_ref": "typing.Sequence"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_get_input_metadata", "ret_type": {".class": "TupleType", "implicit": false, "items": [{".class": "Instance", "args": ["jax.experimental.sharding.XLACompatibleSharding"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": [{".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", "builtins.slice", {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", "builtins.slice"]}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}], "type_ref": "builtins.tuple"}], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.ShapedArray"], "type_ref": "typing.Sequence"}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}, "type_guard": null, "variables": []}}}, "_get_logical_mesh_ids": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["mesh_shape"], "flags": [], "fullname": "jax.interpreters.pxla._get_logical_mesh_ids", "name": "_get_logical_mesh_ids", "type": null}}, "_get_mesh_pspec_shardings_from_executable": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["xla_executable", "mesh"], "flags": [], "fullname": "jax.interpreters.pxla._get_mesh_pspec_shardings_from_executable", "name": "_get_mesh_pspec_shardings_from_executable", "type": null}}, "_get_num_ways_dim_sharded": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["op_sharding"], "flags": [], "fullname": "jax.interpreters.pxla._get_num_ways_dim_sharded", "name": "_get_num_ways_dim_sharded", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["op_sharding"], "arg_types": ["jaxlib.xla_extension.OpSharding"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_get_num_ways_dim_sharded", "ret_type": {".class": "TupleType", "implicit": false, "items": [{".class": "Instance", "args": ["builtins.int"], "type_ref": "typing.Sequence"}, "builtins.int"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}, "type_guard": null, "variables": []}}}, "_get_op_sharding_shardings_from_executable": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["xla_executable", "device_assignment", "num_in_avals", "num_out_avals"], "flags": [], "fullname": "jax.interpreters.pxla._get_op_sharding_shardings_from_executable", "name": "_get_op_sharding_shardings_from_executable", "type": null}}, "_get_pmap_sharding": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["devices", "specs"], "flags": [], "fullname": "jax.interpreters.pxla._get_pmap_sharding", "name": "_get_pmap_sharding", "type": null}}, "_get_sharding_specs": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["shardings", "avals"], "flags": [], "fullname": "jax.interpreters.pxla._get_sharding_specs", "name": "_get_sharding_specs", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["shardings", "avals"], "arg_types": [{".class": "Instance", "args": ["jax.experimental.sharding.XLACompatibleSharding"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.ShapedArray"], "type_ref": "typing.Sequence"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_get_sharding_specs", "ret_type": {".class": "Instance", "args": ["jaxlib.xla_extension.pmap_lib.ShardingSpec"], "type_ref": "typing.Sequence"}, "type_guard": null, "variables": []}}}, "_hashable_index": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["idx"], "flags": [], "fullname": "jax.interpreters.pxla._hashable_index", "name": "_hashable_index", "type": null}}, "_inner_partitions": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["jaxpr", "expected_num_parts"], "flags": [], "fullname": "jax.interpreters.pxla._inner_partitions", "name": "_inner_partitions", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["jaxpr", "expected_num_parts"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_inner_partitions", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "_is_auto": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["x"], "flags": [], "fullname": "jax.interpreters.pxla._is_auto", "name": "_is_auto", "type": null}}, "_is_unspecified": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["x"], "flags": [], "fullname": "jax.interpreters.pxla._is_unspecified", "name": "_is_unspecified", "type": null}}, "_make_sharding_spec": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["axis_sizes", "mesh_axis_pos", "num_dimensions", "aval_axes"], "flags": [], "fullname": "jax.interpreters.pxla._make_sharding_spec", "name": "_make_sharding_spec", "type": null}}, "_manual_proto": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["aval", "manual_axes_set", "mesh"], "flags": [], "fullname": "jax.interpreters.pxla._manual_proto", "name": "_manual_proto", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["aval", "manual_axes_set", "mesh"], "arg_types": ["jax.core.ShapedArray", {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.MeshAxisName"}], "type_ref": "builtins.frozenset"}, "jax.interpreters.pxla.Mesh"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_manual_proto", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "_mhlo_shard": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["aval", "axis_env", "xs", "in_axis"], "flags": [], "fullname": "jax.interpreters.pxla._mhlo_shard", "name": "_mhlo_shard", "type": null}}, "_mhlo_unshard": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0], "arg_names": ["aval", "axis_env", "out_axis", "xs", "platform"], "flags": [], "fullname": "jax.interpreters.pxla._mhlo_unshard", "name": "_mhlo_unshard", "type": null}}, "_old_env": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax.interpreters.pxla._old_env", "name": "_old_env", "type": "jax.interpreters.pxla._ThreadLocalOldEnv"}}, "_one_replica_buffer_indices": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["indices"], "flags": [], "fullname": "jax.interpreters.pxla._one_replica_buffer_indices", "name": "_one_replica_buffer_indices", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["indices"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.Index"}], "type_ref": "builtins.tuple"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_one_replica_buffer_indices", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "_op_sharding_to_numpy_indices": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["op_sharding", "shape", "num_devices"], "flags": [], "fullname": "jax.interpreters.pxla._op_sharding_to_numpy_indices", "name": "_op_sharding_to_numpy_indices", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["op_sharding", "shape", "num_devices"], "arg_types": ["jaxlib.xla_extension.OpSharding", {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}, "builtins.int"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_op_sharding_to_numpy_indices", "ret_type": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}], "type_ref": "numpy.ndarray"}, "type_guard": null, "variables": []}}}, "_pmap_dce_rule": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["used_outputs", "eqn"], "flags": [], "fullname": "jax.interpreters.pxla._pmap_dce_rule", "name": "_pmap_dce_rule", "type": null}}, "_pmap_lowering": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 2, 3, 3, 3, 3, 3, 3, 5, 3, 3, 3, 3], "arg_names": ["ctx", "in_nodes", "axis_name", "axis_size", "global_axis_size", "devices", "name", "call_jaxpr", "backend", "in_axes", "out_axes", "donated_invars", "global_arg_shapes"], "flags": [], "fullname": "jax.interpreters.pxla._pmap_lowering", "name": "_pmap_lowering", "type": null}}, "_pmap_partial_eval_custom_params_updater": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 0, 0], "arg_names": ["unks_in", "inst_in", "kept_outs_known", "kept_outs_staged", "num_res", "params_known", "params_staged"], "flags": [], "fullname": "jax.interpreters.pxla._pmap_partial_eval_custom_params_updater", "name": "_pmap_partial_eval_custom_params_updater", "type": null}}, "_pmap_partial_eval_custom_res_maker": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["params_known", "aval"], "flags": [], "fullname": "jax.interpreters.pxla._pmap_partial_eval_custom_res_maker", "name": "_pmap_partial_eval_custom_res_maker", "type": null}}, "_pmap_sharding_spec": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 0], "arg_names": ["nrep", "axis_size", "npart", "parts", "sharded_aval", "map_axis"], "flags": [], "fullname": "jax.interpreters.pxla._pmap_sharding_spec", "name": "_pmap_sharding_spec", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0, 0, 0], "arg_names": ["nrep", "axis_size", "npart", "parts", "sharded_aval", "map_axis"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_pmap_sharding_spec", "ret_type": "jaxlib.xla_extension.pmap_lib.ShardingSpec", "type_guard": null, "variables": []}}}, "_register_handlers_for_sharded_device_array": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["sda"], "flags": [], "fullname": "jax.interpreters.pxla._register_handlers_for_sharded_device_array", "name": "_register_handlers_for_sharded_device_array", "type": null}}, "_safe_div": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["x", "y"], "flags": [], "fullname": "jax.interpreters.pxla._safe_div", "name": "_safe_div", "type": null}}, "_sanitize_mesh_jaxpr": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["jaxpr"], "flags": [], "fullname": "jax.interpreters.pxla._sanitize_mesh_jaxpr", "name": "_sanitize_mesh_jaxpr", "type": null}}, "_sda__getitem__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "idx"], "flags": [], "fullname": "jax.interpreters.pxla._sda__getitem__", "name": "_sda__getitem__", "type": null}}, "_sda__iter__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax.interpreters.pxla._sda__iter__", "name": "_sda__iter__", "type": null}}, "_sda__reversed__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax.interpreters.pxla._sda__reversed__", "name": "_sda__reversed__", "type": null}}, "_sda_block_until_ready": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax.interpreters.pxla._sda_block_until_ready", "name": "_sda_block_until_ready", "type": null}}, "_sda_check_if_deleted": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax.interpreters.pxla._sda_check_if_deleted", "name": "_sda_check_if_deleted", "type": null}}, "_sda_copy_to_host_async": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax.interpreters.pxla._sda_copy_to_host_async", "name": "_sda_copy_to_host_async", "type": null}}, "_sda_one_replica_buffer_indices": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax.interpreters.pxla._sda_one_replica_buffer_indices", "name": "_sda_one_replica_buffer_indices", "type": null}}, "_sda_value": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax.interpreters.pxla._sda_value", "name": "_sda_value", "type": null}}, "_set_aval": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["val"], "flags": [], "fullname": "jax.interpreters.pxla._set_aval", "name": "_set_aval", "type": null}}, "_shard_abstract_array": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["size", "axis", "x"], "flags": [], "fullname": "jax.interpreters.pxla._shard_abstract_array", "name": "_shard_abstract_array", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["size", "axis", "x"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "builtins.int", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_shard_abstract_array", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "_shard_arg": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["arg", "devices", "arg_indices", "mode"], "flags": [], "fullname": "jax.interpreters.pxla._shard_arg", "name": "_shard_arg", "type": null}}, "_shard_array": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["x", "devices", "indices", "mode"], "flags": [], "fullname": "jax.interpreters.pxla._shard_array", "name": "_shard_array", "type": null}}, "_shard_device_array": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["x", "devices", "indices", "mode"], "flags": [], "fullname": "jax.interpreters.pxla._shard_device_array", "name": "_shard_device_array", "type": null}}, "_shard_sharded_device_array_slow_path": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["x", "devices", "indices", "mode"], "flags": [], "fullname": "jax.interpreters.pxla._shard_sharded_device_array_slow_path", "name": "_shard_sharded_device_array_slow_path", "type": null}}, "_shard_to_full_abstract_eval": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 4], "arg_names": ["x", "axes", "mesh", "_"], "flags": ["is_decorated"], "fullname": "jax.interpreters.pxla._shard_to_full_abstract_eval", "name": "_shard_to_full_abstract_eval", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "_shard_to_full_abstract_eval", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}, "_shard_to_full_lowering": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 3, 3, 3], "arg_names": ["ctx", "x", "axes", "mesh", "manual_axes"], "flags": ["is_decorated"], "fullname": "jax.interpreters.pxla._shard_to_full_lowering", "name": "_shard_to_full_lowering", "type": {".class": "CallableType", "arg_kinds": [0, 0, 3, 3, 3], "arg_names": ["ctx", "x", "axes", "mesh", "manual_axes"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.ArrayMapping"}, "jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.MeshAxisName"}], "type_ref": "builtins.frozenset"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_shard_to_full_lowering", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "_shard_to_full_lowering", "type": {".class": "AnyType", "missing_import_name": null, "source_any": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_of_any": 7}}}}, "_sharded_device_array_mlir_constant_handler": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["val", "canonicalize_types"], "flags": [], "fullname": "jax.interpreters.pxla._sharded_device_array_mlir_constant_handler", "name": "_sharded_device_array_mlir_constant_handler", "type": null}}, "_shardings_to_mlir_shardings": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["shardings"], "flags": [], "fullname": "jax.interpreters.pxla._shardings_to_mlir_shardings", "name": "_shardings_to_mlir_shardings", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["shardings"], "arg_types": [{".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "typing.Sequence"}, {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_shardings_to_mlir_shardings", "ret_type": {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "UnionType", "items": ["jaxlib.xla_extension.OpSharding", {".class": "NoneType"}]}], "type_ref": "typing.Sequence"}, {".class": "NoneType"}]}, "type_guard": null, "variables": []}}}, "_t": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla._t", "name": "_t", "type": "builtins.type"}}, "_thread_local_state": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax.interpreters.pxla._thread_local_state", "name": "_thread_local_state", "type": "jax.interpreters.pxla._ThreadLocalState"}}, "_unravel_index_mhlo": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["axis_env"], "flags": [], "fullname": "jax.interpreters.pxla._unravel_index_mhlo", "name": "_unravel_index_mhlo", "type": null}}, "abstract_arrays": {".class": "SymbolTableNode", "cross_ref": "jax._src.abstract_arrays", "kind": "Gdef"}, "ad": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.ad", "kind": "Gdef"}, "annotations": {".class": "SymbolTableNode", "cross_ref": "__future__.annotations", "kind": "Gdef"}, "api_util": {".class": "SymbolTableNode", "cross_ref": "jax._src.api_util", "kind": "Gdef"}, "are_op_shardings_equal": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["op1", "op2"], "flags": [], "fullname": "jax.interpreters.pxla.are_op_shardings_equal", "name": "are_op_shardings_equal", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["op1", "op2"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "are_op_shardings_equal", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}}, "array_mapping_to_axis_resources": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["array_mapping"], "flags": [], "fullname": "jax.interpreters.pxla.array_mapping_to_axis_resources", "name": "array_mapping_to_axis_resources", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["array_mapping"], "arg_types": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.ArrayMapping"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "array_mapping_to_axis_resources", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "array_types": {".class": "SymbolTableNode", "cross_ref": "jax._src.abstract_arrays.array_types", "kind": "Gdef"}, "assert_unreachable": {".class": "SymbolTableNode", "cross_ref": "jax._src.util.assert_unreachable", "kind": "Gdef"}, "batching": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.batching", "kind": "Gdef"}, "can_execute_with_token": {".class": "SymbolTableNode", "cross_ref": "jax._src.lib.can_execute_with_token", "kind": "Gdef"}, "cast": {".class": "SymbolTableNode", "cross_ref": "typing.cast", "kind": "Gdef"}, "check_multihost_collective_allowlist": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["jaxpr"], "flags": [], "fullname": "jax.interpreters.pxla.check_multihost_collective_allowlist", "name": "check_multihost_collective_allowlist", "type": null}}, "config": {".class": "SymbolTableNode", "cross_ref": "jax._src.config.config", "kind": "Gdef"}, "contextmanager": {".class": "SymbolTableNode", "cross_ref": "contextlib.contextmanager", "kind": "Gdef"}, "core": {".class": "SymbolTableNode", "cross_ref": "jax.core", "kind": "Gdef"}, "custom_resource_typing_rules": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready", "has_explicit_value"], "fullname": "jax.interpreters.pxla.custom_resource_typing_rules", "name": "custom_resource_typing_rules", "type": {".class": "Instance", "args": ["jax.core.Primitive", {".class": "CallableType", "arg_kinds": [2, 4], "arg_names": [null, null], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": true, "name": null, "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}, "type_guard": null, "variables": []}], "type_ref": "builtins.dict"}}}, "dataclasses": {".class": "SymbolTableNode", "cross_ref": "dataclasses", "kind": "Gdef"}, "defaultdict": {".class": "SymbolTableNode", "cross_ref": "collections.defaultdict", "kind": "Gdef"}, "device_array": {".class": "SymbolTableNode", "cross_ref": "jax._src.device_array", "kind": "Gdef"}, "device_put": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1], "arg_names": ["x", "devices", "replicate"], "flags": [], "fullname": "jax.interpreters.pxla.device_put", "name": "device_put", "type": {".class": "CallableType", "arg_kinds": [0, 0, 1], "arg_names": ["x", "devices", "replicate"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "Instance", "args": ["jaxlib.xla_extension.Device"], "type_ref": "typing.Sequence"}, "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "device_put", "ret_type": {".class": "Instance", "args": ["jaxlib.xla_extension.DeviceArray"], "type_ref": "builtins.list"}, "type_guard": null, "variables": []}}}, "dispatch": {".class": "SymbolTableNode", "cross_ref": "jax._src.dispatch", "kind": "Gdef"}, "distributed_debug_log": {".class": "SymbolTableNode", "cross_ref": "jax._src.util.distributed_debug_log", "kind": "Gdef"}, "enum": {".class": "SymbolTableNode", "cross_ref": "enum", "kind": "Gdef"}, "find_partitions": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["jaxpr"], "flags": [], "fullname": "jax.interpreters.pxla.find_partitions", "name": "find_partitions", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["jaxpr"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "find_partitions", "ret_type": {".class": "TupleType", "implicit": false, "items": [{".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, "builtins.int", {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "partial_fallback": "jax.interpreters.pxla.PartitionInfo"}, "type_guard": null, "variables": []}}}, "find_replicas": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["jaxpr", "axis_size", "global_axis_size"], "flags": [], "fullname": "jax.interpreters.pxla.find_replicas", "name": "find_replicas", "type": null}}, "full_to_shard_p": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax.interpreters.pxla.full_to_shard_p", "name": "full_to_shard_p", "type": "jax.core.Primitive"}}, "get_global_aval": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["local_aval", "global_parts", "local_parts"], "flags": [], "fullname": "jax.interpreters.pxla.get_global_aval", "name": "get_global_aval", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["local_aval", "global_parts", "local_parts"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}, {".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "get_global_aval", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "get_local_aval": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["global_aval", "global_parts", "local_parts"], "flags": [], "fullname": "jax.interpreters.pxla.get_local_aval", "name": "get_local_aval", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["global_aval", "global_parts", "local_parts"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}, {".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PartitionsOrReplicated"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "get_local_aval", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "get_num_partitions": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [2], "arg_names": ["partitions"], "flags": [], "fullname": "jax.interpreters.pxla.get_num_partitions", "name": "get_num_partitions", "type": null}}, "global_aval_to_result_handler": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["aval", "out_sharding"], "flags": [], "fullname": "jax.interpreters.pxla.global_aval_to_result_handler", "name": "global_aval_to_result_handler", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["aval", "out_sharding"], "arg_types": ["jax.core.AbstractValue", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "global_aval_to_result_handler", "ret_type": {".class": "CallableType", "arg_kinds": [0], "arg_names": [null], "arg_types": [{".class": "Instance", "args": ["jaxlib.xla_extension.DeviceArray"], "type_ref": "builtins.list"}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": null, "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}, "type_guard": null, "variables": []}}}, "global_avals_to_results_handler": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["global_out_avals", "shardings"], "flags": [], "fullname": "jax.interpreters.pxla.global_avals_to_results_handler", "name": "global_avals_to_results_handler", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["global_out_avals", "shardings"], "arg_types": [{".class": "Instance", "args": ["jax.core.ShapedArray"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.experimental.sharding.XLACompatibleSharding"], "type_ref": "typing.Sequence"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "global_avals_to_results_handler", "ret_type": "jax.interpreters.pxla.ResultsHandler", "type_guard": null, "variables": []}}}, "global_result_handlers": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready", "has_explicit_value"], "fullname": "jax.interpreters.pxla.global_result_handlers", "name": "global_result_handlers", "type": {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": [{".class": "TypeType", "item": "jax.core.AbstractValue"}, "jax.interpreters.pxla.OutputType"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}, {".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PxlaResultHandler"}], "type_ref": "builtins.dict"}}}, "identity": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["x"], "flags": [], "fullname": "jax.interpreters.pxla.identity", "name": "identity", "type": null}}, "ir": {".class": "SymbolTableNode", "cross_ref": "jax._src.lib.mlir.ir", "kind": "Gdef"}, "is_op_sharding_replicated": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["op"], "flags": [], "fullname": "jax.interpreters.pxla.is_op_sharding_replicated", "name": "is_op_sharding_replicated", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["op"], "arg_types": ["jaxlib.xla_extension.OpSharding"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "is_op_sharding_replicated", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}}, "it": {".class": "SymbolTableNode", "cross_ref": "itertools", "kind": "Gdef"}, "jax": {".class": "SymbolTableNode", "cross_ref": "jax", "kind": "Gdef"}, "local_aval_to_result_handler": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["aval", "sharding", "indices"], "flags": [], "fullname": "jax.interpreters.pxla.local_aval_to_result_handler", "name": "local_aval_to_result_handler", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["aval", "sharding", "indices"], "arg_types": ["jax.core.AbstractValue", "jax.experimental.sharding.XLACompatibleSharding", {".class": "UnionType", "items": [{".class": "TupleType", "implicit": false, "items": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.Index"}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}, {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "local_aval_to_result_handler", "ret_type": {".class": "CallableType", "arg_kinds": [0], "arg_names": [null], "arg_types": [{".class": "Instance", "args": ["jaxlib.xla_extension.DeviceArray"], "type_ref": "builtins.list"}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": null, "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}, "type_guard": null, "variables": []}}}, "local_avals_to_results_handler": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["unmapped_local_out_avals", "local_shardings"], "flags": [], "fullname": "jax.interpreters.pxla.local_avals_to_results_handler", "name": "local_avals_to_results_handler", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["unmapped_local_out_avals", "local_shardings"], "arg_types": [{".class": "Instance", "args": [{".class": "UnionType", "items": ["jax.core.ShapedArray", {".class": "NoneType"}]}], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.experimental.sharding.XLACompatibleSharding"], "type_ref": "typing.Sequence"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "local_avals_to_results_handler", "ret_type": "jax.interpreters.pxla.ResultsHandler", "type_guard": null, "variables": []}}}, "local_result_handlers": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready", "has_explicit_value"], "fullname": "jax.interpreters.pxla.local_result_handlers", "name": "local_result_handlers", "type": {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": [{".class": "TypeType", "item": "jax.core.AbstractValue"}, "jax.interpreters.pxla.OutputType"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}, {".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.PxlaResultHandler"}], "type_ref": "builtins.dict"}}}, "logging": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_suppressed_import", "is_ready"], "fullname": "jax.interpreters.pxla.logging", "name": "logging", "type": {".class": "AnyType", "missing_import_name": "jax.interpreters.pxla.logging", "source_any": null, "type_of_any": 3}}}, "lower_mesh_computation": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "arg_names": ["fun", "api_name", "fun_name", "mesh", "in_shardings", "out_shardings", "donated_invars", "spmd_lowering", "global_in_avals", "tiling_method", "in_is_global"], "flags": ["is_decorated"], "fullname": "jax.interpreters.pxla.lower_mesh_computation", "name": "lower_mesh_computation", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "arg_names": ["fun", "api_name", "fun_name", "mesh", "in_shardings", "out_shardings", "donated_invars", "spmd_lowering", "global_in_avals", "tiling_method", "in_is_global"], "arg_types": ["jax.linear_util.WrappedFun", "builtins.str", "builtins.str", "jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "UnionType", "items": ["jax.experimental.sharding.MeshPspecSharding", "jax.interpreters.pxla._AUTOAxisResource"]}], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": [{".class": "UnionType", "items": ["jax.experimental.sharding.MeshPspecSharding", "jax.interpreters.pxla._AUTOAxisResource", "jax.interpreters.pxla._UnspecifiedValue"]}], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["builtins.bool"], "type_ref": "typing.Sequence"}, "builtins.bool", {".class": "Instance", "args": ["jax.core.ShapedArray"], "type_ref": "typing.Sequence"}, {".class": "UnionType", "items": ["jax.interpreters.pxla.TileVectorize", "jax.interpreters.pxla.TileManual", {".class": "NoneType"}]}, {".class": "Instance", "args": ["builtins.bool"], "type_ref": "typing.Sequence"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "lower_mesh_computation", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "lower_mesh_computation", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}, "lower_parallel_callable": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "arg_names": ["fun", "backend_name", "axis_name", "axis_size", "global_axis_size", "devices", "name", "in_axes", "out_axes_thunk", "donated_invars", "global_arg_shapes", "avals"], "flags": ["is_decorated"], "fullname": "jax.interpreters.pxla.lower_parallel_callable", "name": "lower_parallel_callable", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "arg_names": ["fun", "backend_name", "axis_name", "axis_size", "global_axis_size", "devices", "name", "in_axes", "out_axes_thunk", "donated_invars", "global_arg_shapes", "avals"], "arg_types": ["jax.linear_util.WrappedFun", {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}, "typing.Hashable", "builtins.int", {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": ["jaxlib.xla_extension.Device"], "type_ref": "typing.Sequence"}, {".class": "NoneType"}]}, "builtins.str", {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "type_ref": "typing.Iterable"}, {".class": "CallableType", "arg_kinds": [], "arg_names": [], "arg_types": [], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": null, "ret_type": {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "type_ref": "typing.Sequence"}, "type_guard": null, "variables": []}, {".class": "Instance", "args": ["builtins.bool"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": [{".class": "UnionType", "items": [{".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "lower_parallel_callable", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "lower_parallel_callable", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}, "lower_sharding_computation": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 0, 0, 0], "arg_names": ["fun", "api_name", "fun_name", "in_shardings", "out_shardings", "donated_invars", "global_in_avals", "in_is_global"], "flags": ["is_decorated"], "fullname": "jax.interpreters.pxla.lower_sharding_computation", "name": "lower_sharding_computation", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0, 0, 0, 0, 0], "arg_names": ["fun", "api_name", "fun_name", "in_shardings", "out_shardings", "donated_invars", "global_in_avals", "in_is_global"], "arg_types": ["jax.linear_util.WrappedFun", "builtins.str", "builtins.str", {".class": "Instance", "args": ["jax.experimental.sharding.XLACompatibleSharding"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.experimental.sharding.XLACompatibleSharding"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["builtins.bool"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.ShapedArray"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["builtins.bool"], "type_ref": "typing.Sequence"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "lower_sharding_computation", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "lower_sharding_computation", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}, "lru_cache": {".class": "SymbolTableNode", "cross_ref": "functools.lru_cache", "kind": "Gdef"}, "lu": {".class": "SymbolTableNode", "cross_ref": "jax.linear_util", "kind": "Gdef"}, "make_sharded_device_array": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 1], "arg_names": ["aval", "sharding_spec", "device_buffers", "indices"], "flags": [], "fullname": "jax.interpreters.pxla.make_sharded_device_array", "name": "make_sharded_device_array", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 1], "arg_names": ["aval", "sharding_spec", "device_buffers", "indices"], "arg_types": ["jax.core.ShapedArray", {".class": "UnionType", "items": ["jaxlib.xla_extension.pmap_lib.ShardingSpec", {".class": "NoneType"}]}, {".class": "Instance", "args": [{".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "jaxlib.xla_extension.DeviceArray"]}], "type_ref": "builtins.list"}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.Index"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "make_sharded_device_array", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "map": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax.interpreters.pxla.map", "name": "map", "type": {".class": "CallableType", "arg_kinds": [0, 2], "arg_names": ["f", "args"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": null, "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "maybe_cached_property": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 2, "fullname": "jax.interpreters.pxla.maybe_cached_property", "line": 92, "no_args": true, "normalized": false, "target": "builtins.property"}}, "maybe_extend_axis_env": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [2, 4], "arg_names": ["args", "kwargs"], "flags": ["is_generator", "is_decorated"], "fullname": "jax.interpreters.pxla.maybe_extend_axis_env", "name": "maybe_extend_axis_env", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "maybe_extend_axis_env", "type": {".class": "CallableType", "arg_kinds": [2, 4], "arg_names": ["args", "kwargs"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "maybe_extend_axis_env", "ret_type": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_of_any": 7}], "type_ref": "contextlib._GeneratorContextManager"}, "type_guard": null, "variables": []}}}}, "mesh_sharding_specs": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1], "arg_names": ["axis_sizes", "axis_names", "allow_uneven_axes"], "flags": [], "fullname": "jax.interpreters.pxla.mesh_sharding_specs", "name": "mesh_sharding_specs", "type": null}}, "mhlo": {".class": "SymbolTableNode", "cross_ref": "jax._src.lib.mlir.dialects.mhlo", "kind": "Gdef"}, "mlir": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.mlir", "kind": "Gdef"}, "multi_host_supported_collectives": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready", "has_explicit_value"], "fullname": "jax.interpreters.pxla.multi_host_supported_collectives", "name": "multi_host_supported_collectives", "type": {".class": "Instance", "args": ["jax.core.Primitive"], "type_ref": "builtins.set"}}}, "new_mesh_sharding_specs": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["axis_sizes", "axis_names"], "flags": [], "fullname": "jax.interpreters.pxla.new_mesh_sharding_specs", "name": "new_mesh_sharding_specs", "type": null}}, "new_name_stack": {".class": "SymbolTableNode", "cross_ref": "jax._src.util.new_name_stack", "kind": "Gdef"}, "np": {".class": "SymbolTableNode", "cross_ref": "numpy", "kind": "Gdef"}, "op": {".class": "SymbolTableNode", "cross_ref": "operator", "kind": "Gdef"}, "op_sharding_to_indices": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["op_sharding", "shape", "num_devices"], "flags": [], "fullname": "jax.interpreters.pxla.op_sharding_to_indices", "name": "op_sharding_to_indices", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["op_sharding", "shape", "num_devices"], "arg_types": ["jaxlib.xla_extension.OpSharding", {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}, "builtins.int"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "op_sharding_to_indices", "ret_type": {".class": "Instance", "args": [{".class": "Instance", "args": ["builtins.slice"], "type_ref": "builtins.tuple"}], "type_ref": "builtins.tuple"}, "type_guard": null, "variables": []}}}, "parallel_callable": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], "arg_names": ["fun", "backend_name", "axis_name", "axis_size", "global_axis_size", "devices", "name", "in_axes", "out_axes_thunk", "donated_invars", "global_arg_shapes", "avals"], "flags": ["is_decorated"], "fullname": "jax.interpreters.pxla.parallel_callable", "name": "parallel_callable", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], "arg_names": ["fun", "backend_name", "axis_name", "axis_size", "global_axis_size", "devices", "name", "in_axes", "out_axes_thunk", "donated_invars", "global_arg_shapes", "avals"], "arg_types": ["jax.linear_util.WrappedFun", {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}, "typing.Hashable", "builtins.int", {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "typing.Sequence"}, {".class": "NoneType"}]}, "builtins.str", {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "type_ref": "typing.Sequence"}, {".class": "CallableType", "arg_kinds": [], "arg_names": [], "arg_types": [], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": null, "ret_type": {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "type_ref": "typing.Sequence"}, "type_guard": null, "variables": []}, {".class": "Instance", "args": ["builtins.bool"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": [{".class": "UnionType", "items": [{".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}], "type_ref": "typing.Sequence"}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "parallel_callable", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "parallel_callable", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}, "partial": {".class": "SymbolTableNode", "cross_ref": "functools.partial", "kind": "Gdef"}, "partition_list": {".class": "SymbolTableNode", "cross_ref": "jax._src.util.partition_list", "kind": "Gdef"}, "partitioned_sharding_spec": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["num_partitions", "partitions", "aval"], "flags": [], "fullname": "jax.interpreters.pxla.partitioned_sharding_spec", "name": "partitioned_sharding_spec", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["num_partitions", "partitions", "aval"], "arg_types": ["builtins.int", {".class": "UnionType", "items": [{".class": "Instance", "args": ["builtins.int"], "type_ref": "typing.Sequence"}, {".class": "NoneType"}]}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "partitioned_sharding_spec", "ret_type": "jaxlib.xla_extension.pmap_lib.ShardingSpec", "type_guard": null, "variables": []}}}, "pe": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.partial_eval", "kind": "Gdef"}, "pmap_lib": {".class": "SymbolTableNode", "cross_ref": "jaxlib.xla_extension.pmap_lib", "kind": "Gdef"}, "prod": {".class": "SymbolTableNode", "cross_ref": "jax._src.util.prod", "kind": "Gdef"}, "profiler": {".class": "SymbolTableNode", "cross_ref": "jax._src.profiler", "kind": "Gdef"}, "reconcile_num_partitions": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["jaxpr", "outer_num_parts"], "flags": [], "fullname": "jax.interpreters.pxla.reconcile_num_partitions", "name": "reconcile_num_partitions", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["jaxpr", "outer_num_parts"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "reconcile_num_partitions", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "replicate": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 1, 1, 1], "arg_names": ["val", "axis_size", "nrep", "devices", "backend", "in_axis"], "flags": ["is_decorated"], "fullname": "jax.interpreters.pxla.replicate", "name": "replicate", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "replicate", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}, "resource_typecheck": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["jaxpr", "resource_env", "axis_resources", "what_jaxpr_thunk"], "flags": [], "fullname": "jax.interpreters.pxla.resource_typecheck", "name": "resource_typecheck", "type": null}}, "safe_map": {".class": "SymbolTableNode", "cross_ref": "jax._src.util.safe_map", "kind": "Gdef"}, "safe_zip": {".class": "SymbolTableNode", "cross_ref": "jax._src.util.safe_zip", "kind": "Gdef"}, "sda": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.sda", "name": "sda", "type": "builtins.type"}}, "sda_array_result_handler": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["aval", "sharding", "indices"], "flags": [], "fullname": "jax.interpreters.pxla.sda_array_result_handler", "name": "sda_array_result_handler", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["aval", "sharding", "indices"], "arg_types": ["jax.core.ShapedArray", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "sda_array_result_handler", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "shard_arg_handlers": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready", "has_explicit_value"], "fullname": "jax.interpreters.pxla.shard_arg_handlers", "name": "shard_arg_handlers", "type": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "CallableType", "arg_kinds": [0, 0, 0, 0], "arg_names": [null, null, null, null], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "jax.interpreters.pxla.InputsHandlerMode"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": null, "ret_type": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "typing.Sequence"}, "type_guard": null, "variables": []}], "type_ref": "builtins.dict"}}}, "shard_args": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["devices", "indices", "mode", "args"], "flags": ["is_decorated"], "fullname": "jax.interpreters.pxla.shard_args", "name": "shard_args", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0], "arg_names": ["devices", "indices", "mode", "args"], "arg_types": [{".class": "Instance", "args": ["jaxlib.xla_extension.Device"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.Index"}], "type_ref": "typing.Sequence"}], "type_ref": "typing.Sequence"}, "jax.interpreters.pxla.InputsHandlerMode", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "shard_args", "ret_type": {".class": "Instance", "args": [{".class": "Instance", "args": ["jaxlib.xla_extension.DeviceArray"], "type_ref": "typing.Sequence"}], "type_ref": "typing.Sequence"}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "shard_args", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}, "shard_aval": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["size", "axis", "aval"], "flags": [], "fullname": "jax.interpreters.pxla.shard_aval", "name": "shard_aval", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["size", "axis", "aval"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "builtins.int", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "shard_aval", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "shard_aval_handlers": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready", "has_explicit_value"], "fullname": "jax.interpreters.pxla.shard_aval_handlers", "name": "shard_aval_handlers", "type": {".class": "Instance", "args": [{".class": "TypeType", "item": "jax.core.AbstractValue"}, {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": [null, null, null], "arg_types": ["builtins.int", "builtins.int", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": null, "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}], "type_ref": "builtins.dict"}}}, "shard_to_full_p": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax.interpreters.pxla.shard_to_full_p", "name": "shard_to_full_p", "type": "jax.core.Primitive"}}, "sharding_spec_indices": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "shape"], "flags": [], "fullname": "jax.interpreters.pxla.sharding_spec_indices", "name": "sharding_spec_indices", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "shape"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "sharding_spec_indices", "ret_type": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}], "type_ref": "numpy.ndarray"}, "type_guard": null, "variables": []}}}, "sharding_spec_mesh_shape": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax.interpreters.pxla.sharding_spec_mesh_shape", "name": "sharding_spec_mesh_shape", "type": null}}, "sharding_spec_repr": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax.interpreters.pxla.sharding_spec_repr", "name": "sharding_spec_repr", "type": null}}, "sharding_spec_sharding_proto": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["self", "special_axes"], "flags": [], "fullname": "jax.interpreters.pxla.sharding_spec_sharding_proto", "name": "sharding_spec_sharding_proto", "type": {".class": "CallableType", "arg_kinds": [0, 1], "arg_names": ["self", "special_axes"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "Instance", "args": ["builtins.int", {".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.OpShardingType"}], "type_ref": "typing.Mapping"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "sharding_spec_sharding_proto", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "should_tuple_args": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["shards"], "flags": [], "fullname": "jax.interpreters.pxla.should_tuple_args", "name": "should_tuple_args", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["shards"], "arg_types": [{".class": "TupleType", "implicit": false, "items": [{".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["jax.core.AbstractValue"], "type_ref": "typing.Sequence"}, "builtins.int", "builtins.int"], "partial_fallback": "jax.interpreters.pxla.ShardInfo"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "should_tuple_args", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "show_axes": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["axes"], "flags": [], "fullname": "jax.interpreters.pxla.show_axes", "name": "show_axes", "type": null}}, "source_info_util": {".class": "SymbolTableNode", "cross_ref": "jax._src.source_info_util", "kind": "Gdef"}, "spec_to_indices": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["shape", "spec"], "flags": [], "fullname": "jax.interpreters.pxla.spec_to_indices", "name": "spec_to_indices", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["shape", "spec"], "arg_types": [{".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}, "jaxlib.xla_extension.pmap_lib.ShardingSpec"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "spec_to_indices", "ret_type": {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.Index"}], "type_ref": "builtins.tuple"}, "type_guard": null, "variables": []}}}, "spmd_primitive_batchers": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready", "has_explicit_value"], "fullname": "jax.interpreters.pxla.spmd_primitive_batchers", "name": "spmd_primitive_batchers", "type": {".class": "Instance", "args": ["jax.core.Primitive", {".class": "CallableType", "arg_kinds": [2, 4], "arg_names": [null, null], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": true, "name": null, "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}, "type_guard": null, "variables": []}], "type_ref": "builtins.dict"}}}, "stage_parallel_callable": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["pci", "fun", "global_arg_shapes"], "flags": [], "fullname": "jax.interpreters.pxla.stage_parallel_callable", "name": "stage_parallel_callable", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["pci", "fun", "global_arg_shapes"], "arg_types": ["jax.interpreters.pxla.ParallelCallableInfo", "jax.linear_util.WrappedFun", {".class": "Instance", "args": [{".class": "UnionType", "items": [{".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}], "type_ref": "typing.Sequence"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "stage_parallel_callable", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "stages": {".class": "SymbolTableNode", "cross_ref": "jax._src.stages", "kind": "Gdef"}, "sys": {".class": "SymbolTableNode", "cross_ref": "sys", "kind": "Gdef"}, "t": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "jax.interpreters.pxla.t", "name": "t", "type": "builtins.type"}}, "thread_resources": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax.interpreters.pxla.thread_resources", "name": "thread_resources", "type": "jax.interpreters.pxla._ThreadResourcesLocalState"}}, "threading": {".class": "SymbolTableNode", "cross_ref": "threading", "kind": "Gdef"}, "tile_aval_nd": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["axis_sizes", "in_axes", "aval"], "flags": [], "fullname": "jax.interpreters.pxla.tile_aval_nd", "name": "tile_aval_nd", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["axis_sizes", "in_axes", "aval"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.ArrayMapping"}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "tile_aval_nd", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "tree_flatten": {".class": "SymbolTableNode", "cross_ref": "jax._src.tree_util.tree_flatten", "kind": "Gdef"}, "tree_map": {".class": "SymbolTableNode", "cross_ref": "jax._src.tree_util.tree_map", "kind": "Gdef"}, "tuple_delete": {".class": "SymbolTableNode", "cross_ref": "jax._src.util.tuple_delete", "kind": "Gdef"}, "tuple_insert": {".class": "SymbolTableNode", "cross_ref": "jax._src.util.tuple_insert", "kind": "Gdef"}, "unsafe_map": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax.interpreters.pxla.unsafe_map", "name": "unsafe_map", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}}}, "untile_aval_nd": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["axis_sizes", "out_axes", "aval"], "flags": [], "fullname": "jax.interpreters.pxla.untile_aval_nd", "name": "untile_aval_nd", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["axis_sizes", "out_axes", "aval"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.ArrayMapping"}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "untile_aval_nd", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "unzip3": {".class": "SymbolTableNode", "cross_ref": "jax._src.util.unzip3", "kind": "Gdef"}, "util": {".class": "SymbolTableNode", "cross_ref": "jax._src.util", "kind": "Gdef"}, "vtile_by_mesh": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["fun", "mesh", "in_axes", "out_axes"], "flags": [], "fullname": "jax.interpreters.pxla.vtile_by_mesh", "name": "vtile_by_mesh", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0], "arg_names": ["fun", "mesh", "in_axes", "out_axes"], "arg_types": ["jax.linear_util.WrappedFun", "jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.ArrayMapping"}], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.ArrayMapping"}], "type_ref": "typing.Sequence"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "vtile_by_mesh", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "vtile_manual": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 2], "arg_names": ["manual_axes", "mesh", "in_axes", "out_axes", "args"], "flags": ["is_generator", "is_decorated"], "fullname": "jax.interpreters.pxla.vtile_manual", "name": "vtile_manual", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0, 2], "arg_names": ["manual_axes", "mesh", "in_axes", "out_axes", "args"], "arg_types": [{".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.MeshAxisName"}], "type_ref": "builtins.frozenset"}, "jax.interpreters.pxla.Mesh", {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.ArrayMapping"}], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": [{".class": "TypeAliasType", "args": [], "type_ref": "jax.interpreters.pxla.ArrayMapping"}], "type_ref": "typing.Sequence"}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "vtile_manual", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "vtile_manual", "type": {".class": "AnyType", "missing_import_name": null, "source_any": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_of_any": 7}}}}, "wrap_name": {".class": "SymbolTableNode", "cross_ref": "jax._src.util.wrap_name", "kind": "Gdef"}, "xb": {".class": "SymbolTableNode", "cross_ref": "jax._src.lib.xla_bridge", "kind": "Gdef"}, "xc": {".class": "SymbolTableNode", "cross_ref": "jaxlib.xla_client", "kind": "Gdef"}, "xe": {".class": "SymbolTableNode", "cross_ref": "jaxlib.xla_extension", "kind": "Gdef"}, "xla": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.xla", "kind": "Gdef"}, "xla_extension_version": {".class": "SymbolTableNode", "cross_ref": "jax._src.lib.xla_extension_version", "kind": "Gdef"}, "xla_pmap": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax.interpreters.pxla.xla_pmap", "name": "xla_pmap", "type": {".class": "CallableType", "arg_kinds": [0, 2, 4], "arg_names": ["fun", "args", "params"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": ["jax.core.MapPrimitive"], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": null, "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "xla_pmap_impl": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3], "arg_names": ["fun", "args", "backend", "axis_name", "axis_size", "global_axis_size", "devices", "name", "in_axes", "out_axes_thunk", "donated_invars", "global_arg_shapes"], "flags": [], "fullname": "jax.interpreters.pxla.xla_pmap_impl", "name": "xla_pmap_impl", "type": {".class": "CallableType", "arg_kinds": [0, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3], "arg_names": ["fun", "args", "backend", "axis_name", "axis_size", "global_axis_size", "devices", "name", "in_axes", "out_axes_thunk", "donated_invars", "global_arg_shapes"], "arg_types": ["jax.linear_util.WrappedFun", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}, "typing.Hashable", "builtins.int", {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "type_ref": "typing.Sequence"}, {".class": "NoneType"}]}, "builtins.str", {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "type_ref": "typing.Sequence"}, {".class": "CallableType", "arg_kinds": [], "arg_names": [], "arg_types": [], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": null, "ret_type": {".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}], "type_ref": "typing.Sequence"}, "type_guard": null, "variables": []}, {".class": "Instance", "args": ["builtins.bool"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": [{".class": "UnionType", "items": [{".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}], "type_ref": "typing.Sequence"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "xla_pmap_impl", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "xla_pmap_p": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax.interpreters.pxla.xla_pmap_p", "name": "xla_pmap_p", "type": "jax.core.MapPrimitive"}}}, "path": "/home/patrick/hf/lib/python3.7/site-packages/jax/interpreters/pxla.py"} |