{".class": "MypyFile", "_fullname": "jax._src.lax.parallel", "future_import_flags": [], "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "AxisName": {".class": "SymbolTableNode", "cross_ref": "jax.core.AxisName", "kind": "Gdef"}, "Sequence": {".class": "SymbolTableNode", "cross_ref": "typing.Sequence", "kind": "Gdef"}, "ShapedArray": {".class": "SymbolTableNode", "cross_ref": "jax.core.ShapedArray", "kind": "Gdef"}, "Union": {".class": "SymbolTableNode", "cross_ref": "typing.Union", "kind": "Gdef"}, "XeinsumSpecParser": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax._src.lax.parallel.XeinsumSpecParser", "name": "XeinsumSpecParser", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax._src.lax.parallel.XeinsumSpecParser", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "jax._src.lax.parallel", "mro": ["jax._src.lax.parallel.XeinsumSpecParser", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "spec"], "flags": [], "fullname": "jax._src.lax.parallel.XeinsumSpecParser.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "spec"], "arg_types": ["jax._src.lax.parallel.XeinsumSpecParser", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of XeinsumSpecParser", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "cur": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "jax._src.lax.parallel.XeinsumSpecParser.cur", "name": "cur", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "cur", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["jax._src.lax.parallel.XeinsumSpecParser"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": "cur of XeinsumSpecParser", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "eof": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "jax._src.lax.parallel.XeinsumSpecParser.eof", "name": "eof", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "eof", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["jax._src.lax.parallel.XeinsumSpecParser"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": "eof of XeinsumSpecParser", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "maybe_take": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1], "arg_names": ["self", "char", "on_eof"], "flags": [], "fullname": "jax._src.lax.parallel.XeinsumSpecParser.maybe_take", "name": "maybe_take", "type": {".class": "CallableType", "arg_kinds": [0, 0, 1], "arg_names": ["self", "char", "on_eof"], "arg_types": ["jax._src.lax.parallel.XeinsumSpecParser", "builtins.str", "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "maybe_take of XeinsumSpecParser", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "parse_arg": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax._src.lax.parallel.XeinsumSpecParser.parse_arg", "name": "parse_arg", "type": null}}, "parse_args": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax._src.lax.parallel.XeinsumSpecParser.parse_args", "name": "parse_args", "type": null}}, "parse_axis_name": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax._src.lax.parallel.XeinsumSpecParser.parse_axis_name", "name": "parse_axis_name", "type": null}}, "parse_subscript": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax._src.lax.parallel.XeinsumSpecParser.parse_subscript", "name": "parse_subscript", "type": null}}, "pos": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax._src.lax.parallel.XeinsumSpecParser.pos", "name": "pos", "type": "builtins.int"}}, "spec": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "jax._src.lax.parallel.XeinsumSpecParser.spec", "name": "spec", "type": "builtins.str"}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "__annotations__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "jax._src.lax.parallel.__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._src.lax.parallel.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "jax._src.lax.parallel.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "jax._src.lax.parallel.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "jax._src.lax.parallel.__package__", "name": "__package__", "type": "builtins.str"}}, "_all_gather_abstract_eval": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 3, 3, 3, 3, 3], "arg_names": ["x", "all_gather_dimension", "axis_name", "axis_index_groups", "axis_size", "tiled"], "flags": [], "fullname": "jax._src.lax.parallel._all_gather_abstract_eval", "name": "_all_gather_abstract_eval", "type": null}}, "_all_gather_batched_collective": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "arg_names": ["frame_size", "frame_name", "_", "vals_in", "dims_in", "all_gather_dimension", "axis_name", "axis_index_groups", "axis_size", "tiled"], "flags": [], "fullname": "jax._src.lax.parallel._all_gather_batched_collective", "name": "_all_gather_batched_collective", "type": null}}, "_all_gather_batcher": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 3, 3, 3, 3, 3], "arg_names": ["vals_in", "dims_in", "all_gather_dimension", "axis_name", "axis_index_groups", "axis_size", "tiled"], "flags": [], "fullname": "jax._src.lax.parallel._all_gather_batcher", "name": "_all_gather_batcher", "type": null}}, "_all_gather_impl": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 3, 3, 3, 3, 3], "arg_names": ["x", "all_gather_dimension", "axis_name", "axis_index_groups", "axis_size", "tiled"], "flags": [], "fullname": "jax._src.lax.parallel._all_gather_impl", "name": "_all_gather_impl", "type": null}}, "_all_gather_lowering": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 3, 3, 3, 3, 3], "arg_names": ["ctx", "x", "all_gather_dimension", "axis_name", "axis_index_groups", "axis_size", "tiled"], "flags": [], "fullname": "jax._src.lax.parallel._all_gather_lowering", "name": "_all_gather_lowering", "type": null}}, "_all_gather_transpose_rule": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 3, 3, 3, 3, 3], "arg_names": ["cts", "x", "all_gather_dimension", "axis_name", "axis_index_groups", "axis_size", "tiled"], "flags": [], "fullname": "jax._src.lax.parallel._all_gather_transpose_rule", "name": "_all_gather_transpose_rule", "type": null}}, "_all_gather_via_psum": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 3, 3, 3, 3, 3], "arg_names": ["x", "all_gather_dimension", "axis_name", "axis_index_groups", "axis_size", "tiled"], "flags": [], "fullname": "jax._src.lax.parallel._all_gather_via_psum", "name": "_all_gather_via_psum", "type": null}}, "_all_to_all_abstract_eval": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0], "arg_names": ["x", "axis_name", "split_axis", "concat_axis", "axis_index_groups"], "flags": [], "fullname": "jax._src.lax.parallel._all_to_all_abstract_eval", "name": "_all_to_all_abstract_eval", "type": null}}, "_all_to_all_batched_collective": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 0, 0, 0, 0], "arg_names": ["axis_size", "frame_name", "_", "vals_in", "dims_in", "axis_name", "split_axis", "concat_axis", "axis_index_groups"], "flags": [], "fullname": "jax._src.lax.parallel._all_to_all_batched_collective", "name": "_all_to_all_batched_collective", "type": null}}, "_all_to_all_batcher": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 3, 3, 3, 3], "arg_names": ["vals_in", "dims_in", "axis_name", "split_axis", "concat_axis", "axis_index_groups"], "flags": [], "fullname": "jax._src.lax.parallel._all_to_all_batcher", "name": "_all_to_all_batcher", "type": null}}, "_all_to_all_lowering": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 3, 3, 3, 3], "arg_names": ["ctx", "x", "split_axis", "concat_axis", "axis_name", "axis_index_groups"], "flags": [], "fullname": "jax._src.lax.parallel._all_to_all_lowering", "name": "_all_to_all_lowering", "type": null}}, "_all_to_all_transpose_rule": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 0], "arg_names": ["cts", "x", "axis_name", "split_axis", "concat_axis", "axis_index_groups"], "flags": [], "fullname": "jax._src.lax.parallel._all_to_all_transpose_rule", "name": "_all_to_all_transpose_rule", "type": null}}, "_all_to_all_via_all_gather": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 3, 3, 3, 3], "arg_names": ["x", "axis_name", "split_axis", "concat_axis", "axis_index_groups"], "flags": [], "fullname": "jax._src.lax.parallel._all_to_all_via_all_gather", "name": "_all_to_all_via_all_gather", "type": null}}, "_allreduce_abstract_eval": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [2, 3, 3], "arg_names": ["args", "axes", "axis_index_groups"], "flags": [], "fullname": "jax._src.lax.parallel._allreduce_abstract_eval", "name": "_allreduce_abstract_eval", "type": null}}, "_allreduce_impl": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 2, 3, 3], "arg_names": ["pos_reducer", "args", "axes", "axis_index_groups"], "flags": [], "fullname": "jax._src.lax.parallel._allreduce_impl", "name": "_allreduce_impl", "type": null}}, "_allreduce_lowering": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 2, 3, 3], "arg_names": ["prim", "pos_fn", "ctx", "args", "axes", "axis_index_groups"], "flags": [], "fullname": "jax._src.lax.parallel._allreduce_lowering", "name": "_allreduce_lowering", "type": null}}, "_axis_index_abstract_eval": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [3], "arg_names": ["axis_name"], "flags": [], "fullname": "jax._src.lax.parallel._axis_index_abstract_eval", "name": "_axis_index_abstract_eval", "type": null}}, "_axis_index_bind": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [3], "arg_names": ["axis_name"], "flags": [], "fullname": "jax._src.lax.parallel._axis_index_bind", "name": "_axis_index_bind", "type": null}}, "_axis_index_lowering": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 3], "arg_names": ["ctx", "axis_name"], "flags": [], "fullname": "jax._src.lax.parallel._axis_index_lowering", "name": "_axis_index_lowering", "type": null}}, "_axis_index_of_val": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["x", "val", "axis_name"], "flags": [], "fullname": "jax._src.lax.parallel._axis_index_of_val", "name": "_axis_index_of_val", "type": null}}, "_batched_reduction_collective": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 0, 0, 0, 0], "arg_names": ["prim", "if_unmapped", "axis_size", "frame_name", "_", "vals_in", "dims_in", "axes", "axis_index_groups"], "flags": [], "fullname": "jax._src.lax.parallel._batched_reduction_collective", "name": "_batched_reduction_collective", "type": null}}, "_build_axis_index_lowering_mhlo": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["axis_name", "axis_env"], "flags": [], "fullname": "jax._src.lax.parallel._build_axis_index_lowering_mhlo", "name": "_build_axis_index_lowering_mhlo", "type": null}}, "_canonicalize_axis_index_groups": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["axis_index_groups"], "flags": [], "fullname": "jax._src.lax.parallel._canonicalize_axis_index_groups", "name": "_canonicalize_axis_index_groups", "type": null}}, "_collective_batcher": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 4], "arg_names": ["prim", "args", "dims", "params"], "flags": [], "fullname": "jax._src.lax.parallel._collective_batcher", "name": "_collective_batcher", "type": null}}, "_expand": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0], "arg_names": ["dim", "size", "index", "tiled", "x"], "flags": [], "fullname": "jax._src.lax.parallel._expand", "name": "_expand", "type": null}}, "_foldaxis": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["axis", "x"], "flags": [], "fullname": "jax._src.lax.parallel._foldaxis", "name": "_foldaxis", "type": null}}, "_index_in_group": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["axis_name", "axis_index_groups"], "flags": [], "fullname": "jax._src.lax.parallel._index_in_group", "name": "_index_in_group", "type": null}}, "_moveaxis": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["src", "dst", "x"], "flags": [], "fullname": "jax._src.lax.parallel._moveaxis", "name": "_moveaxis", "type": null}}, "_pdot_abstract_eval": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 3, 3, 3, 3], "arg_names": ["x", "y", "axis_name", "pos_contract", "pos_batch", "precision"], "flags": ["is_decorated"], "fullname": "jax._src.lax.parallel._pdot_abstract_eval", "name": "_pdot_abstract_eval", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "_pdot_abstract_eval", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}, "_pdot_impl": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 3, 3, 3, 3], "arg_names": ["x", "y", "axis_name", "pos_contract", "pos_batch", "precision"], "flags": ["is_decorated"], "fullname": "jax._src.lax.parallel._pdot_impl", "name": "_pdot_impl", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "_pdot_impl", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}, "_pdot_lowering": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 3, 3, 3, 3], "arg_names": ["x", "y", "axis_name", "pos_contract", "pos_batch", "precision"], "flags": [], "fullname": "jax._src.lax.parallel._pdot_lowering", "name": "_pdot_lowering", "type": null}}, "_pdot_transpose_lhs": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 3, 3, 3, 3], "arg_names": ["g", "y", "axis_name", "pos_contract", "pos_batch", "precision"], "flags": [], "fullname": "jax._src.lax.parallel._pdot_transpose_lhs", "name": "_pdot_transpose_lhs", "type": null}}, "_pdot_transpose_rhs": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 3, 3, 3, 3], "arg_names": ["g", "x", "axis_name", "pos_contract", "pos_batch", "precision"], "flags": [], "fullname": "jax._src.lax.parallel._pdot_transpose_rhs", "name": "_pdot_transpose_rhs", "type": null}}, "_pdot_vmap_batching_rule": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 3, 3, 3, 3], "arg_names": ["vals_in", "dims_in", "axis_name", "pos_contract", "pos_batch", "precision"], "flags": [], "fullname": "jax._src.lax.parallel._pdot_vmap_batching_rule", "name": "_pdot_vmap_batching_rule", "type": null}}, "_pdot_vmap_collective_rule": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 3, 3, 3, 3], "arg_names": ["axis_size", "frame_name", "_", "vals_in", "dims_in", "axis_name", "pos_contract", "pos_batch", "precision"], "flags": [], "fullname": "jax._src.lax.parallel._pdot_vmap_collective_rule", "name": "_pdot_vmap_collective_rule", "type": null}}, "_pgather_abstract_eval": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 3], "arg_names": ["src", "idx", "axes"], "flags": [], "fullname": "jax._src.lax.parallel._pgather_abstract_eval", "name": "_pgather_abstract_eval", "type": null}}, "_pgather_batcher": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 3], "arg_names": ["vals_in", "dims_in", "axes"], "flags": [], "fullname": "jax._src.lax.parallel._pgather_batcher", "name": "_pgather_batcher", "type": null}}, "_pgather_collective_batcher": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 3], "arg_names": ["axis_size", "frame_name", "_", "vals_in", "dims_in", "axes"], "flags": [], "fullname": "jax._src.lax.parallel._pgather_collective_batcher", "name": "_pgather_collective_batcher", "type": null}}, "_pgather_impl": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 3], "arg_names": ["src", "idx", "axes"], "flags": [], "fullname": "jax._src.lax.parallel._pgather_impl", "name": "_pgather_impl", "type": null}}, "_pgather_parallel_lowering": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 3], "arg_names": ["ctx", "src", "idx", "axes"], "flags": [], "fullname": "jax._src.lax.parallel._pgather_parallel_lowering", "name": "_pgather_parallel_lowering", "type": null}}, "_ppermute_batcher": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 0, 0], "arg_names": ["axis_size", "frame_name", "_", "vals_in", "dims_in", "axis_name", "perm"], "flags": [], "fullname": "jax._src.lax.parallel._ppermute_batcher", "name": "_ppermute_batcher", "type": null}}, "_ppermute_lowering": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 3, 3], "arg_names": ["ctx", "x", "axis_name", "perm"], "flags": [], "fullname": "jax._src.lax.parallel._ppermute_lowering", "name": "_ppermute_lowering", "type": null}}, "_ppermute_transpose_rule": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["t", "x", "perm", "axis_name"], "flags": [], "fullname": "jax._src.lax.parallel._ppermute_transpose_rule", "name": "_ppermute_transpose_rule", "type": null}}, "_psum_transpose_rule": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 2, 3, 3], "arg_names": ["cts", "args", "axes", "axis_index_groups"], "flags": [], "fullname": "jax._src.lax.parallel._psum_transpose_rule", "name": "_psum_transpose_rule", "type": null}}, "_reduce_scatter_abstract_eval": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 3, 3, 3, 3, 3], "arg_names": ["x", "axis_name", "scatter_dimension", "axis_index_groups", "axis_size", "tiled"], "flags": [], "fullname": "jax._src.lax.parallel._reduce_scatter_abstract_eval", "name": "_reduce_scatter_abstract_eval", "type": null}}, "_reduce_scatter_lowering": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 3, 3, 3, 3, 3], "arg_names": ["prim", "reducer", "ctx", "x", "scatter_dimension", "axis_name", "axis_index_groups", "axis_size", "tiled"], "flags": [], "fullname": "jax._src.lax.parallel._reduce_scatter_lowering", "name": "_reduce_scatter_lowering", "type": null}}, "_reduce_scatter_via_reducer": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 3, 3, 3, 3, 3, 3], "arg_names": ["x", "reducer", "scatter_dimension", "axis_name", "axis_index_groups", "axis_size", "tiled"], "flags": [], "fullname": "jax._src.lax.parallel._reduce_scatter_via_reducer", "name": "_reduce_scatter_via_reducer", "type": null}}, "_reduction_batcher": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 3, 3], "arg_names": ["prim", "vals_in", "dims_in", "axes", "axis_index_groups"], "flags": [], "fullname": "jax._src.lax.parallel._reduction_batcher", "name": "_reduction_batcher", "type": null}}, "_reduction_with_positional_batcher": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 0], "arg_names": ["prim", "vals_in", "dims_in", "axis_index_groups", "transform_unmapped", "transform_mapped"], "flags": [], "fullname": "jax._src.lax.parallel._reduction_with_positional_batcher", "name": "_reduction_with_positional_batcher", "type": null}}, "_replica_groups": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["axis_env", "axis_name", "axis_index_groups"], "flags": [], "fullname": "jax._src.lax.parallel._replica_groups", "name": "_replica_groups", "type": null}}, "_replica_groups_mhlo": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["replica_groups"], "flags": [], "fullname": "jax._src.lax.parallel._replica_groups_mhlo", "name": "_replica_groups_mhlo", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["replica_groups"], "arg_types": [{".class": "Instance", "args": [{".class": "Instance", "args": ["builtins.int"], "type_ref": "typing.Sequence"}], "type_ref": "typing.Sequence"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_replica_groups_mhlo", "ret_type": {".class": "AnyType", "missing_import_name": "jax._src.lib.mlir.ir", "source_any": null, "type_of_any": 3}, "type_guard": null, "variables": []}}}, "_splitaxis": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["axis", "factor", "x"], "flags": [], "fullname": "jax._src.lax.parallel._splitaxis", "name": "_splitaxis", "type": null}}, "_subst_all_names_in_param": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["pname", "params", "subst", "traverse"], "flags": [], "fullname": "jax._src.lax.parallel._subst_all_names_in_param", "name": "_subst_all_names_in_param", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0], "arg_names": ["pname", "params", "subst", "traverse"], "arg_types": ["builtins.str", {".class": "TypeAliasType", "args": [], "type_ref": "jax.core.ParamDict"}, {".class": "TypeAliasType", "args": [], "type_ref": "jax.core.AxisSubst"}, "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_subst_all_names_in_param", "ret_type": {".class": "TypeAliasType", "args": [], "type_ref": "jax.core.ParamDict"}, "type_guard": null, "variables": []}}}, "_validate_reduce_axis_index_groups": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["axis_index_groups"], "flags": [], "fullname": "jax._src.lax.parallel._validate_reduce_axis_index_groups", "name": "_validate_reduce_axis_index_groups", "type": null}}, "_vmap_process_axis_index": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "frame"], "flags": [], "fullname": "jax._src.lax.parallel._vmap_process_axis_index", "name": "_vmap_process_axis_index", "type": null}}, "ad": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.ad", "kind": "Gdef"}, "all_gather": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 5, 5, 5], "arg_names": ["x", "axis_name", "axis_index_groups", "axis", "tiled"], "flags": [], "fullname": "jax._src.lax.parallel.all_gather", "name": "all_gather", "type": null}}, "all_gather_p": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax._src.lax.parallel.all_gather_p", "name": "all_gather_p", "type": "jax.core.AxisPrimitive"}}, "all_to_all": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 5, 5], "arg_names": ["x", "axis_name", "split_axis", "concat_axis", "axis_index_groups", "tiled"], "flags": [], "fullname": "jax._src.lax.parallel.all_to_all", "name": "all_to_all", "type": null}}, "all_to_all_p": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax._src.lax.parallel.all_to_all_p", "name": "all_to_all_p", "type": "jax.core.AxisPrimitive"}}, "axis_index": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["axis_name"], "flags": [], "fullname": "jax._src.lax.parallel.axis_index", "name": "axis_index", "type": null}}, "axis_index_p": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax._src.lax.parallel.axis_index_p", "name": "axis_index_p", "type": "jax.core.Primitive"}}, "batching": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.batching", "kind": "Gdef"}, "canonicalize_axis": {".class": "SymbolTableNode", "cross_ref": "jax._src.util.canonicalize_axis", "kind": "Gdef"}, "core": {".class": "SymbolTableNode", "cross_ref": "jax.core", "kind": "Gdef"}, "dtypes": {".class": "SymbolTableNode", "cross_ref": "jax._src.dtypes", "kind": "Gdef"}, "ir": {".class": "SymbolTableNode", "cross_ref": "jax._src.lib.mlir.ir", "kind": "Gdef"}, "itertools": {".class": "SymbolTableNode", "cross_ref": "itertools", "kind": "Gdef"}, "jax": {".class": "SymbolTableNode", "cross_ref": "jax", "kind": "Gdef"}, "lax": {".class": "SymbolTableNode", "cross_ref": "jax._src.lax.lax", "kind": "Gdef"}, "lax_numpy": {".class": "SymbolTableNode", "cross_ref": "jax._src.numpy.lax_numpy", "kind": "Gdef"}, "map": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax._src.lax.parallel.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": []}}}, "mhlo": {".class": "SymbolTableNode", "cross_ref": "jax._src.lib.mlir.dialects.mhlo", "kind": "Gdef"}, "mlir": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.mlir", "kind": "Gdef"}, "moveaxis": {".class": "SymbolTableNode", "cross_ref": "jax._src.util.moveaxis", "kind": "Gdef"}, "np": {".class": "SymbolTableNode", "cross_ref": "numpy", "kind": "Gdef"}, "pargmax": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["x", "axis_name"], "flags": [], "fullname": "jax._src.lax.parallel.pargmax", "name": "pargmax", "type": null}}, "pargmin": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["x", "axis_name"], "flags": [], "fullname": "jax._src.lax.parallel.pargmin", "name": "pargmin", "type": null}}, "partial": {".class": "SymbolTableNode", "cross_ref": "functools.partial", "kind": "Gdef"}, "pdot": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 1, 1, 1], "arg_names": ["x", "y", "axis_name", "pos_contract", "pos_batch", "precision"], "flags": [], "fullname": "jax._src.lax.parallel.pdot", "name": "pdot", "type": null}}, "pdot_p": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax._src.lax.parallel.pdot_p", "name": "pdot_p", "type": "jax.core.AxisPrimitive"}}, "pgather": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["src", "idx", "axes"], "flags": [], "fullname": "jax._src.lax.parallel.pgather", "name": "pgather", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["src", "idx", "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": "UnionType", "items": ["builtins.int", "typing.Hashable"]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "pgather", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "pgather_p": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax._src.lax.parallel.pgather_p", "name": "pgather_p", "type": "jax.core.AxisPrimitive"}}, "pmax": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 5], "arg_names": ["x", "axis_name", "axis_index_groups"], "flags": [], "fullname": "jax._src.lax.parallel.pmax", "name": "pmax", "type": null}}, "pmax_p": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax._src.lax.parallel.pmax_p", "name": "pmax_p", "type": "jax.core.AxisPrimitive"}}, "pmean": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 5], "arg_names": ["x", "axis_name", "axis_index_groups"], "flags": [], "fullname": "jax._src.lax.parallel.pmean", "name": "pmean", "type": null}}, "pmin": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 5], "arg_names": ["x", "axis_name", "axis_index_groups"], "flags": [], "fullname": "jax._src.lax.parallel.pmin", "name": "pmin", "type": null}}, "pmin_p": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax._src.lax.parallel.pmin_p", "name": "pmin_p", "type": "jax.core.AxisPrimitive"}}, "ppermute": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["x", "axis_name", "perm"], "flags": [], "fullname": "jax._src.lax.parallel.ppermute", "name": "ppermute", "type": null}}, "ppermute_p": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax._src.lax.parallel.ppermute_p", "name": "ppermute_p", "type": "jax.core.AxisPrimitive"}}, "prod": {".class": "SymbolTableNode", "cross_ref": "jax._src.util.prod", "kind": "Gdef"}, "pshuffle": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["x", "axis_name", "perm"], "flags": [], "fullname": "jax._src.lax.parallel.pshuffle", "name": "pshuffle", "type": null}}, "psum": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 5], "arg_names": ["x", "axis_name", "axis_index_groups"], "flags": [], "fullname": "jax._src.lax.parallel.psum", "name": "psum", "type": null}}, "psum_bind": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [2, 3, 3], "arg_names": ["args", "axes", "axis_index_groups"], "flags": ["is_decorated"], "fullname": "jax._src.lax.parallel.psum_bind", "name": "psum_bind", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "psum_bind", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}, "psum_p": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax._src.lax.parallel.psum_p", "name": "psum_p", "type": "jax.core.AxisPrimitive"}}, "psum_scatter": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 5, 5, 5], "arg_names": ["x", "axis_name", "scatter_dimension", "axis_index_groups", "tiled"], "flags": [], "fullname": "jax._src.lax.parallel.psum_scatter", "name": "psum_scatter", "type": null}}, "pswapaxes": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 5], "arg_names": ["x", "axis_name", "axis", "axis_index_groups"], "flags": [], "fullname": "jax._src.lax.parallel.pswapaxes", "name": "pswapaxes", "type": null}}, "pxla": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.pxla", "kind": "Gdef"}, "raise_to_shaped": {".class": "SymbolTableNode", "cross_ref": "jax.core.raise_to_shaped", "kind": "Gdef"}, "reduce_scatter_p": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax._src.lax.parallel.reduce_scatter_p", "name": "reduce_scatter_p", "type": "jax.core.AxisPrimitive"}}, "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"}, "slicing": {".class": "SymbolTableNode", "cross_ref": "jax._src.lax.slicing", "kind": "Gdef"}, "string": {".class": "SymbolTableNode", "cross_ref": "string", "kind": "Gdef"}, "tree_util": {".class": "SymbolTableNode", "cross_ref": "jax.tree_util", "kind": "Gdef"}, "unsafe_map": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax._src.lax.parallel.unsafe_map", "name": "unsafe_map", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}}}, "unzip2": {".class": "SymbolTableNode", "cross_ref": "jax._src.util.unzip2", "kind": "Gdef"}, "util": {".class": "SymbolTableNode", "cross_ref": "jax._src.util", "kind": "Gdef"}, "warnings": {".class": "SymbolTableNode", "cross_ref": "warnings", "kind": "Gdef"}, "xeinsum": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 2], "arg_names": ["spec", "operands"], "flags": [], "fullname": "jax._src.lax.parallel.xeinsum", "name": "xeinsum", "type": {".class": "CallableType", "arg_kinds": [0, 2], "arg_names": ["spec", "operands"], "arg_types": ["builtins.str", {".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": "xeinsum", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "xla": {".class": "SymbolTableNode", "cross_ref": "jax.interpreters.xla", "kind": "Gdef"}}, "path": "/home/patrick/hf/lib/python3.7/site-packages/jax/_src/lax/parallel.py"}