pytorch/torch/_C
angelayi 918ae5d361 [aoti] Add MPS runner and shim (#153964)
Added AOTIModelContainerRunnerMps and a shim for mps fallback ops.
I also added a mps-specific shim which contains one operator, which will be used to set arguments being passed to the Metal kernel:

```
AOTI_TORCH_EXPORT AOTITorchError aoti_torch_mps_set_arg(
    AOTIMetalKernelFunctionHandle func,
    unsigned idx,
    AtenTensorHandle tensor);
```

Pull Request resolved: https://github.com/pytorch/pytorch/pull/153964
Approved by: https://github.com/malfet, https://github.com/desertfire
2025-05-21 21:55:59 +00:00
..
_dynamo Revert "[inductor][dynamo] Include operator name in size/stride/alignment assertion (#152353)" 2025-05-16 08:20:39 +00:00
_export [export] Move PT2 constants to torch::_export (#153206) 2025-05-17 08:21:59 +00:00
__init__.pyi.in Revert "Improve torch.ops typing (#153558)" 2025-05-19 23:32:36 +00:00
_aoti.pyi [aoti] Add MPS runner and shim (#153964) 2025-05-21 21:55:59 +00:00
_autograd.pyi Add overload names to profiler trace (#143114) 2025-03-05 01:00:29 +00:00
_cpu.pyi [CPUInductor] Fix SVE256 detection (#146207) 2025-02-01 18:51:34 +00:00
_cudnn.pyi Improve typing in torch/types.py (#145237) 2025-01-28 05:29:12 +00:00
_cusparselt.pyi
_distributed_autograd.pyi remove allow-untyped-defs for torch/_C/_distributed_autograd.pyi (#143369) 2024-12-17 18:09:28 +00:00
_distributed_c10d.pyi [ddp] propagate use_python_reducer to C++ reducer (#152735) 2025-05-16 01:38:03 +00:00
_distributed_rpc_testing.pyi
_distributed_rpc.pyi
_functions.pyi PEP585 update - torch/_C torch/_decomp torch/_lazy torch/_library torch/_numpy torch/_prims torch/_refs torch/_strobelight (#145102) 2025-01-18 20:47:12 +00:00
_functorch.pyi [dynamo] Guard serialization for FUNCTORCH_STACK_MATCH (#152616) 2025-05-05 18:05:56 +00:00
_instruction_counter.pyi
_itt.pyi
_lazy_ts_backend.pyi
_lazy.pyi remove allow-untyped-defs for torch/_C/_lazy.pyi (#143370) 2024-12-17 17:18:10 +00:00
_monitor.pyi PEP585: More UP006 fixes (#146392) 2025-02-20 06:18:13 +00:00
_nn.pyi.in [BE] Update .pyi stub template to use Generic TypeAlias (PEP 585) and Union Type (PEP 604) (#150728) 2025-05-15 09:36:42 +00:00
_nvtx.pyi Inductor annotations (#130429) 2024-12-10 08:53:39 +00:00
_onnx.pyi
_profiler.pyi [Profiler] Add profiler activity for HPU devices (#148182) 2025-03-05 01:37:48 +00:00
_VariableFunctions.pyi.in [BE] Update .pyi stub template to use Generic TypeAlias (PEP 585) and Union Type (PEP 604) (#150728) 2025-05-15 09:36:42 +00:00
_verbose.pyi
build.bzl
return_types.pyi.in [BE] Add __all__ to torch/nn/functional.pyi and torch/return_types.pyi (#150729) 2025-05-15 19:01:57 +00:00