cuda-streams
A contributor skill in the PyTorch repository about tensor lifetimes when a tensor is used on a CUDA stream other than the one that allocated it.
Was der Skill vermittelt
A contributor skill in the PyTorch repository about tensor lifetimes when a tensor is used on a CUDA stream other than the one that allocated it. Because PyTorch's caching allocator only reuses memory on the allocating stream, cross-stream use needs either an explicit sync back to that stream, which is predictable and preferred, or record_stream, which ties memory reuse to GPU progress and can raise memory use. The skill sorts cases into avoidable, unavoidable with the current API, worth a redesign and hard to avoid, and asks that every record_stream call carry a comment explaining why the free point cannot be controlled.
Funktionen
In der Dokumentation nicht angegeben
Überblick
- Herausgeber
- PyTorch
Installation
Das Projekt dokumentiert keine Installationsschritte, die wir bestätigen konnten. Zur Anleitung des Projekts
MCP-Server und Skills können Code auf deinem Rechner ausführen und auf deine Daten zugreifen. Prüfe den Quellcode, bevor du etwas installierst.
Details
| Angabe | Wert | Quelle |
|---|---|---|
| Typ | Skill | |
| Tool | In der Dokumentation nicht angegeben | |
| Herausgeber | PyTorch | Quelle |
| Offizieller Status | In der Dokumentation nicht angegeben | |
| Braucht API-Key oder Anmeldung | In der Dokumentation nicht angegeben | |
| Enthält Skripte | Nein | Quelle |
| Plattformen | In der Dokumentation nicht angegeben | |
| KI-Clients | In der Dokumentation nicht angegeben | |
| Lizenz | NOASSERTION | Quelle |
| Preis | In der Dokumentation nicht angegeben | |
| Aktivität | Letzter Commit am 11. Nov. 2026105.390 GitHub-SterneKeine Download-Daten verfügbar (nicht auf npm oder PyPI) | Quelle |
| Links | Repository Website |
Quellen
- GitHub-Repositorygithub.com/pytorch/pytorch · Belegt: Herausgeber, Aktivität11. Nov. 2026
- Skill-Datei (SKILL.md)github.com/pytorch/pytorch · Belegt: Enthält Skripte, Lizenz10. Nov. 2026
- Ordner im Repository (cuda-streams)github.com/pytorch/pytorch · Belegt: Enthält Skripte10. Nov. 2026