{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/1e526ff43fa44bfcaebe18a6f56052ff\" frameborder=\"0\" width=\"1730\" height=\"1297\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":1297,"width":1730,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":1297,"thumbnail_width":1730,"thumbnail_url":"https://cdn.loom.com/sessions/thumbnails/1e526ff43fa44bfcaebe18a6f56052ff-35a3154e9d041e06.gif","duration":344.448,"title":"[Feature Tutorial] Injecting Torch Records and NVTX Markers Without Code Changes","description":"In this video, I demonstrate how to add torch records or NVTX markers to your code without modifying it, using our open-source Encompass SDK and VS Code extension. This feature allows for runtime injection of profiling contexts, making it easier to debug performance without cluttering your codebase. I walk you through the process of highlighting code regions, creating a config.json file for injection, and running the profiler with just two environment variables. I encourage you to subscribe for updates and welcome contributions to our SDK for additional features. Remember, this can significantly streamline your debugging process!"}