ted_memory ](generated/torch.mps.current_allocated_memory.html)
    * [ torch.mps.driver_allocated_memory ](generated/torch.mps.driver_allocated_memory.html)
    * [ MPS Profiler ](mps.html#mps-profiler)
    * [ MPS Event ](mps.html#mps-event)
  * [ torch.xpu ](xpu.html)
    * [ StreamContext ](generated/torch.xpu.StreamContext.html)
    * [ torch.xpu.current_device ](generated/torch.xpu.current_device.html)
    * [ torch.xpu.current_stream ](generated/torch.xpu.current_stream.html)
    * [ device ](generated/torch.xpu.device.html)
    * [ torch.xpu.device_count ](generated/torch.xpu.device_count.html)
    * [ device_of ](generated/torch.xpu.device_of.html)
    * [ torch.xpu.empty_cache ](generated/torch.xpu.empty_cache.html)
    * [ torch.xpu.get_device_capability ](generated/torch.xpu.get_device_capability.html)
    * [ torch.xpu.get_device_name ](generated/torch.xpu.get_device_name.html)
    * [ torch.xpu.get_device_properties ](generated/torch.xpu.get_device_properties.html)
    * [ torch.xpu.init ](generated/torch.xpu.init.html)
    * [ torch.xpu.is_available ](generated/torch.xpu.is_available.html)
    * [ torch.xpu.is_initialized ](generated/torch.xpu.is_initialized.html)
    * [ torch.xpu.set_device ](generated/torch.xpu.set_device.html)
    * [ torch.xpu.set_stream ](generated/torch.xpu.set_stream.html)
    * [ torch.xpu.stream ](generated/torch.xpu.stream.html)
    * [ torch.xpu.synchronize ](generated/torch.xpu.synchronize.html)
    * [ Random Number Generator ](xpu.html#random-number-generator)
    * [ Streams and events ](xpu.html#streams-and-events)
  * [ Meta device ](meta.html)
    * [ Idioms for working with meta tensors ](meta.html#idioms-for-working-with-meta-tensors)
  * [ torch.backends ](backends.html)
    * [ torch.backends.cpu ](backends.html#module-torch.backends.cpu)
    * [ torch.backends.cuda ](backends.html#module-torch.backends.cuda)
    * [ torch.backends.cudnn ](backends.html#module-torch.backends.cudnn)
    * [ torch.backends.mha ](backends.html#module-torch.backends.mha)
    * [ torch.backends.mps ](backends.html#module-torch.backends.mps)
    * [ torch.backends.mkl ](backends.html#module-torch.backends.mkl)
    * [ torch.backends.mkldnn ](backends.html#module-torch.backends.mkldnn)
    * [ torch.backends.nnpack ](backends.html#module-torch.backends.nnpack)
    * [ torch.backends.openmp ](backends.html#module-torch.backends.openmp)
    * [ torch.backends.opt_einsum ](backends.html#module-torch.backends.opt_einsum)
    * [ torch.backends.xeon ](backends.html#module-torch.backends.xeon)
  * [ torch.export ](export.html)
    * [ Overview ](export.html#overview)
    * [ Exporting a PyTorch Model ](export.html#exporting-a-pytorch-model)
    * [ Limitations of torch.export ](export.html#limitations-of-torch-export)
    * [ Read More ](export.html#read-more)
    * [ API Reference ](export.html#module-torch.export)
  * [ torch.distributed ](distributed.html)
    * [ Backends ](distributed.html#backends)
    * [ Basics ](distributed.html#basics)
    * [ Initialization ](distributed.html#initialization)
    * [ Post-Initialization ](distributed.html#post-initialization)
    * [ Distributed Key-Value Store ](distributed.html#distributed-key-value-store)
    * [ Groups ](distributed.html#groups)
    * [ DeviceMesh ](distributed.html#devicemesh)
    * [ Point-to-point communication ](distributed.html#point-to-point-communication)
    * [ Synchronous and asynchronous collective operations ](distributed.html#synchronous-and-asynchronous-collective-operations)
    * [ Collective functions ](distributed.html#collective-functions)
    * [ Profiling Collective Communication ](distributed.html#profiling-collective-communication)
    * [ Multi-GPU collective functions ](distributed.html#multi-gpu-collective-functions)
    * [ Third-party backends ](distributed.html#third-party-backends)
    * [ Launch utility ](distributed.html#launch-utility)
    * [ Spawn utility ](distributed.html#spawn-utility)
    * [ Debuggi