πŸ–₯️ Device Transfer Visualizer

Watch tensor data physically cross the PCIe bus between CPU RAM and GPU VRAM.

πŸ“‹ How To Use This Lab
  1. Flip the Device switch to choose to('cuda') or to('cpu').
  2. Flip Pinned Memory on to see faster transfers β€” real PyTorch behavior, not just cosmetic.
  3. Press Next Step β–Ά to commit β€” data packets fly across the PCIe bus with a real computed transfer time.
  4. Try pressing transfer to the device it's already on β€” PyTorch treats it as a free no-op.
Piper CPU 4-core host RAM pageable GPU cuda:0 VRAM GDDR6 PCIe bus Transfer Bandwidth Comparison
πŸ€– PIPERSet a target device and memory mode, then press Next Step β€” I'll carry the data across the bus myself.
πŸ§‘β€πŸ« PROF. TORCH.to('cuda') and .to('cpu') copy a tensor across the PCIe bus β€” pinned host memory roughly doubles the real bandwidth.

πŸŽ›οΈ Choose a Transfer

Target Device
to('cpu')
to('cuda')
Host Memory Mode
Pageable
Pinned