MCPcopy Create free account

hub / github.com/pytorch/executorch / functions

Functions28,493 in github.com/pytorch/executorch

↓ 1 callersFunction_is_strict_union
(T: Any, cls: Any, key: str)
exir/_serialize/_dataclass.py:44
↓ 1 callersFunction_is_submodule_input
Determines whether 'node' is an input to a submodule of 'containing_graph_module'.
backends/arm/process_node.py:225
↓ 1 callersMethod_is_tensor_of_dtype
(self, node_val, dtype: torch.dtype)
backends/arm/_passes/insert_int32_casts_after_int64_placeholders.py:85
↓ 1 callersFunction_is_tensorflow
(x)
examples/mediatek/aot_utils/llm_utils/tokenizers_/utils.py:192
↓ 1 callersFunction_is_test_enabled
(test_case: unittest.TestCase, test_filter: TestFilter)
backends/test/suite/discovery.py:72
↓ 1 callersFunction_is_tf_symbolic_tensor
(x)
examples/mediatek/aot_utils/llm_utils/tokenizers_/utils.py:203
↓ 1 callersMethod_is_to_edge_transform_and_lower
Check whether we are being called from to_edge_transform_and_lower.
backends/mlx/partitioner.py:255
↓ 1 callersFunction_is_torch
(x)
examples/mediatek/aot_utils/llm_utils/tokenizers_/utils.py:154
↓ 1 callersFunction_is_torch_device
(x)
examples/mediatek/aot_utils/llm_utils/tokenizers_/utils.py:165
↓ 1 callersFunction_is_torch_dtype
(x)
examples/mediatek/aot_utils/llm_utils/tokenizers_/utils.py:176
↓ 1 callersMethod_is_truthy
(value: Optional[str])
tools/cmake/cmake_cache.py:37
↓ 1 callersMethod_is_unsqueeze
(node_: Node)
backends/nxp/edge_passes/convert_reshaping_nodes_to_view.py:52
↓ 1 callersMethod_is_valid_bool_mask
( self, indices_tensor_list, data, accumulate: bool, )
backends/arm/_passes/normalize_index_put_bool_index_tensor_pass.py:39
↓ 1 callersFunction_is_view
(node)
backends/qualcomm/_passes/convert_mha_to_sha.py:50
↓ 1 callersFunction_is_view_copy
(node: torch.fx.node.Node)
backends/arm/tosa/partitioner.py:116
↓ 1 callersFunction_is_view_op
(op: torch._ops.OpOverload)
backends/apple/coreml/partition/coreml_partitioner.py:86
↓ 1 callersMethod_is_view_user
(self, node: fx.Node, user: fx.Node)
backends/aoti/passes/replace_view_copy_with_view.py:85
↓ 1 callersFunction_iter_fake_tensors
(meta_val)
backends/arm/test/misc/test_post_quant_device_switch.py:182
↓ 1 callersMethod_keep_one_empty_buffer
Create a single empty `Buffer` object and assign it to all tensors in the model that don't have static data.
backends/nxp/backend/ir/converter/builder/model_builder.py:466
↓ 1 callersMethod_kwargs_to_dst_dtype
(self, kwargs: Dict[str, Any])
backends/transforms/convert_dtype_pass.py:40
↓ 1 callersFunction_launch_decode_splitk
( query: torch.Tensor, key: torch.Tensor, value: torch.Tensor, out: torch.Tensor, B: int,
backends/cuda/triton/kernels/sdpa.py:1256
↓ 1 callersFunction_launch_non_pow2_kernel
Launch non-power-of-2 SDPA kernel with dynamic HEAD_DIM masking.
backends/cuda/triton/kernels/sdpa.py:827
↓ 1 callersFunction_launch_pow2_kernel
Launch power-of-2 optimized SDPA kernel.
backends/cuda/triton/kernels/sdpa.py:746
↓ 1 callersFunction_launch_tq4_kernel
( q_rot, k_packed, k_norms, v_packed, v_norms, lut_hi, lut_lo, mask_ptr, o
backends/cuda/triton/kernels/tq4_sdpa.py:485
↓ 1 callersMethod_lift
(self, gm: torch.fx.GraphModule)
backends/qualcomm/_passes/lift_constant_scalar_operands.py:173
↓ 1 callersFunction_list_manifold_dir
List files in a Manifold directory.
examples/models/gemma4/text_decoder/convert_weights.py:52
↓ 1 callersMethod_load_and_process
(self, path, max_samples)
examples/qualcomm/utils.py:286
↓ 1 callersFunction_load_and_remap_checkpoint
Stream-load safetensors shards and remap keys to model state_dict keys.
examples/models/gemma4_31b/model.py:608
↓ 1 callersFunction_load_and_remap_checkpoint
Load safetensors lazily shard-by-shard and remap keys. Uses safe_open for lazy tensor access — only one shard's worth of raw tensors is in me
examples/models/qwen3_5_moe/model.py:733
↓ 1 callersMethod_load_checkpoint
Load checkpoint with weight conversion.
examples/models/gemma4/text_decoder/gemma4_model.py:66
↓ 1 callersFunction_load_checkpoint_from_safetensors
(input_dir: str)
examples/models/qwen3_5/convert_weights.py:47
↓ 1 callersFunction_load_checkpointed_swin2sr
( checkpoint: str, checkpoint_revision: str | None, local_files_only: bool, )
examples/arm/super_resolution_example_vgf/model_export/common.py:266
↓ 1 callersFunction_load_edge_dialect_info
()
exir/dialects/edge/_ops.py:167
↓ 1 callersFunction_load_example_inputs
Load example inputs from a `.pt` file when a path is provided.
backends/arm/scripts/aot_arm_compiler.py:86
↓ 1 callersFunction_load_hf_audio_encoder
Load HF Gemma4 audio encoder from checkpoint, returning the wrapper module.
examples/models/gemma4/export_gemma4.py:227
↓ 1 callersFunction_load_hf_vision_encoder
Load HF Gemma4 vision encoder from checkpoint, returning the wrapper module.
examples/models/gemma4/export_gemma4.py:345
↓ 1 callersFunction_load_json_config
(name: str)
examples/models/lfm2/test_lfm2_5_mlx.py:14
↓ 1 callersFunction_load_libcxx_libs
(lib_path)
backends/qualcomm/scripts/download_qnn_sdk.py:706
↓ 1 callersFunction_load_llama_model
A helper util that builds a Llama2 model. It returns a LLMEdgeManager that can help further lower the model to ExecuTorch. Returns:
examples/models/llama/export_llama_lib.py:1590
↓ 1 callersFunction_load_output
(path, shape, dtype)
backends/cuda/tests/test_tq4_sdpa.py:785
↓ 1 callersFunction_load_output
(path, shape, dtype)
backends/cuda/tests/test_fused_moe.py:158
↓ 1 callersFunction_load_text_processor
Load a text processor for the model. Prefer AutoTokenizer for text-only prompting, even for checkpoints that also ship an AutoProcessor.
backends/mlx/examples/llm/run_llm_hf.py:50
↓ 1 callersFunction_load_torchao_aten_lib
(libname)
examples/models/llama/source_transformation/quantize.py:862
↓ 1 callersFunction_load_weights_into_nn
( pt_model: nn.Module, gguf_model_args: GGUFModelArgs, gguf_weights: GGUFWeights )
extension/gguf_util/converters/llama_converter.py:73
↓ 1 callersFunction_log_mlx_graph
Log MLXGraph contents at DEBUG level for debugging.
backends/mlx/preprocess.py:127
↓ 1 callersMethod_log_nonquantized_nodes
(self, model: GraphModule)
backends/arm/quantizer/arm_quantizer.py:1112
↓ 1 callersFunction_log_perf_summary
( pte_size_mb: float, seq_len: int, decode_tokens: int, t_st_ms: float, t_ae_ms: float,
examples/models/gemma4/run_gemma4.py:230
↓ 1 callersFunction_lower_ep_to_cadence
Lower an existing ExportedProgram to edge IR and apply frontend optimization passes.
backends/cadence/aot/compiler.py:364
↓ 1 callersFunction_macos_version
Return (major, minor) macOS version, or (0, 0) on non-macOS.
devtools/intermediate_output_tap/tests/test_coreml_e2e.py:87
↓ 1 callersFunction_macos_version_at_least
Check if the current macOS version is at least major.minor.
backends/apple/coreml/test/test_coreml_multifunction.py:24
↓ 1 callersFunction_make_binary_handler
Create a handler for a binary op: (a, b) -> node_cls(a, b, out). When lift_b is True, scalar b values are lifted to 0-D constant tensors via
backends/mlx/ops.py:532
↓ 1 callersFunction_make_binary_op_test
Generate a registered OpTestCase subclass for a binary math op.
backends/mlx/test/test_ops.py:4284
↓ 1 callersFunction_make_calibration_samples
Return one example input that triggers the if branch, and one that triggers the else branch.
backends/arm/test/ops/test_cond.py:193
↓ 1 callersFunction_make_compare_scalar_test
Generate a registered OpTestCase subclass for a comparison Scalar op.
backends/mlx/test/test_ops.py:4457
↓ 1 callersFunction_make_embedding_filter
Create a filter_fn for embedding layers, skipping incompatible shapes.
extension/llm/export/quantize.py:152
↓ 1 callersFunction_make_export_test
Factory function to create an export test method for a given model and dtype.
backends/apple/metal/tests/test_modules.py:1357
↓ 1 callersMethod_make_from_node_json_acceptable
Serialize from_node metadata from a list of NodeSource objects to a list of dictionaries.
exir/serde/serialize.py:155
↓ 1 callersFunction_make_full_handler
Create a handler for full/zeros/ones: shape -> FullNode(shape, v, dtype).
backends/mlx/ops.py:655
↓ 1 callersFunction_make_full_like_handler
Create a handler for full_like/zeros_like/ones_like: x -> FullLikeNode(x, v, dtype).
backends/mlx/ops.py:706
↓ 1 callersMethod_make_hashable
(self, value)
backends/qualcomm/_passes/insert_requantize.py:43
↓ 1 callersMethod_make_inputs_channels_first
(self)
backends/nxp/backend/ir/converter/builder/model_builder.py:358
↓ 1 callersMethod_make_io_slots
(self)
backends/mlx/builder/program_builder.py:389
↓ 1 callersFunction_make_linear_config
Build a TorchAO config for linear layer quantization.
extension/llm/export/quantize.py:28
↓ 1 callersMethod_make_operator
(self, aten_op)
backends/qualcomm/_passes/seq_mse.py:54
↓ 1 callersFunction_make_output_consistency_test
Factory function to create an output consistency test method for a given model and dtype.
backends/apple/metal/tests/test_modules.py:1368
↓ 1 callersMethod_make_outputs_channels_first
(self)
backends/nxp/backend/ir/converter/builder/model_builder.py:419
↓ 1 callersFunction_make_pixel_values
(config, device: torch.device)
backends/arm/test/models/Qwen3_VL/test_qwen3_vl_layers.py:66
↓ 1 callersFunction_make_pool_handler
Create a handler for an N-dimensional pooling op.
backends/mlx/ops.py:3736
↓ 1 callersFunction_make_quantizer
()
backends/arm/test/misc/test_post_quant_device_switch.py:176
↓ 1 callersFunction_make_reduction_handler
Create a handler for a reduction op: x -> node_cls(x, out, axes, keepdims).
backends/mlx/ops.py:620
↓ 1 callersFunction_make_reduction_op_test
Generate a registered OpTestCase subclass for a reduction op. Args: op_name: Name used for test registration. op_fn: The torch fu
backends/mlx/test/test_ops.py:4544
↓ 1 callersFunction_make_scalar_int_handler
Create a handler for a scalar int op: (a, b) -> node_cls(a, b, out).
backends/mlx/ops.py:572
↓ 1 callersMethod_make_spec
(self, x)
backends/qualcomm/_passes/build_quant_io.py:23
↓ 1 callersFunction_make_tensors
(B, H_q, H_kv, Lq, Lk, D, device="cuda", dtype=torch.bfloat16)
backends/cuda/benchmarks/benchmark_sdpa.py:124
↓ 1 callersFunction_make_unary_handler
Create a handler for a simple unary op: x → node_cls(x, out).
backends/mlx/ops.py:403
↓ 1 callersFunction_make_unary_op_test
Generate a registered OpTestCase subclass for a unary math op. Args: op_name: Name used for test registration and output directories.
backends/mlx/test/test_ops.py:4158
↓ 1 callersFunction_map_checkpoint_key
Map Mistral consolidated checkpoint key to model state_dict key.
examples/models/voxtral_realtime/model.py:1342
↓ 1 callersFunction_map_checkpoint_key
Map Mistral consolidated checkpoint key to model state_dict key. Checkpoint structure: - layers.N.* -> decoder.layers.N.* - norm.weig
examples/models/voxtral_tts/model.py:1417
↓ 1 callersFunction_map_non_sequence_aot_output
Handle the case when aot_intermediate_output is NOT a Sequence. Returns: The mapped runtime intermediate output.
devtools/inspector/_inspector_utils.py:831
↓ 1 callersFunction_map_sequence_aot_output
Handle the case when aot_intermediate_output is a Sequence. Returns: Tuple of (aot_intermediate_output as tuple, mapped runtime outp
devtools/inspector/_inspector_utils.py:754
↓ 1 callersFunction_map_values
(values: _ExactValues, fn)
backends/arm/_passes/symbolic_value_range.py:42
↓ 1 callersMethod_mark_input_node_as_annotated
(self, node: fx.Node)
backends/nxp/quantizer/neutron_quantizer.py:366
↓ 1 callersMethod_mark_node_supported
(self, node: Node, *, handler: Optional[Handler] = None)
backends/mlx/builder/program_builder.py:363
↓ 1 callersMethod_mark_node_unsupported
(self, node: Node, reason: str)
backends/mlx/builder/program_builder.py:367
↓ 1 callersFunction_mark_nodes_as_annotated
(nodes: List[Node])
backends/samsung/quantizer/annotator.py:92
↓ 1 callersFunction_mark_nodes_as_annotated
(nodes: list[Node])
backends/vulkan/quantizer/vulkan_quantizer_utils.py:83
↓ 1 callersMethod_mark_noop
Mark noops and dead nodes.
backends/mlx/builder/program_builder.py:476
↓ 1 callersMethod_mark_read
(self, node: Node)
backends/mlx/builder/program_builder.py:318
↓ 1 callersMethod_match_and_score
Compares corresponding fp32 and QDQ output tensors and computes their SQNR. Returns a dictionary mapping module paths to their SQNR v
examples/qualcomm/oss_scripts/llama/mix_precision_analyzer.py:209
↓ 1 callersMethod_match_formats_of_nodes
If one of 'node_1' or 'node_2' is channels first, make the other channels first as well. If neither is channels first, make them both formatle
backends/nxp/backend/node_format_inference.py:162
↓ 1 callersMethod_match_inputs
Check if it is possible to match the input tensors of the TFLite operator `real_op` with the ones defined for this `Op`. New mappings
backends/nxp/backend/ir/neutron_ir_post_processing/pattern_matcher.py:148
↓ 1 callersMethod_match_inputs
Check if it is possible to match the input tensors of the TFLite operators `real_ops` with the ones defined for this `MultipleSameOps`.
backends/nxp/backend/ir/neutron_ir_post_processing/pattern_matcher.py:374
↓ 1 callersMethod_match_op_rank
In graph_module, insert a view between arg and node to make the rank of arg match the other args to node.
backends/arm/_passes/match_arg_ranks_pass.py:70
↓ 1 callersMethod_match_outputs
Check if it is possible to match the output tensors of the TFLite operator `real_op` with the ones defined for this `Op`. New mapping
backends/nxp/backend/ir/neutron_ir_post_processing/pattern_matcher.py:220
↓ 1 callersMethod_match_outputs
Check if it is possible to match the output tensors of the TFLite operators `real_ops` with the ones defined for this `MultipleSameOps`.
backends/nxp/backend/ir/neutron_ir_post_processing/pattern_matcher.py:453
↓ 1 callersMethod_match_qat_chain
Walk back from a batch_norm node and return the matched chain components, or None if the pattern doesn't match.
backends/cadence/aot/quantizer/passes/fuse_ops.py:244
↓ 1 callersMethod_match_rest_of_pattern
Provided that a part of the pattern has been matched with operators in the TFLite model, extend this matched `real_pattern` with new TFLite o
backends/nxp/backend/ir/neutron_ir_post_processing/pattern_matcher.py:798
↓ 1 callersMethod_matches
(self, node: torch.fx.Node)
backends/qualcomm/quantizer/quant_recipe.py:99
↓ 1 callersFunction_materialize_meta_buffers
Replace meta-device buffers with zero tensors on CPU. Preserves each buffer's declared dtype — StaticKVCache asks for bf16 for the CUDA Trito
examples/models/voxtral_tts/model.py:1468
↓ 1 callersFunction_max_abs_error
(out, ref)
backends/cuda/benchmarks/benchmark_sdpa.py:137
← previousnext →6,301–6,400 of 28,493, ranked by callers