每日练习与编程练习

← 返回日报
任务 第一则

受限显存解码调度

任务 93/100

你负责把一个 32 层 decoder-only LLM 部署到边缘推理芯片上,芯片有较快片上 SRAM S、较慢 HBM M,模型权重常驻 HBM,KV cache 需要动态分配。线上请求持续到达,每个请求有 prompt 长度 p_i、最大生成长度 g_i、优先级 w_i,SLA 要求 TTFT p95 < 200ms、TPOT p95 < 40ms。编译器后端支持为 prefill/decode 生成不同 tile kernel,但每个 kernel 的片上内存占用、访存量、计算量随 batch、序列长度和 tile 大小变化。 请设计一个端到端的推理调度与编译协同方案:如何做 prefill/decode 分离、动态 batching、KV cache 分配/回收、tile 选择与 admission control,使系统在满足 SLA 的前提下最大化加权吞吐。需要给出任务建模、核心方法、复杂度分析、关键边界条件和工程取舍。

参考回答

我会把任务拆成两个时间尺度:离线编译期做 kernel/tile 候选集生成与代价建模,在线运行期做带截止时间约束的请求调度、KV 内存管理和 admission control。

1. 离线代价建模 对 prefill 和 decode 分别生成一组候选 kernel。每个候选 k 记录: - mem_sram(k, B, T):片上 SRAM 占用; - mem_hbm(k, B, T):HBM 读写量; - time(k, B, T):预测延迟; - arithmetic_intensity(k):计算/访存比。 只保留满足 mem_sram <= S 的 Pareto frontier,即在相同 B、T 下没有同时被更低延迟和更低访存支配的 tile。prefill 的 attention 复杂度近似 O(L * B * T^2 * d),decode 单步复杂度近似 O(L * B * T_ctx * d),其中 T_ctx 是当前上下文长度。离线可以用 profile + 回归模型拟合 time,线上查表或插值。

2. Prefill/decode 分离 prefill 是大块计算,容易阻塞 decode;decode 是短周期、强 SLA。在线调度采用两级队列: - DecodeQueue:按 next-token deadline 排序,优先保证 TPOT; - PrefillQueue:按 TTFT deadline、prompt 长度和优先级排序。 每个调度 tick 先为 decode 预留算力窗口,再用剩余 slack 执行 prefill。长 prompt 做 chunked prefill,比如每次处理 C 个 token,避免一个超长 prompt 长时间占用设备。chunk 大小 C 由 TTFT slack 和 decode backlog 动态调节。

3. 动态 batching decode batching 的目标是让同一步 token 的请求合并执行,但请求上下文长度不同。可以按长度 bucket 分组,例如 [0,512)、[512,1024)、[1024,2048) 等,减少 padding 和无效 attention。每个 tick 选择一个或多个 bucket 组成 micro-batch。选择策略可以近似为带截止时间的背包: value_i = w_i / estimated_time_i 或 w_i * lateness_penalty_i constraint = 本轮可用时间预算、KV 内存预算、最大 batch size。 精确求解太贵,线上用贪心:先选快到 deadline 的请求,再在同 bucket 内填充高权重请求。复杂度 O(n log n),n 是活跃请求数。

prefill batching 与 decode 不同,更适合按 prompt chunk 长度聚合。对于 prompt 很短的请求可以合并 prefill;对于超长 prompt,切 chunk 后与其他请求交错执行。

4. KV cache 管理 KV cache 按 page/block 管理,例如每页存固定 token 数 P 的所有层 KV,维护: - request -> page table; - free page list; - active length; - refcount 或状态。 每个请求需要的 KV 大小约为: KV_bytes_i = 2 * L * n_kv_heads * head_dim * bytes * current_len_i。 为避免连续大块分配导致碎片,使用 paged KV。释放请求时回收 page;增长时按需追加 page。复杂度:分配/释放 O(number_of_pages),查找 page table O(1) 或 O(log pages)。

当 KV 内存紧张时按代价分层处理: - 首选拒绝或排队新请求; - 对低优先级长上下文请求降级最大生成长度; - KV 量化,例如 FP16 -> INT8/FP8; - 对低优先级或可容忍延迟请求 spill 到 HBM/CPU,但会显著伤害 TPOT; - 最后才考虑丢弃请求或重算,因为自回归重算成本通常高。

5. Admission control 对新请求估计其资源消耗: - prefill_time(p_i); - per_token_decode_time(current_batch, expected_ctx); - KV_peak = KV_bytes(p_i + g_i)。 如果加入后预测 TTFT/TPOT p95 会超过 SLA,或者 KV_peak 超过安全水位,则拒绝、降级或排队。这里不能只看平均吞吐,要维护滚动窗口 p95 预测。可以用保守水位,例如 KV 使用超过 85% 时停止接收长上下文低优先级请求。

6. 在线调度伪流程 每个 tick: - 更新所有活跃请求的 deadline、上下文长度、KV 占用; - 从 DecodeQueue 中选出最紧急且可 batch 的请求; - 查 Pareto kernel 表,选满足 SRAM 约束且预测延迟最低的 tile; - 执行 decode micro-batch,生成 token,更新 KV page; - 若还有时间 slack,从 PrefillQueue 选 chunked prefill batch; - 若 KV 或延迟水位过高,触发 admission 降级策略。

7. 复杂度 设活跃请求数为 N,KV page 总数为 P,bucket 数为 K: - 每次调度队列维护 O(log N),一轮选 batch 约 O(N log N) 或按 bucket 优化到 O(K log N + B); - KV 分配释放 O(pages_per_request),通常远小于 token 数; - tile 查询若离线建表,线上 O(1) 或 O(log R),R 是候选 tile 数; - 主要计算仍在 transformer kernel,调度开销应控制在亚毫秒级。

  • 工程取舍和风险
  • 过大 batch 提高吞吐但增加单请求 TPOT,decode 需要小 batch 高频调度;
  • chunked prefill 降低 head-of-line blocking,但会增加 kernel launch 和调度开销;
  • KV 量化节省显存,但可能影响长上下文质量,需要灰度和 per-layer 误差评估;
  • spill KV 可以提升接纳率,但尾延迟容易失控;
  • 静态 profile 与线上分布可能漂移,需要在线校准 cost model;
  • 对 speculative decoding、MoE 或不同 LoRA adapter,需要把 expert/router/adaptor 也纳入 batching 维度,否则 batch 合并收益会下降。
回答分析

强候选人的答案应该先把任务形式化为“受 SLA、SRAM/HBM/KV 约束的在线调度优化”,而不是只说用 vLLM 或 TensorRT-LLM。关键点包括:prefill/decode 分离、decode 优先保证 TPOT、长 prompt chunking、paged KV、基于 deadline 的动态 batching、离线 tile Pareto frontier、在线 admission control、p95 而非均值延迟控制。复杂度上要能说明调度、KV 分配和 tile 查询的成本,并识别真正瓶颈在 attention 和 HBM 带宽。常见错误是只追求最大 batch、忽略 TTFT/TPOT 冲突;把 KV 当连续显存分配导致碎片任务;只谈编译优化不谈在线到达和拒绝策略;或者只谈调度不谈 kernel tile 受 SRAM 约束。出练习者可继续追问在长上下文、突发流量、KV cache 爆满、cost model 失准、多租户优先级冲突下方案如何退化。

评分
93/100
任务定义 20/20正确性 24/25复杂度 18/20工程取舍 18/20表达 13/15
追问
  • 如果线上 prompt 长度分布突然从短文本变成长文档,调度策略如何自适应?
  • 如果 SRAM 只能容纳一个很小的 attention tile,如何在重算、分块和访存之间取舍?
  • 如何设计实验验证 cost model、admission control 和 KV 量化不会破坏 p95 SLA?
类比
像机场调度航班:大飞机装载效率高但不能堵住跑道,小飞机频繁起降要优先保证准点。
编程练习 第二则

填充每个节点的下一个右侧节点指针 II

任务 100/100

给定一个二叉树:

struct Node { int val; Node *left; Node *right; Node *next; }

填充它的每个 next 指针,让这个指针指向其下一个右侧节点。如果找不到下一个右侧节点,则将 next 指针设置为 `NULL` 。

初始状态下,所有 next 指针都被设置为 `NULL` 。

示例 1:

输入:root = [1,2,3,4,5,null,7] 输出:[1,#,2,3,#,4,5,7,#] 解释:给定二叉树如图 A 所示,你的函数应该填充它的每个 next 指针,以指向其下一个右侧节点,如图 B 所示。序列化输出按层序遍历顺序(由 next 指针连接),'#' 表示每层的末尾。

示例 2:

输入:root = [] 输出:[]

提示:

  • 树中的节点数在范围 `[0, 6000]` 内
  • `-100

进阶:

  • 你只能使用常量级额外空间。
  • 使用递归解练习也符合要求,本练习中递归程序的隐式栈空间不计入额外空间复杂度。
参考解法

参考解法使用已经建立好的上一层 next 链,原地构造下一层 next 链,因此不需要队列,额外空间为 O(1)。

python
from typing import Optional


class Node:
    def __init__(
        self,
        val: int = 0,
        left: Optional["Node"] = None,
        right: Optional["Node"] = None,
        next: Optional["Node"] = None,
    ):
        self.val = val
        self.left = left
        self.right = right
        self.next = next


class Solution:
    def connect(self, root: Optional[Node]) -> Optional[Node]:
        """
        填充每个节点的 next 指针,使其指向同层右侧相邻节点。
        返回原二叉树根节点。
        """
        cur = root

        # cur 指向当前层的最左节点。
        # 当前层已经通过 next 串起来,因此可以像遍历链表一样遍历当前层。
        while cur:
            # dummy.next 指向下一层的第一个节点
            # tail 始终指向下一层已连接链表的尾节点
            dummy = Node(0)
            tail = dummy

            # 遍历当前层所有节点,并把它们的孩子按从左到右顺序串起来
            while cur:
                if cur.left:
                    tail.next = cur.left
                    tail = tail.next

                if cur.right:
                    tail.next = cur.right
                    tail = tail.next

                cur = cur.next

            # 移动到下一层的最左节点
            cur = dummy.next

        return root
解练习分析

关键思想:把每一层看成一条已经由 next 串好的链表。处理当前层时,从左到右遍历当前层节点,把它们的 left、right 子节点依次追加到“下一层链表”末尾。当前层遍历结束后,下一层的 next 指针也就全部填好了,然后跳到下一层继续处理。该方法适用于普通二叉树,不要求是完美二叉树。复杂度:每个节点最多被访问一次,时间复杂度 O(n);除少量指针变量和一个临时 dummy 节点外不使用额外数据结构,额外空间复杂度 O(1)。边界条件:root 为空时直接返回 None;只有一个节点时不进入子层连接,next 保持 None;节点缺左孩子、缺右孩子、某一层非常稀疏时,仍然按遇到的孩子顺序连接。易错点:一是误用完美二叉树的做法,只连接 root.left.next = root.right,无法处理缺失节点;二是使用队列 BFS,虽然正确但不满足进阶 O(1) 额外空间;三是下一层链表头指针没有保存,导致处理完当前层后找不到下一层入口;四是连接顺序错误,必须先左后右,并且按当前层从左到右遍历。考察中高质量答案需要明确说明为什么可以遍历当前层的 next 链,以及为什么构造出的下一层 next 链顺序正确。

评分
100/100
思路 25/25正确性 25/25复杂度 20/20工程性 15/15表达 15/15
追问
  • 如果允许使用队列,BFS 写法如何实现、空间复杂度是多少
  • 为什么 LeetCode 116 的完美二叉树解法不能直接用于本练习
  • 是否可以不用 dummy 节点,仅用 head 和 tail 两个指针实现
类比
像站在当前楼层已经排好的一队人面前,依次把他们的孩子按从左到右排成下一楼层的新队伍。

往期记录 129 条记录

2026年07月02日变分信息瓶颈Information BottleneckVariational BoundRate-Distortion
2026年07月01日CTC序列对齐方法CTCForward-Backward MethodBlank Token
2026年07月01日故障流行病学Core DumpStatistical DebuggingFault Localization
2026年06月30日哈希嵌入压缩Hash EmbeddingFeature HashingEmbedding Compression
2026年06月29日一致性蒸馏Consistency ModelsProgressive DistillationODE Trajectory
2026年06月29日原生推理引擎Native RuntimeggmlInference Engine
2026年06月28日无分类器引导Classifier-Free GuidanceGuidance ScaleScore Interpolation
2026年06月25日MVDR波束成形MVDR BeamformingSpatial FilteringCovariance Estimation
2026年06月24日神经缩放定律Scaling LawsCompute-Optimal TrainingPower Law
2026年06月23日最小贝叶斯风险解码Minimum Bayes RiskDecision TheoryHypothesis Selection
2026年06月23日PID控制与生成调控PID ControllerFeedback ControlClosed-loop Generation
2026年06月22日生成模型评估度量Frechet Inception DistanceGenerative EvaluationFeature Statistics
2026年06月21日浮点量化收缩偏差FP4 TrainingShrinkage BiasLow-Precision Arithmetic
2026年06月21日模型上线仿真Deployment SimulationShadow TestingOffline Evaluation
2026年06月20日现代联想记忆Hopfield NetworkAssociative MemoryEnergy-Based Model
2026年06月19日离散扩散语言模型Discrete DiffusionAbsorbing StateConcrete Score
2026年06月18日循环变换器架构Looped TransformerWeight TyingAdaptive Computation
2026年06月17日韵律建模演进Prosody PredictionF0 ModelingDuration Prediction
2026年06月16日说话人日志Speaker DiarizationSpeaker EmbeddingEEND
2026年06月15日偏好对齐优化Preference OptimizationDPOReward Modeling
2026年06月14日多令牌并行预测Multi-Token PredictionSpeculative DecodingParallel Decoding
2026年06月13日流匹配生成模型Flow MatchingRectified FlowOptimal Transport Path
2026年06月13日实时管线延迟预算Latency BudgetPipeline OrchestrationTime-to-First-Token
2026年06月12日MoE路由机制Mixture of ExpertsSparse GatingRouter Design
2026年06月11日连续自回归生成Continuous AutoregressiveLatent PredictionAudioVAE
2026年06月10日KV缓存压缩KV Cache CompressionToken EvictionAttention Sparsity
2026年06月09日浏览器端模型推理WebGPUBrowser InferenceClient-side ML
2026年06月02日残差向量量化Residual Vector QuantizationAudio TokenizationNeural Codec
2026年05月31日彩色噪声扩散采样Colored NoiseSpectral BiasSDE Solver
2026年05月31日算子融合编译原理Kernel FusionOperator Fusiontorch.compile
2026年05月20日AI生成内容溯源 (7 chars) ✓Content ProvenanceC2PASynthID
2026年05月19日推理委托设计模式 (8 chars) ✓ Let me now write the full content for both topics. Actually, I realize I should double-check: is "Runtime Abstraction" or "Delegate Pattern" too close to any covered keyword? Looking at the list: Cluster Scheduling, Co-design, Collective Communication, Computational Expressiveness, CUTLASS... No, none of these overlap. OK, let me finalize and write everything out. Let me reconsider the engineering topic one more time. The title "推理委托设计模式" is good but maybe I should make it even more specific and interesting. What about focusing on the "graph partitioning" aspect - how ML runtimes decide which operations to delegate to which backend? This is a more specific and technically interesting angle. No, I think the broader "delegate pattern" is better because it covers the full picture and is more useful to the reader. Let me write it all out now. For the engineering topic, let me think about the history: - Early days: frameworks were monolithic (Caffe, early TensorFlow) - TensorRT (2017): NVIDIA's specialized inference engine, initially standalone - ONNX Runtime (2019): Microsoft introduced "Execution Providers" - the first major delegate-like abstraction - TFLite delegates (2018-2019): TensorFlow Lite introduced delegate API for GPU, NNAPI, etc. - ExecuTorch (2023-2024): PyTorch's answer to edge inference with a clean delegate API - 2025-2026: MLX delegate, Qualcomm AI Engine Direct delegate, etc. This is a rich history. Let me write it up. Actually, I want to make sure I have the dates right: - TensorRT was first released around 2016-2017 - ONNX was announced in 2017 - ONNX Runtime was open-sourced in 2018-2019 - TFLite was released in 2017, delegates came later - ExecuTorch was announced at PyTorch Conference 2023 OK, let me write everything now. I'll be thorough. One more thought: for the MATH section of the engineering topic, I could discuss the graph partitioning problem formally, or I could discuss the cost model for deciding whether to delegate. Let me think... The graph partitioning for delegation can be formalized as: - Given a computation graph $G = (V, E)$ where $V$ is the set of operations and $E$ is data dependencies - And a set of delegates $D = \{d_1, ..., d_m\}$ where each delegate supports a subset of operations $S_i \subseteq V$ - Find a partition $P = \{P_0, P_1, ..., P_m\}$ (where $P_0$ is the fallback/CPU partition) that minimizes total execution time - Subject to: each $
2026年05月17日连续批处理异步化
2026年05月10日连续潜在扩散语言模型Continuous Latent DiffusionNon-autoregressive LMDiffusion Language Model
2026年05月10日零样本跨语言语音克隆Zero-shot Voice CloningCross-lingual TTSIPA Phoneme Representation
2026年05月09日最优传输音频距离Optimal TransportFréchet Audio DistanceRiemannian Metric
2026年05月09日推荐系统推理核内广播优化Intra-kernel BroadcastEmbedding TableRecommendation Inference
2026年05月08日扩散Transformer异常值令牌Outlier TokensDiffusion TransformerAttention Sink
2026年05月08日WebRTC低延迟语音工程WebRTCReal-time AudioJitter Buffer
2026年05月07日音素级深度伪造检测原理Phoneme-level Deepfake DetectionSelf-supervised Speech EmbeddingEmotional Speech Synthesis
2026年05月07日AI训练网络协议工程哲学Multi-path Reliable ConnectionRDMA over EthernetCollective Communication
2026年05月05日对抗解纠缠说话人验证Speaker DisentanglementAdversarial TrainingCross-lingual Verification
2026年05月05日LLM推理为何用语言Chain-of-ThoughtLatent ReasoningToken Space
2026年05月01日跨架构知识蒸馏原理Cross-Architecture DistillationDiffusion LMAutoregressive Teacher
2026年05月01日AI评估计算瓶颈工程LLM Evaluation InfrastructureBenchmark SaturationEval Compute Bottleneck
2026年04月29日平衡传输语音增强Schrödinger BridgeStochastic Differential EquationSpeech Enhancement
2026年04月29日深度学习理论形成Deep Learning TheoryLoss LandscapeNeural Tangent Kernel
2026年04月28日语义进度函数原理Semantic Progress FunctionDiffusion TrajectoryNonlinear Denoising
2026年04月28日大模型OCR选型认知OCR BenchmarkModel Selection BiasCost-Performance Tradeoff
2026年04月27日说话人验证核心原理Speaker Verificationd-vectorECAPA-TDNN
2026年04月27日GPU核函数语言选型GPU Kernel EngineeringCuTe DSLCUTLASS
2026年04月26日时长控制TTS原理Duration ModelingProsody ControlAutoregressive TTS
2026年04月26日AI研究价值评估困境Research EvaluationPublication BiasPeer Review
2026年04月25日全双工对话建模原理Full-Duplex DialogueTurn-TakingVoice Activity Detection
2026年04月25日流式TTS文本规范化Text NormalizationStreaming TTSInverse Text Normalization
2026年04月24日离散扩散语言模型原理Discrete DiffusionMasked Diffusion Language ModelAbsorbing Diffusion
2026年04月24日跟进ML研究的认知工程Information OverloadResearch TriageSpaced Repetition
2026年04月23日一致性正则化ASR原理Consistency RegularizationUnified ASRTransducer
2026年04月23日流式TTS文本规范化工程Text NormalizationStreaming TTSInverse Text Normalization
2026年04月22日神经编码器伪影检测Neural Audio CodecArtifact DetectionForensic Residual
2026年04月22日AI研究复现危机工程Reproducibility CrisisML EngineeringExperimental Rigor
2026年04月21日扩散SNR偏差校正原理Signal-to-Noise RatioDiffusion Timestep BiasScore Matching
2026年04月21日论文复现危机根治工程Reproducibility CrisisAblation StudyExperimental Rigor
2026年04月20日音频时序定位原理Temporal GroundingAudio Event DetectionCross-modal Alignment
2026年04月20日论文复现危机根因Reproducibility CrisisBenchmark OverfittingEvaluation Validity
2026年04月19日流匹配对齐原理Flow Matching AlignmentReward Gradient BackpropagationTrajectory Optimization
2026年04月19日分布式训练任务编排Distributed Training OrchestrationCluster SchedulingFault Tolerance
2026年04月18日最优传输信号融合Optimal TransportWasserstein BarycenterTime-Frequency Resolution
2026年04月18日分布式训练任务调度Distributed Training OrchestrationJob SchedulingCluster Resource Management
2026年04月17日扩散语音识别原理Masked Diffusion Language ModelDiscrete DiffusionASR Decoding
2026年04月17日Mel尺度跨文化偏差Mel ScalePsychoacousticsCultural Bias
2026年04月16日音频水印对抗原理Audio WatermarkingSemi-FragilePsychoacoustic Masking
2026年04月16日推测解码草稿树工程Speculative DecodingDraft TreeBlock Diffusion
2026年04月15日对抗流模型原理Continuous Normalizing FlowAdversarial TrainingFlow Matching
2026年04月15日代理状态可观测性工程Agent ObservabilityDistributed TracingState Machine Debugging
2026年04月14日过程奖励模型原理Process Reward ModelStep-level SupervisionReasoning Chain
2026年04月13日离散令牌音源分离Discrete Token ModelingSource SeparationConditional Generation
2026年04月13日超算API工程哲学Distributed Training OrchestrationSupercomputer API DesignFault Tolerance
2026年04月12日信息瓶颈原理演进Information BottleneckVariational IBDisentanglement
2026年04月12日Safetensors格式工程哲学SafetensorsModel SerializationMemory-Mapped IO
2026年04月11日归一化层演进原理Layer NormalizationRMS NormalizationBatch Normalization
2026年04月11日GEMM自调优后端工程GEMM AutotuningTorchInductorCuteDSL
2026年04月10日多令牌预测原理Multi-Token PredictionSpeculative DecodingMedusa Heads
2026年04月10日ML从业者认知校准Calibration BiasCapability IllusionBenchmark Overfitting
2026年04月09日编码器-解码器LM原理Encoder-Decoder LMCross-Attention ConditioningSequence-to-Sequence
2026年04月09日torch.compile归一化优化torch.compileLayerNormRMSNorm
2026年04月08日KV缓存压缩原理KV Cache CompressionRoPE Position EncodingAttention Score Estimation
2026年04月08日音效基础模型工程Sound Effect GenerationFoundation ModelFoley Synthesis
2026年04月07日可验证奖励强化学习Verifiable RewardRLVRProcess Reward Model
2026年04月07日LLM技能退化认知机制Cognitive OffloadingSkill AtrophyDesirable Difficulty
2026年04月06日音素可解释说话人验证Phoneme-aware Speaker VerificationInterpretable BiometricsLocal Acoustic Evidence
2026年04月06日音频幻觉攻击评估Hallucination AttackAudio Language Model ReliabilityAdversarial Probing
2026年04月05日潜在空间推理原理Latent Space ReasoningContinuous RepresentationToken-Free Inference
2026年04月05日mRNA模型极低成本训练Biology Foundation ModelCross-Species TransferLow-Budget Training
2026年04月04日编码器-解码器TTS原理Encoder-Decoder TTSText ConditioningPositional Capacity
2026年04月04日大模型训练的MXFP8工程MXFP8MicroscalingMixed Precision Training
2026年04月03日在线知识蒸馏原理Online DistillationKnowledge TransferStudent-Teacher
2026年04月03日MoE专家并行调度工程Expert ParallelismMixture of ExpertsAll-to-All Communication
2026年04月02日波形潜空间扩散TTSwaveform latent diffusionnon-autoregressive TTSlatent space acoustic modeling
2026年04月02日波形隐空间扩散原理waveform latent spacediffusion TTSVAE audio codec
2026年04月02日LLM量化权重工程weight quantizationLLM compression4-bit quantization
2026年04月02日扩散语言模型离散生成Discrete DiffusionMasked Diffusion Language ModelNon-autoregressive TTS
2026年04月02日LLM后训练库工程演进RLHF engineeringPPO training stabilityreward hacking
2026年04月02日声学证据瓶颈原理Audio Evidence BottleneckAcoustic GroundingAudio Language Model
2026年04月02日状态空间模型音频建模State Space ModelMambaSelective Scan
2026年04月02日实时语音增强工程选型Real-time Speech EnhancementNoise SuppressionStreaming Inference
2026年04月02日对话上下文压缩原理Context CompressionAbstractive SummarizationCross-Attention Fusion
2026年04月02日说话人匿名化工程Speaker AnonymizationVoice ConversionStreaming Inference
2026年04月02日视听语音识别融合Audio-Visual Speech RecognitionLip ReadingViseme
2026年04月02日GPU训练吞吐加速工程MXFP8MoE TrainingExpert Parallelism
2026年04月01日熵驱动多样性生成diversity samplingtypicality biasrepulsion in latent space
2026年04月01日说话人分割工程选型speaker diarizationbenchmark methodologystreaming ASR pipeline
2026年03月31日转向检测联合建模turn-taking detectionvoice activity detectionjoint acoustic-linguistic modeling
2026年03月31日基准测试的系统性失效benchmark contaminationevaluation validityLLM judge reliability
2026年03月31日扩散模型声学生成diffusion modelscore matchingstochastic differential equation
2026年03月31日TTS开源生态竞争open-weight TTStime-to-first-audiomultilingual speech synthesis
2026年03月30日注意力机制变体演进Multi-Head AttentionGrouped Query AttentionMulti-head Latent Attention
2026年03月30日设备端语音推理架构on-device inferenceExecuTorchvoice agent pipeline
2026年03月29日混合自回归流匹配TTSautoregressive semantic tokensflow matching acoustic decoderhybrid TTS architecture
2026年03月29日NCCL超时诊断方法论NCCL watchdog timeoutdistributed training debuggingcollective communication
2026年03月29日混合架构音频表示Mambastate space modelaudio representation learning
2026年03月29日DeepSeek预训练加速工程MXFP8 trainingexpert parallelismMoE pretraining
2026年03月27日说话人验证度量学习speaker verificationmetric learningcurriculum learning
2026年03月27日MX浮点格式加速训练MXFP8microscalingmixed precision training
2026年03月26日TTS模型极限压缩model compressionknowledge distillationTTS on-device
2026年03月26日小模型极限压缩哲学model compressionknowledge distillationquantization
2026年03月25日流匹配生成原理flow matchingrectified flowODE
2026年03月25日神经音频编解码器neural audio codecresidual vector quantizationEnCodec
2026年03月25日推测解码加速推理speculative decodingdraft modeltoken verification