MCPcopy Create free account

hub / github.com/pytorch/executorch / functions

Functions28,493 in github.com/pytorch/executorch

↓ 1 callersMethod_create_view_copy_node
(self, *view_args)
backends/nxp/edge_passes/convert_reshaping_nodes_to_view.py:58
↓ 1 callersFunction_create_vulkan_flow
()
backends/test/suite/flows/vulkan.py:27
↓ 1 callersFunction_create_vulkan_partitioners
Create Vulkan partitioners for all programs except preprocessor.
examples/models/parakeet/export_parakeet_tdt.py:577
↓ 1 callersFunction_create_vulkan_static_int8_per_channel_flow
()
backends/test/suite/flows/vulkan.py:31
↓ 1 callersFunction_create_xnnpack_dynamic_int8_per_channel_flow
()
backends/test/suite/flows/xnnpack.py:34
↓ 1 callersFunction_create_xnnpack_flow
()
backends/test/suite/flows/xnnpack.py:30
↓ 1 callersFunction_create_xnnpack_partitioners
Create XNNPACK partitioners for all programs except preprocessor.
examples/models/parakeet/export_parakeet_tdt.py:459
↓ 1 callersFunction_create_xnnpack_static_int8_per_channel_flow
()
backends/test/suite/flows/xnnpack.py:48
↓ 1 callersFunction_create_xnnpack_static_int8_per_tensor_flow
()
backends/test/suite/flows/xnnpack.py:60
↓ 1 callersFunction_cuda_version_to_pytorch_suffix
Generate PyTorch CUDA wheel suffix from CUDA version numbers. Args: major: CUDA major version (e.g., 12) minor: CUDA minor v
install_utils.py:125
↓ 1 callersFunction_current_glibc_version
Return system glibc version string (via ctypes).
backends/qualcomm/scripts/download_qnn_sdk.py:444
↓ 1 callersFunction_dataclass_field_map
(dataclass_type: type)
exir/_serialize/_flatbuffer_program.py:56
↓ 1 callersFunction_debug_handles_have_overlap
Check if the debug handle and the target runtime debug handle have any overlap.
devtools/inspector/_inspector_utils.py:633
↓ 1 callersMethod_debug_message_from_specs
( cls, lhs_spec: TensorSpec, rhs_spec: TensorSpec )
exir/memory_planning.py:142
↓ 1 callersMethod_decode
( self, token_ids: Union[int, List[int]], skip_special_tokens: bool = False, n
examples/mediatek/aot_utils/llm_utils/tokenizers_/tokenization_whisper.py:807
↓ 1 callersMethod_decode
( self, token_ids: Union[int, List[int]], skip_special_tokens: bool = False, c
examples/mediatek/aot_utils/llm_utils/tokenizers_/tokenization_utils_base.py:4133
↓ 1 callersFunction_decode_asr
Internal method meant to only be used by asr pipeline. Handles all the little quirks specific to whisper to handle the various options not allowe
examples/mediatek/aot_utils/llm_utils/tokenizers_/tokenization_whisper.py:994
↓ 1 callersMethod_decode_with_timestamps
Timestamp tokens are above the special tokens' id range and are ignored by `decode()`. This method decodes given tokens with timestamps token
examples/mediatek/aot_utils/llm_utils/tokenizers_/tokenization_whisper.py:566
↓ 1 callersMethod_decompose_col2im
(self, graph_module: torch.fx.GraphModule)
backends/qualcomm/_passes/decompose_col_im.py:74
↓ 1 callersMethod_decompose_im2col
(self, graph_module: torch.fx.GraphModule)
backends/qualcomm/_passes/decompose_col_im.py:28
↓ 1 callersMethod_default_system_config_and_memory_mode
( target_lower: str, system_config: str | None, memory_mode: str | None, )
backends/arm/ethosu/compile_spec.py:36
↓ 1 callersFunction_delegate_outputs_to_graph_outputs
Returns the mapping from delegate outputs to graph outputs assuming there is only one delegate and the graph outputs are a tuple of getitem nodes
examples/arm/export_standalone_tosa_graph.py:38
↓ 1 callersMethod_delete_constant_tensor
Delete a constant from the EP to free memory during serialization.
backends/mlx/builder/program_builder.py:1068
↓ 1 callersFunction_dequant_linear_to_bf16
Materialize the linear's weight as a contiguous BF16 [N, K] tensor.
examples/models/qwen3_5_moe/export.py:496
↓ 1 callersFunction_dequantize_int4_affine
Dequantize packed INT4 weights using MLX affine format.
backends/apple/metal/ops/gather_qmv.py:78
↓ 1 callersFunction_derive_edge_inplace_overload
Auto-derive the in-place edge-dialect overload for a functional op (works for both `EdgeOpOverload` inputs — the common case — and bare aten `
exir/passes/reinplace.py:93
↓ 1 callersFunction_derive_mutated_args
Return the positional indices of args that the in-place op mutates, derived from the schema's `Tensor(a!)` annotations. Computed via ``output
exir/passes/reinplace.py:192
↓ 1 callersFunction_deserialize_from_json_to_etdump_flatcc
(etdump_json: bytes)
devtools/etdump/serialize.py:41
↓ 1 callersMethod_deserialize_from_node
Recursively deserialize from_node metadata from JSON data.
exir/serde/serialize.py:510
↓ 1 callersMethod_detect_model_type
Detect the type of input model. Args: model: Input model in various formats Returns: String indicat
export/export.py:237
↓ 1 callersFunction_detect_tied_linear_weight
Check if this embedding weight is tied to a linear weight. The embedding weight is packed uint8 [vocab_size, embed_dim/2]. The linear output
backends/vulkan/patterns/quantized_embedding.py:74
↓ 1 callersFunction_diff_evalue
Compare two non-Tensor EValue inner values. Returns None if identical.
devtools/pte_tool/diff_pte.py:408
↓ 1 callersFunction_diff_execution_plan
( # noqa: C901 plan_index: int, plan_a: ExecutionPlan, plan_b: ExecutionPlan, prog_a, pro
devtools/pte_tool/diff_pte.py:598
↓ 1 callersFunction_diff_extra_tensor_info
( a: Optional[ExtraTensorInfo], b: Optional[ExtraTensorInfo], diffs: List[FieldDiff], )
devtools/pte_tool/diff_pte.py:372
↓ 1 callersFunction_diff_schema
(dst, src)
exir/serde/schema_check.py:128
↓ 1 callersFunction_diff_tensor_metadata
Compare all fields of two Tensor dataclasses.
devtools/pte_tool/diff_pte.py:325
↓ 1 callersFunction_diff_tensors
Compare two tensors at the same evalue index. Returns None if identical.
devtools/pte_tool/diff_pte.py:548
↓ 1 callersFunction_does_not_overlap
r""" Check if a shared object and a tensor do not overlap.
exir/memory_planning.py:769
↓ 1 callersFunction_download
(url, path)
docs/source/custom_directives.py:39
↓ 1 callersFunction_download_archive
Streaming download with retry + resume on mid-stream failures.
backends/qualcomm/scripts/download_qnn_sdk.py:248
↓ 1 callersFunction_download_manifold_file
Download a file from Manifold to a local path.
examples/models/gemma4/text_decoder/convert_weights.py:29
↓ 1 callersFunction_dual_input_case
( module_factory: Callable[[], torch.nn.Module], )
backends/arm/test/ops/test_while.py:176
↓ 1 callersMethod_dump_golden_artifacts
( artifact_dir: str, artifact_name: str, inputs: Tuple[torch.Tensor], referenc
backends/test/harness/tester.py:375
↓ 1 callersFunction_eager_int4_matmul
Reference matmul: x @ w_ref.T in float32, cast to bf16.
backends/cuda/tests/test_int4_matmul.py:91
↓ 1 callersFunction_elf_path_candidates
( target_board: str, use_portable_ops: bool = False )
backends/arm/test/runner_utils.py:886
↓ 1 callersFunction_elf_search_roots
()
backends/arm/test/runner_utils.py:858
↓ 1 callersMethod_embed_points
Embeds point prompts.
examples/models/efficient_sam/efficient_sam_core/efficient_sam_decoder.py:56
↓ 1 callersMethod_emit_buffer_mutation_writebacks
Emit copy-back instructions for BUFFER_MUTATION outputs. When a model mutates a buffer (e.g., via .copy_() or .mul_()), torch.export
backends/mlx/builder/program_builder.py:587
↓ 1 callersMethod_emit_cond
Emits control_flow.cond. Converts the higher order op into jumps and inlines the submodules of the true and false branches. Control f
exir/emit/_emitter.py:684
↓ 1 callersMethod_emit_control_flow
Wraps common logic for emitting all control flow operations. See the more specific emission functions for more details on how cond, map, or s
exir/emit/_emitter.py:1210
↓ 1 callersFunction_emit_conv_transpose_weight
Get conv_transpose weight in MLX format, handling grouped convolutions. PyTorch conv_transpose weight shape: [C_in, C_out/G, *K] MLX expects:
backends/mlx/ops.py:2241
↓ 1 callersFunction_emit_cpp_load
Emit C++ load lines for a field kind, or None if kind is unrecognized.
backends/mlx/serialization/generate.py:1148
↓ 1 callersMethod_emit_delegate
Emit the delegates inputs and outputs as specified by the schema, then emit the delegate's blob.
exir/emit/_emitter.py:1393
↓ 1 callersMethod_emit_free
Emits a FreeCall instruction to release a given Unbounded Tensor's memory.
exir/emit/_emitter.py:1598
↓ 1 callersMethod_emit_int_list
Emits a list of integers as a collection of EValues. For every argument in 'val': - If it is a concrete value, then emit it and t
exir/emit/_emitter.py:273
↓ 1 callersMethod_emit_linear
Emit a single SliceUpdate for linear (non-ring) cache.
backends/mlx/patterns.py:237
↓ 1 callersMethod_emit_list
Emits a list type. Emits the list stored in val. If the list is of Tensors, Optionals, or Ints the emitted list is boxed, otherwise t
exir/emit/_emitter.py:298
↓ 1 callersMethod_emit_map
Emits torch.map. Converts the higher order op into a loop constructed from jump instructions and primitive int operations. A concat-l
exir/emit/_emitter.py:763
↓ 1 callersMethod_emit_metal_kernel
Emit a fused MetalKernelNode for the gated delta recurrence.
backends/mlx/model_ops/gated_delta_rule.py:235
↓ 1 callersMethod_emit_operator
Emits an operator (aten or custom), directly translates to a call_kernel instruction.
exir/emit/_emitter.py:1492
↓ 1 callersFunction_emit_pool_nd
Emit IR nodes for N-dimensional pooling. Decomposes pooling into: Transpose (channels-first -> channels-last) -> Pad (if needed)
backends/mlx/ops.py:3522
↓ 1 callersMethod_emit_prim
(self, val: ConfigValue, bundled_values: List[bp_schema.Value])
devtools/bundled_program/core.py:186
↓ 1 callersFunction_emit_py_add
Emit Add lines for a field kind, or None if kind is unrecognized.
backends/mlx/serialization/generate.py:832
↓ 1 callersFunction_emit_py_prebuild
Emit prebuild lines for a field kind, or empty list if none needed.
backends/mlx/serialization/generate.py:812
↓ 1 callersMethod_emit_ring_buffer
Emit two unconditional SliceUpdates for ring buffer wrapping. write_pos = start_pos % ring_size first_len = ring_size
backends/mlx/patterns.py:262
↓ 1 callersMethod_emit_scan
Emits torch.scan. Converts the higher order scan op into a loop constructed from jump instructions and primitive operations. Scan dif
exir/emit/_emitter.py:974
↓ 1 callersMethod_emit_scan
Emit ScanNode decomposition of the gated delta recurrence.
backends/mlx/model_ops/gated_delta_rule.py:436
↓ 1 callersMethod_emit_view
(self, args: Tuple[_Argument, ...])
exir/emit/_emitter.py:1254
↓ 1 callersMethod_encode_plus
( self, text: Union[TextInput, PreTokenizedInput, EncodedInput], text_pair: Optional[U
examples/mediatek/aot_utils/llm_utils/tokenizers_/tokenization_utils_base.py:3293
↓ 1 callersFunction_ensure_cortex_m_dependencies
()
backends/cortex_m/passes/__init__.py:19
↓ 1 callersFunction_ensure_libcxx_stack
Ensure libc++ stack is available. - If all required libc++ libs are found in LD_LIBRARY_PATH: do nothing. - Otherwise: stage and load
backends/qualcomm/scripts/download_qnn_sdk.py:726
↓ 1 callersFunction_ensure_qnn_sdk_lib
Ensure libQnnHtp.so is available. - If found in LD_LIBRARY_PATH: do nothing, return True. - Otherwise: ensure packaged SDK is present
backends/qualcomm/scripts/download_qnn_sdk.py:667
↓ 1 callersMethod_ensure_uint8_io_only
Ensure uint8 tensors only appear at IO boundaries. TOSA has no true uint8 tensor type; unsigned semantics are carried via RESCALE inp
backends/arm/_passes/insert_rescales_pass.py:38
↓ 1 callersFunction_entry_block
(path: str, entry: dict[str, str])
backends/arm/test/misc/test_public_api_manifest.py:25
↓ 1 callersMethod_erase_divisor_from_division_node
(self, division_node: Node)
backends/nxp/aten_passes/convert_div_to_mul.py:138
↓ 1 callersFunction_evaluate
( args, model_name, ref_model, eval_model, example_inputs )
backends/arm/scripts/evaluate_model.py:241
↓ 1 callersMethod_evaluate_topk
Evaluate model top-1 / top-k accuracy. Args: dataset: ImageFolder style dataset. topk: Maximum k for accuracy (defaul
backends/arm/util/arm_model_evaluator.py:135
↓ 1 callersFunction_example_inputs
()
backends/arm/test/passes/test_rewrite_conv_pass.py:57
↓ 1 callersFunction_execute_subprocess
`subprocess.run(cmd, capture_output=True)` captures stdout/stderr and only returns it at the end. This functions not only does that, but also
backends/cadence/runtime/executor.py:33
↓ 1 callersFunction_expand_kv
(k, v, num_groups)
backends/cuda/benchmarks/benchmark_sdpa.py:39
↓ 1 callersFunction_expand_mask
(mask, H_q)
backends/cuda/benchmarks/benchmark_sdpa.py:46
↓ 1 callersFunction_expected_int48_bytes
(values: torch.Tensor)
backends/arm/test/misc/test_process_node.py:64
↓ 1 callersMethod_export
(self, model, example_inputs)
extension/llm/export/test_export_passes.py:15
↓ 1 callersFunction_export_audio_encoder
Export audio encoder using HF's Gemma4AudioModel. Returns ExportedProgram.
examples/models/gemma4/export_gemma4.py:244
↓ 1 callersFunction_export_codec_pte
Export codec_decoder.pte (single forward method). Codec convs are expressed as unfold + matmul / matmul + Fold (model.py:_conv1d_as_matmul /
examples/models/voxtral_tts/export_voxtral_tts.py:140
↓ 1 callersFunction_export_components
Export each requested component to an ExportedProgram.
examples/models/gemma4/export_gemma4.py:548
↓ 1 callersFunction_export_cuda
(model: Gemma4_31B, config: Gemma4_31BConfig, output_dir: str)
examples/models/gemma4_31b/export.py:156
↓ 1 callersFunction_export_cuda
Export model to .pte via torch.export + CUDA backend. Exports two methods: - "decode": decode path (T=1), vec-mat MoE kernel via fused_moe.
examples/models/qwen3_5_moe/export.py:916
↓ 1 callersFunction_export_full_graph_module
()
backends/cortex_m/test/misc/test_pattern_matcher.py:28
↓ 1 callersFunction_export_llama_multimethod
Export multiple methods (base + LoRA variants) to a single .pte file. For each method in llm_config.multimethod.methods: - If LoraConfig
examples/models/llama/export_llama_lib.py:1322
↓ 1 callersFunction_export_lm_pte
Export model.pte (LM + flow head, 5 methods).
examples/models/voxtral_tts/export_voxtral_tts.py:114
↓ 1 callersFunction_export_metal
Export model to .pte via torch.export + Metal backend.
examples/models/qwen3_5_moe/export.py:817
↓ 1 callersFunction_export_mlx
Export to .pte via torch.export + MLX backend. Unlike CUDA (which exports separate decode/prefill methods with an Int4Tensor dispatch overrid
examples/models/gemma4_31b/export.py:282
↓ 1 callersFunction_export_mlx
Export model to .pte via torch.export + MLX backend.
examples/models/qwen3_5_moe/export.py:735
↓ 1 callersFunction_export_processor_model
( model, output_file="whisper_preprocess.pte", backend="xnnpack" )
extension/audio/mel_spectrogram.py:191
↓ 1 callersFunction_export_quantized_a16w8
(model: nn.Module, inputs: tuple[torch.Tensor, ...])
backends/arm/test/passes/test_rewrite_conv_pass.py:93
↓ 1 callersFunction_export_rich
()
devtools/intermediate_output_tap/tests/test_tap_pass.py:62
↓ 1 callersFunction_export_speech_transform
Export speech transform model. Returns ExportedProgram.
examples/models/gemma4/export_gemma4.py:39
↓ 1 callersFunction_export_text_decoder
Export text decoder. Returns ExportedProgram.
examples/models/gemma4/export_gemma4.py:446
↓ 1 callersFunction_export_vision_encoder
Export vision encoder using HF's Gemma4VisionModel. Returns ExportedProgram.
examples/models/gemma4/export_gemma4.py:406
← previousnext →5,701–5,800 of 28,493, ranked by callers