MCPcopy Create free account

hub / github.com/pytorch/executorch / functions

Functions28,493 in github.com/pytorch/executorch

↓ 5 callersMethod__init__
Initialize the stage.
export/stages.py:60
↓ 5 callersMethod_apply_cse_pass
Apply HierarchicalCSEPass and return the resulting graph module.
backends/cadence/aot/tests/test_fusion_ops_passes.py:1332
↓ 5 callersFunction_arg0_node
Return the first positional arg as a torch.fx.Node. Workaround for aten ops whose first schema param is `self`: `Node.normalized_arguments(no
backends/cadence/aot/quantizer/passes/fuse_ops.py:93
↓ 5 callersFunction_assert_disallow_flags
( graph: torch.fx.Graph, expected_flags: dict[str, bool], )
backends/arm/test/quantizer/test_partial_quantization.py:92
↓ 5 callersFunction_build
(model_cls)
backends/arm/test/ops/test_unary_combos.py:87
↓ 5 callersFunction_check
(x, msg)
exir/serde/schema_check.py:23
↓ 5 callersFunction_combine_shapes
The fake kernels run during export/meta execution. Using Python arithmetic directly on `torch.SymInt` would consult the current ShapeEnv hint
backends/arm/tosa/dialect/ops/shape_ops.py:62
↓ 5 callersMethod_count_ops
(gm, target)
exir/tests/test_passes.py:2707
↓ 5 callersFunction_create_causal_mask_for_ring_buffer
( cache_positions, window_size, start_pos, seq_len )
examples/models/llama/attention.py:153
↓ 5 callersMethod_create_node
( self, graph_module, target, args, meta_node, new_meta_val, qdq_node )
backends/qualcomm/_passes/convert_linear_to_conv2d.py:62
↓ 5 callersMethod_create_transpose_operator
Create a `Transpose` operator with given input, output and permutation.
backends/nxp/backend/ir/converter/builder/model_builder.py:890
↓ 5 callersFunction_do_user_inputs_exist
(graph_signature: Optional[ExportGraphSignature])
exir/memory_planning.py:511
↓ 5 callersMethod_emit_argument
Emit an argument to an operator or delegate if it had not already been emitted otherwise return the previously emitted location
exir/emit/_emitter.py:1355
↓ 5 callersFunction_export_two_op_graph_module
()
backends/cortex_m/test/misc/test_quantizer_reporter.py:46
↓ 5 callersFunction_expr
Return the SymPy expression backing a SymInt.
backends/arm/test/misc/tosa_dialect/test_tosa_shape_ops.py:32
↓ 5 callersFunction_file_header
Generate a standard auto-generated file header. Args: comment: Comment prefix, e.g. '#' for Python or '//' for C++. description:
backends/mlx/serialization/generate.py:134
↓ 5 callersMethod_gen_from_etdump
Given an etdump, generate a list of EventBlocks corresponding to the contents. An optional (inverse) scale factor can be pro
devtools/inspector/_inspector.py:780
↓ 5 callersMethod_get_emitter_output
(self)
exir/program/_program.py:603
↓ 5 callersMethod_get_pass_pipeline_config
Returns configuration that controls how the Arm pass pipeline should behave. Subclasses may override to tweak defaults for specific t
backends/arm/common/arm_compile_spec.py:268
↓ 5 callersMethod_get_profiles_string
Return the ``+``-joined profile segment (e.g., ``+INT+FP``).
backends/arm/tosa/specification.py:300
↓ 5 callersMethod_get_program_input
( self, program: core_schema.Program, plan_idx: int, input_idx: int )
devtools/bundled_program/core.py:196
↓ 5 callersMethod_get_random_inputs
(cls)
exir/program/test/test_program.py:55
↓ 5 callersMethod_get_single_slice
(self, gm: torch.fx.GraphModule)
backends/cadence/aot/tests/test_fusion_ops_passes.py:1709
↓ 5 callersFunction_get_submodule
( graph_module: torch.fx.GraphModule, node: torch.fx.Node, arg_index: int )
exir/graph_module.py:39
↓ 5 callersFunction_get_weight_qspec
( dtype, is_symmetric, is_per_channel, is_qat, quant_min=None, quant_max=None )
backends/mediatek/quantizer/qconfig.py:96
↓ 5 callersFunction_is_annotated
Given a list of nodes (that represents an operator pattern), return True if any of the node is annotated, otherwise return False
backends/mediatek/quantizer/annotator.py:55
↓ 5 callersFunction_is_annotated
Given a list of nodes (that represents an operator pattern), check if any of the node is annotated, return True if any of the node is ann
backends/apple/coreml/quantizer/_coreml_quantizer_utils.py:43
↓ 5 callersFunction_is_integer_dtype
(dtype: torch.dtype)
backends/arm/operator_support/tosa_supported_operators.py:145
↓ 5 callersFunction_is_kv_shared_layer
Check if this layer uses shared K/V from a donor layer (YOCO).
examples/models/llama/llama_transformer.py:49
↓ 5 callersFunction_is_mutable_buffer
Check if the node is mutable buffer according to the provided graph signature.
exir/memory_planning.py:481
↓ 5 callersMethod_is_nhwc
(self, tensor: torch.Tensor)
backends/xnnpack/_passes/channels_last_tagged_reshape_pass.py:159
↓ 5 callersFunction_load_llama_model_metadata
( use_kv_cache: bool, use_sdpa_with_kv_cache: bool, enable_dynamic_shape: bool, max_seq_len: i
examples/models/llama/export_llama_lib.py:1557
↓ 5 callersFunction_make_int32_placeholder
(graph: torch.fx.Graph, name: str = "x")
backends/arm/test/passes/test_rescale_optimization.py:98
↓ 5 callersMethod_make_quantized_binary_op
Create an OpRepSets for a quantized binary op with separate arg/out repsets.
backends/vulkan/test/test_vulkan_tensor_repr.py:833
↓ 5 callersFunction_make_rnn_fp_pipeline
(module: ModuleWithInputs)
backends/arm/test/modules/test_rnn.py:143
↓ 5 callersFunction_make_rnn_int_pipeline
(module: ModuleWithInputs)
backends/arm/test/modules/test_rnn.py:159
↓ 5 callersFunction_make_shape_env
( *, symbol_name: str = "s89", hint: int = 2, compiler_min: int = 1, compiler_max: int = 2
backends/arm/test/passes/test_symbolic_value_range.py:14
↓ 5 callersFunction_materialize_buffers
Materialize meta-device buffers before torch.export. Replaces meta buffers with real tensors on CPU, recomputes RoPE inv_freq and causal mask
examples/models/qwen3_5_moe/export.py:621
↓ 5 callersFunction_mlx_group_size
Find an MLX-compatible group_size for the given weight group_size. If ``gs`` is already in {32, 64, 128}, return it. Otherwise find the larg
examples/models/gemma4_31b/quant/pack_mlx.py:71
↓ 5 callersMethod_new_vn
Allocate a fresh unique value number.
exir/passes/cse_pass.py:134
↓ 5 callersMethod_pack
(self, symmetric=False, group_size=32)
examples/models/gemma4_31b/quant/tests/test_pack_cuda.py:49
↓ 5 callersMethod_possible_pdis
(self)
backends/vulkan/utils.py:1016
↓ 5 callersFunction_quantize
Quantize layer-by-layer on CUDA, keeping the model on CPU. Only submodules without meta buffers are moved to CUDA. The quantized model stays
examples/models/qwen3_5_moe/export.py:404
↓ 5 callersFunction_quantize_simple
Quantize [N, K] bf16 weight to simple packed INT4 + per-group scales. Returns: w_packed: [N, K//2] int8 — two INT4 values per byte
backends/cuda/tests/test_int4_matmul.py:67
↓ 5 callersFunction_remove_invalid_ops_for_not_decompose
( # noqa: C901 preserve_ops: List[torch._ops.OpOverload], )
exir/program/_program.py:1084
↓ 5 callersFunction_require_cuda
(tc: unittest.TestCase)
backends/cuda/tests/test_int4_dispatch.py:38
↓ 5 callersFunction_require_cuda
(tc: unittest.TestCase)
examples/models/gemma4_31b/quant/tests/test_pack_cuda.py:36
↓ 5 callersFunction_run_cmd
Run a command and check for errors. Args: cmd (List[str]): The command to run as a list.
backends/arm/test/runner_utils.py:675
↓ 5 callersFunction_run_fuse_pass
(graph_module: torch.fx.GraphModule)
backends/arm/test/passes/test_rescale_optimization.py:93
↓ 5 callersFunction_run_quantization_pipeline
( module: torch.nn.Module, global_config: QuantizationConfig | None = None, module_type_configs: (
backends/arm/test/quantizer/test_partial_quantization.py:57
↓ 5 callersMethod_set_compile_specs
Set all values of dataclass directly.
backends/arm/common/arm_compile_spec.py:50
↓ 5 callersFunction_single_input_case
( module_factory: Callable[[], torch.nn.Module], )
backends/arm/test/ops/test_while.py:167
↓ 5 callersFunction_spec
(o: Any)
extension/pytree/test/test.py:25
↓ 5 callersFunction_tapped_edge
(reducer)
devtools/intermediate_output_tap/tests/test_strip_pass.py:33
↓ 5 callersMethod_tensor_spec_to_evalue
Constructs an EValue from the given TensorSpec.
exir/emit/_emitter.py:436
↓ 5 callersMethod_test_eager
(self, model, example_inputs, num_lifted_args=1)
backends/transforms/test/test_create_mutable_buffer.py:224
↓ 5 callersMethod_test_edge_pass
(self, model, example_inputs, num_lifted_args=1)
backends/transforms/test/test_create_mutable_buffer.py:189
↓ 5 callersMethod_test_function_schema_generates_correct_kernel
( self, obj: dict[str, Any], expected: str )
codegen/test/test_executorch_custom_ops.py:44
↓ 5 callersMethod_test_kv_cache
Given an executorch kv cache anywhere along the export chain, compare it's results against torchtune and run basic tests.
extension/llm/modules/test/test_kv_cache.py:68
↓ 5 callersMethod_test_model_with_non_decomp_partitioner
(self, model: torch.nn.Module)
exir/program/test/test_program.py:679
↓ 5 callersMethod_to_edge_gm
(module, example_inputs)
exir/tests/test_passes.py:2701
↓ 5 callersFunction_try_determine_dtype
Return an inferred dtype for a node when possible. Uses fake tensor metadata and nearby quantize/dequantize nodes to infer the integer dtype
backends/arm/operator_support/ethos_u55_support.py:24
↓ 5 callersFunction_unwrap_if_fq
(node: Node, named_modules: dict)
backends/nxp/aten_passes/fuse_batch_norm_with_linear_pass.py:17
↓ 5 callersMethod_update_with_indices_and_validate
( self, k, k_scales, k_zero_points, start_pos, indices )
extension/llm/custom_ops/test_update_cache.py:104
↓ 5 callersMethod_validate_decomposition
( self, edge_manager: EdgeProgramManager, dtype: torch.dtype, num_channels: in
backends/xnnpack/test/passes/test_decompose_batch_norm.py:150
↓ 5 callersMethod_verify_no_delegation
(module, input_shape)
backends/nxp/tests/ir/converter/node_converter/test_max_pool_2d_converter.py:135
↓ 5 callersMethodadd_node
(self, node_list, excel_data)
backends/qualcomm/debugger/utils.py:89
↓ 5 callersMethodall_versions_and_profiles
Return specs for all supported versions and profiles.
backends/arm/tosa/specification.py:153
↓ 5 callersFunctionapply_passes
(program: ExportedProgram, passes)
backends/vulkan/vulkan_preprocess.py:69
↓ 5 callersFunctionapply_permutation_to
Permute a list according to a permutation. Uses the same permutation format as the NeutronIR Transpose operator. :param target: A list of any typ
backends/nxp/backend/ir/converter/conversion/translator.py:487
↓ 5 callersMethodapply_update
After inference, update the cache state for next iteration. The runtime needs to implement the same operation.
examples/models/llama/static_attention.py:61
↓ 5 callersFunctionassert_softmax_not_delegated
(graph)
backends/nxp/tests/ir/converter/node_converter/test_softmax_converter.py:50
↓ 5 callersFunctionaten_to_edge
(aten_op: torch._ops.OpOverload)
exir/passes/replace_aten_with_edge_pass.py:24
↓ 5 callersMethodbuffer
Returns the serialized ExecuTorch binary as a byte string. Note that the call to `buffer` may allocate a very large amount of contigu
exir/program/_program.py:626
↓ 5 callersMethodbuffer_is_valid
(self)
backends/vulkan/utils.py:955
↓ 5 callersFunctioncalculate_time_scale_factor
Calculate the factor (source divided by target) between two time scales
devtools/inspector/_inspector_utils.py:134
↓ 5 callersMethodcall_operator
(self, op, args, kwargs, meta)
backends/arm/_passes/decompose_asin_and_acos_pass.py:118
↓ 5 callersMethodcall_operator
(self, op, args, kwargs, meta, updated: bool | None = False)
backends/arm/test/misc/test_const_shape.py:23
↓ 5 callersFunctioncheck_all_chunks_same_num_layer
(num_blocks_per_chunk)
examples/mediatek/aot_utils/llm_utils/sanity_checks.py:27
↓ 5 callersFunctioncheck_between_inclusive
(num, min_, max_, message=None)
examples/mediatek/aot_utils/llm_utils/sanity_checks.py:54
↓ 5 callersFunctioncheck_old_arg
(path)
examples/mediatek/aot_utils/llm_utils/sanity_checks.py:94
↓ 5 callersMethodcheck_serde
(self, m, inputs, check_executorch=True)
exir/tests/test_serde.py:85
↓ 5 callersFunctioncheck_shapes
(shapes)
examples/mediatek/aot_utils/llm_utils/sanity_checks.py:102
↓ 5 callersFunctioncheck_supported_model
(config)
examples/mediatek/aot_utils/llm_utils/sanity_checks.py:128
↓ 5 callersFunctioncheck_supported_tokenizer
(config)
examples/mediatek/aot_utils/llm_utils/sanity_checks.py:158
↓ 5 callersFunctioncheck_tokenizer_exist
(folder)
examples/mediatek/aot_utils/llm_utils/sanity_checks.py:184
↓ 5 callersFunctioncheck_weights_exist
(weight_dir)
examples/mediatek/aot_utils/llm_utils/sanity_checks.py:202
↓ 5 callersMethodcompare
(self, et1, et2, example_inputs)
backends/transforms/test/test_create_mutable_buffer.py:339
↓ 5 callersFunctiondebug_log
Prints a message to stderr if verbosity is greater than zero.
scripts/pick_doc_commits.py:38
↓ 5 callersMethoddecode_token
(self, token)
examples/apple/coreml/llama/run.py:42
↓ 5 callersFunctiondelete_constant_placeholder
Deletes a node of type parameter, buffer, or lifted constant tensor and its related graph signature and state_dict/constant entries. The node
backends/transforms/utils.py:176
↓ 5 callersFunctiondump_embedding_lut_for_cmdline
(weight_dir, state_dict, config)
examples/mediatek/aot_utils/llm_utils/utils.py:229
↓ 5 callersMethodencode
(self, prompt: str)
examples/models/gemma4_31b/tests/test_pipeline.py:90
↓ 5 callersFunctionensure_graph_specific_dict
Ensures the input value is a dictionary with keys matching the provided graph names. If the input is not a dictionary or its keys do
backends/qualcomm/utils/utils.py:378
↓ 5 callersMethodexample_inputs
(self)
backends/qualcomm/tests/models.py:536
↓ 5 callersFunctionfilter_invalid_reprs
`tensor_val` represents an actual tensor participating in some operator computation. `tensor_repset` represents the set of valid tensor repr
backends/vulkan/utils.py:1106
↓ 5 callersMethodfind_input_nodes
(self, exported_program, names=None)
exir/backend/test/test_group_partitioner.py:111
↓ 5 callersFunctionfind_pattern
Implement wildcard pattern matching - node: fx.Node - pattern: predicate list, can contain followings Callable(fx.nod
backends/qualcomm/_passes/utils.py:200
↓ 5 callersFunctionfind_populated_event
Given a ETDump Event object, find the populated event Raise an error if no populated event can be found
devtools/inspector/_inspector_utils.py:248
↓ 5 callersMethodfn
(v, c)
extension/llm/custom_ops/test_update_cross_attn_cache.py:32
← previousnext →1,101–1,200 of 28,493, ranked by callers