← 返回事件
持续讨论AI发版

trunk/b6008cd71ce673b385224569217395e09a791763: [CUDA] Limit allowed peak-memory for OOM tests on UVM systems (#193641)

发生了什么

Systems with shared host and device memory e.g., dgx spark will happily allow pytorch to use all of the system's memory which can crash the process or worse during testing. This PR adds a decorator to limit the allowed max memory if such a device is detected for OOM-probing tests and applies it to relevant tests. authored with codex Pull Request resolved: #193641 Approved by: https://github.com/jeffdaily Co-authored…

摘要按规则整理自下方来源原文

为什么在扩散

来源