perf-torch-sync-free
Identify and eliminate host-device synchronizations in PyTorch code. Detects sync points (.item(), .cpu(), boolean indexing, torch.tensor on CUDA), classifies false vs true dependencies, provides sync-free alternatives. Triggers: sync-free, synchronization, .item(), .cpu(), host-device sync, eliminate syncs, CPU stall, non_blocking,…
Full publisher description
Identify and eliminate host-device synchronizations in PyTorch code. Detects sync points (.item(), .cpu(), boolean indexing, torch.tensor on CUDA), classifies false vs true dependencies, provides sync-free alternatives. Triggers: sync-free, synchronization, .item(), .cpu(), host-device sync, eliminate syncs, CPU stall, non_blocking, set_sync_debug_mode, cudaStreamSynchronize, cudaEventSynchronize, remove syncs, async GPU.
Source details
Read SKILL.md ↗ · Browse skill folder ↗
NVIDIA/TensorRT-LLM
.claude/skills/perf-torch-sync-free/SKILL.mdPinned revision 2d5b1fb68fee16b49b43f501d9165af23fb83c33
Source checked
Reviewed licence: Apache-2.0
Specific instruction/source terms; preserve the linked licence conditions, notices and attribution.
Reviewed publisher revision ↗ · 2026-11-22
This indexed source has a different revision. Verify its applicable terms before use.
This skill page is available in English. Publisher instructions stay in their original language.