{"id":"iEda8_Mvvo4","title":"Analyzing Deepseek's \"undefined\" NVIDIA PTX optimizations (with benchmarks!)","description":"Two days ago, Deepseek surprised everyone with an \"undefined-behavior\" PTX optimization speeding up particular ML workloads on a Hopper NVIDIA GPU Kernel.\n\nLet's reverse engineer the hack, implement it ourselves, and benchmark the speedup on an H100.\n\n--\n\nLink to my test code:\nhttps://github.com/LaurieWired/BenchmarkCustomPTX\n\n--\n\nTimestamps\n\n00:00 CUDA vs PTX vs SASS\n02:12 Global Memory Target\n03:27 Custom PTX Walkthrough\n06:40 NVIDIA ISA Reference\n07:42 Example Impelmentation\n10:38 H100 Benchmark\n11:46 SASS (Machine) Code\n\n---\n\nFollow LaurieWired on Social Media:\n►https://linktr.ee/lauriewired\n\n---","duration":826,"upload_date":"2025-02-27","view_count":132226,"like_count":7395,"dislike_count":80,"comment_count":575,"status":"completed","archived_at":"2026-10-19 17:39:29.659184","metadata":{"id":"iEda8_Mvvo4","title":"Analyzing Deepseek's \"undefined\" NVIDIA PTX optimizations (with benchmarks!)","channel":"LaurieWired","duration":826,"uploader":"LaurieWired","extractor":"innertube","thumbnail":"https://i.ytimg.com/vi/iEda8_Mvvo4/hqdefault.jpg","channel_id":"UCJXa3_WNNmIpewOtCHf3B0g","like_count":7395,"thumbnails":{"high":{"url":"https://i.ytimg.com/vi/iEda8_Mvvo4/hqdefault.jpg","width":480,"height":360},"maxres":{"url":"https://i.ytimg.com/vi/iEda8_Mvvo4/maxresdefault.jpg","width":1280,"height":720},"medium":{"url":"https://i.ytimg.com/vi/iEda8_Mvvo4/mqdefault.jpg","width":320,"height":180},"default":{"url":"https://i.ytimg.com/vi/iEda8_Mvvo4/default.jpg","width":120,"height":90},"standard":{"url":"https://i.ytimg.com/vi/iEda8_Mvvo4/sddefault.jpg","width":640,"height":480}},"view_count":132226,"_channel_id":"UCJXa3_WNNmIpewOtCHf3B0g","description":"Two days ago, Deepseek surprised everyone with an \"undefined-behavior\" PTX optimization speeding up particular ML workloads on a Hopper NVIDIA GPU Kernel.\n\nLet's reverse engineer the hack, implement it ourselves, and benchmark the speedup on an H100.\n\n--\n\nLink to my test code:\nhttps://github.com/LaurieWired/BenchmarkCustomPTX\n\n--\n\nTimestamps\n\n00:00 CUDA vs PTX vs SASS\n02:12 Global Memory Target\n03:27 Custom PTX Walkthrough\n06:40 NVIDIA ISA Reference\n07:42 Example Impelmentation\n10:38 H100 Benchmark\n11:46 SASS (Machine) Code\n\n---\n\nFollow LaurieWired on Social Media:\n►https://linktr.ee/lauriewired\n\n---","upload_date":"20250227","uploader_id":"UCJXa3_WNNmIpewOtCHf3B0g","webpage_url":"https://www.youtube.com/watch?v=iEda8_Mvvo4","_enriched_at":"2026-10-19T15:39:29+00:00","_meta_sources":["oembed","watch_page","ryd"],"comment_count":575,"comments_path":"/var/www/yt.ow1.ru/data/videos/channels/LaurieWired [UCJXa3_WNNmIpewOtCHf3B0g]/20261019 - iEda8_Mvvo4/iEda8_Mvvo4.comments.json","dislike_count":80,"thumbnail_url":"https://i.ytimg.com/vi/iEda8_Mvvo4/hqdefault.jpg","average_rating":4.957190635451505,"comments_saved":400,"thumbnail_path":"thumbnails/iEda8_Mvvo4.jpg","dya_submitted_at":"2026-10-28T05:41:09+00:00","release_timestamp":"2025-02-27"},"captions":[{"label":"aen","srclang":"aen","type":"vtt","url":"https://yt.ow1.ru/captions/iEda8_Mvvo4/iEda8_Mvvo4.aen.vtt","track_url":"https://yt.ow1.ru/captions/iEda8_Mvvo4/iEda8_Mvvo4.aen.vtt"},{"label":"en","srclang":"en","type":"vtt","url":"https://yt.ow1.ru/captions/iEda8_Mvvo4/iEda8_Mvvo4.en.vtt","track_url":"https://yt.ow1.ru/captions/iEda8_Mvvo4/iEda8_Mvvo4.en.vtt"}]}