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

trunk/5ba7f2bf58f6177091cdf890429ffd5f5dc2139a: [CUDA] Add fork/join execution on CUDA streams (#199128)

图:PyTorch Releases

发生了什么

Authored with an AI assistant. Add torch.cuda.execute_on_streams for fork/join execution with ordinary streams, green-context streams, or mixtures. Queued work is joined and caller state restored even when a callback raises. Same-device execution switches directly between streams and restores the caller once to reduce host-side overheads. Cross-device execution uses stream context managers to restore device and stre…

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

为什么在扩散

来源