mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
# Motivation Aligned with other backends, this PR introduces a new API torch.xpu.get_per_process_memory_fraction to allow user to retrieve the allowed memory fraction per a single process. Pull Request resolved: https://github.com/pytorch/pytorch/pull/165511 Approved by: https://github.com/EikanWang, https://github.com/ezyang ghstack dependencies: #165508, #165509, #165510 |
||
|---|---|---|
| .. | ||
| Event.cpp | ||
| Event.h | ||
| Module.cpp | ||
| Module.h | ||
| Stream.cpp | ||
| Stream.h | ||