mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[MPS] Add mps profiler env vars to docs (#129552)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/129552 Approved by: https://github.com/malfet ghstack dependencies: #129451
This commit is contained in:
committed by
PyTorch MergeBot
parent
07b06f0f0a
commit
42f3d7e948
@ -12,6 +12,10 @@ MPS Environment Variables
|
||||
- Description
|
||||
* - ``PYTORCH_DEBUG_MPS_ALLOCATOR``
|
||||
- If set to ``1``, set allocator logging level to verbose.
|
||||
* - ``PYTORCH_MPS_LOG_PROFILE_INFO``
|
||||
- Set log options bitmask to ``MPSProfiler``. See ``LogOptions`` enum in `aten/src/ATen/mps/MPSProfiler.h` for available options.
|
||||
* - ``PYTORCH_MPS_TRACE_SIGNPOSTS``
|
||||
- Set profile and signpost bitmasks to ``MPSProfiler``. See ``ProfileOptions`` and ``SignpostTypes`` enums in `aten/src/ATen/mps/MPSProfiler.h` for available options.
|
||||
* - ``PYTORCH_MPS_HIGH_WATERMARK_RATIO``
|
||||
- High watermark ratio for MPS allocator. By default, it is set to 1.7.
|
||||
* - ``PYTORCH_MPS_LOW_WATERMARK_RATIO``
|
||||
|
Reference in New Issue
Block a user