ARTS #226 | 海边 周末来海边 “上班” 了~ Algorithm 本周选择的算法题是:count-the-number-of-complete-components。 class Solution: def countCompleteComponents(self, n: int, edges: List[List[int]]) -> int: graph = ... 2025-03-224 min read
ARTS #225 | 胡辣汤与 EliGen 北京一家特别棒的胡辣汤,名字叫方中山 Algorithm 本周选择的算法题是:Minimum Recolors to Get K Consecutive Black Blocks。 class Solution: def minimumRecolors(self, blocks: str, k: int) -> int: whites = bl... 2025-03-093 min read
LRM 在编程中大放异彩 Competitive Programming with Large Reasoning Models https://arxiv.org/abs/2502.06807 从 o1 到 o3,OpenAI 的进阶之路 OpenAI 的 o3 模型在编程领域又掀起了一阵热潮,要理解 o3,咱们得先从它的 “前辈” o1 说起。OpenAI 的 o1 和 deepseek 一样,... 2025-02-236 min read
扩散模型推理计算 Scaling 的新探索 Inference-Time Scaling for Diffusion Models beyond Scaling Denoising Steps https://arxiv.org/abs/2501.09732 论文表明,推理时 scaling 对扩散模型也是有效的,虽然去噪步骤的增加在达到某个阈值后会趋于平稳,但增加推理时间可以显著提高扩散模型生成的样本质量。 扩散模... 2025-02-093 min read
Ferret-UI 2 学习笔记 很多爱心~ 它是什么 Ferret-UI 2: Mastering Universal User Interface Understanding Across Platforms https://arxiv.org/abs/2410.18967 它是苹果推出的跨平台 UI 理解模型,相比第一版 Ferret-UI,这一版本有三大创新: 具有平台多样... 2025-01-206 min read
ARTS #224 | 初识 MoE 一次绝佳的啤酒之旅,第一次感受直接从发酵罐里打精酿啤酒的味道~ Algorithm 本周选择的算法题是:Shifting Letters II。 class Solution: def shiftingLetters(self, s: str, shifts: List[List[int]]) -> str: n = len(s) ... 2025-01-056 min read
ARTS #223 | CacheBlend & AWQ 福建西部连城的冠豸山,每个季节都有不同的美景~ Algorithm 本周选择的算法题是:Find Building Where Alice and Bob Can Meet。 class Solution: def leftmostBuildingQueries(self, heights: List[int], queries: List[List[int]]) ... 2024-12-223 min read
ARTS #222 | WAM 与 LMDeploy 家里多了一个可爱的小物件,萌萌的垃圾桶~ Algorithm 本周选择的算法题是:Smallest String With A Given Numeric Value。 class Solution: def getSmallestString(self, n: int, k: int) -> str: result = [] ... 2024-12-084 min read
什么是 CUDA Graphs 用 CUDA Graphs 加速 PyTorch 模型~ CUDA Graphs 是 NVIDIA CUDA 10 引入的一项高级特性,它能够将一系列 CUDA 内核定义并封装为一个单一的操作图,而不是逐个启动操作。这种机制通过一个 CPU 操作启动多个 GPU 操作,从而减少 GPU 任务的启动开销。 在传统的 GPU 编程中,每当需要让 GPU 执行任务时,CPU 都必须... 2024-11-245 min read
ARTS #221 | Late Chunking 附近的一座小山,山里藏了个小瀑布,适合玩水的季节~ Algorithm 本周选择的算法题是:K-th Smallest in Lexicographical Order。 class Solution: def findKthNumber(self, n: int, k: int) -> int: def count_numbers(prefi... 2024-11-104 min read