从 EPD 到 SGLang-Omni:图像密集场景推理加速实践与下一代全模态推理架构演进-刘斯宇.pdf

编号:1152900 PDF 18页 1.11MB 下载积分:VIP专享
下载报告请您先登录!

1、1.Transmission:ZMQ IPC OverheadBottleneck:Serialization and memory copying latency when moving massive vision tensors across process boundaries(Tokenizer Scheduler).Overview:Critical Bottlenecks in the Multimodal Pipeline2.Synchronization:The ViT Scaling ParadoxBottleneck:Communication-to-computatio

2、n ratio is too high for Vision Encoders.Evidence:TP 8(523ms)TP 4(465ms)on Qwen2.5-VL-72B(H20).3.Preprocessing:The Hashing FrictionBottleneck:Synchronous,CPU-bound image hashing blocks the request pipeline before scheduling begins.Tokenizer(Image Processing)Serialization&ZMQ(Copying to Socket)step1st

3、ep2step3DeserializationSchedulerstep4Data TransferThe Scaling Challenge:Highres image=Big Tensors that choke standard IPC pipes.The Technical Cost:ZMQ relies on CPU-bound serialization.Multiple socket-based copies create a massive costCumulative Latency:In high-concurrency scenarios,transmission del

4、ays accumulate across the queue.send_pyobjThe 4-Step Shared Memory HandlerStep 1.Write:Tokenizer writes vision tensors directly to Shared Memory,bypassing Python Pickle serialization.Step 2.Dispatch:ZMQ sends only a Metadata Handle(the Pointer).Step 3.Map:Scheduler attaches to the SHM segment and re

5、constructs the tensor via torch.frombuffer(Zero-Copy).Step 4.Unlink:The memory segment is unlinked immediately after mapping to ensure resource safety and prevent leaks.See more#16402Concurrency=1Concurrency=5IMAGE_COUNT=10IMAGE_RES=720pQwen2.5-VL-7B-InstructWhy Tensor Parallelism(TP)Fails for Visio

6、n EncodersThe Evidence:Performance RegressionBenchmark:Qwen2.5-VL-72B on H20 GPUs.The Paradox:Increasing TP size leads to higher latency.TP 4(Baseline):465.8 msTP 8(Regression):523.8 ms(+12.4%Latency)Observation:Vertical scaling(TP)has reached a negative-return threshold.2.Root Cause:Communication o

友情提示

1、下载报告失败解决办法
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站报告下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。

本文(从 EPD 到 SGLang-Omni:图像密集场景推理加速实践与下一代全模态推理架构演进-刘斯宇.pdf)为本站 (表表) 主动上传,三个皮匠报告文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三个皮匠报告文库(点击联系客服),我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。
客服
商务合作
小程序
服务号
折叠