所有文章
共 16 篇文章
2026年7月9日Agentic AI
Agentic AI 03: Agentic RL Survey Reading Notes
阅读 The Landscape of Agentic Reinforcement Learning for LLMs: A Survey:从 POMDP 视角理解 LLM Agent 为什么需要 RL。
2026年7月4日Agentic AI
Agentic AI 02: Context Budget and Tool Routing
用上下文预算和工具路由理解 Agent 系统:模型什么时候该检索、什么时候该行动,以及为什么循环需要预算。
2026年6月24日Agentic AI
Agentic AI 01: Introduction and Basics
从工程视角理解 Agentic AI:它和普通 Chatbot、RAG、Workflow 的区别是什么,一个可用 Agent 系统需要哪些基本部件。
2026年2月17日PyTorchCUDA
torch.compile 底层在做什么?从 Triton 代码生成到手写 CUDA kernel
深入 torch.compile 的编译链路:TorchDynamo → FX Graph → Inductor → Triton/PTX,以及为什么 FlashAttention 等手写优化能超越自动编译。
2026年2月16日PyTorchAI Systems
torch.compile 到底优化了什么?从 Benchmark 看算子融合的本质
通过对比 Pointwise-heavy 与 Matmul-heavy 两种模型的 Benchmark,直观理解 torch.compile 的核心优化——算子融合(Operator Fusion)为何只在显存带宽瓶颈场景下才有明显效果。
2026年2月16日PyTorch
torch.where 与 torch.cond 的区别与异同
对比 PyTorch 中的 torch.where 与 torch.cond,了解它们的区别与相同点,以及在不同场景下的应用。