00:12 本地 AI 的发展与评测争议
本地 AI 生态正出现新推理引擎和针对模型、芯片、工作流的优化;开源 AI 面临优化问题,本地 AI 同时面临用户体验问题。一次演示中,本地 27B 模型与云端 GPT-5.5 给出相似回答,生成速度分别为每秒 51 和 34 个 token,但不同基准对开闭源模型差距的判断并不一致。Osman 还根据 OpenRouter 数据指出,智能体产生的 token 已超过人类直接产生的 token。
AI Engineer · 56:08
Just gonna give everyone a second to settle in. So I have 170 slides for you. I believe that we're not going to be able to go through all of them, but they will be posted online very soon. but yeah, this is basically what runs where and local ai in production. and the goal is to go through the history of local ai. you know, probably we're going to go back a bit to 2023 and where we're heading in the future. and of course, talking about where we are today. So, uh, in June at AIE World's Fair, uh, we hosted the Local AI Summit with NVIDIA and back then I said that we're basically in the 90s of Linux, uh, and I, uh, I think we're starting to finally see more and more people invest in the ecosystem and the infrastructure. since then, we have been seeing more mega kernels, or what people call mega kernels. we've been seeing new inference engines. we're seeing a lot of people trying to optimize, basically, per model, per chip, per workflow, and that's the way to go. Uh, so yeah, open source AI is an optimization problem. Uh, local AI is a user experience problem. And both of those things need to be solved in parallel to each other. This is, uh, this is from our recent launch, uh, co-launch with NVIDIA. We built an optimized inference engine for the RTX Spark. And this game right here, this was built on an RTX Spark on Windows. Uh, So you can play this game on ods park. com and you can see all the traces. This was built fully locally, no cloud, no codecs, our own portal. Harness everything. It was built locally basically. And this is from the best buy launch with like, you know, official launch for the rtx park. We had so many people around us that wanted to play this game. so we're starting to see more of everybody, like, you know, everyday person actually showing up for local ai and interested in what's being done in here. Um. Can you tell the difference between these two answers? One of them was a local model and another was GPT-5.5. This is from our uh uh video online with Hugging Face. It's Locally AI 201. And uh we ran some demos back then uh on a bunch of hardware. And um one of them was faster than the other. The answers were pretty similar. And you can see here that the model that we're in locally was quinn 3.6 27 billion parameter. And it ran at 51 tokens per second for the calling while gbt 5.5 via OpenAI cloud, whereas running at 34 tokens per second. And i don't know if you guys are using codex cli at this point, but it's pretty slow in comparison to anything local. Um, this one is an interesting one, anyone. So the new artificial analysis index, v5. They have that anthropic haiku 5.5 is ahead of deep seek v4.1 flash. And that's a very interesting benchmark in my opinion. If your evals are showing that haiku is beating deep seek v4. Point one flash, there's a problem there. Now, um. This one is an interesting one. It's showing the progress since March 2023 and how long, um, long horizon tasks, uh, are becoming. longer. in terms of what humans could do that machines could solve right now. and we're seeing that basically it's doubling every four months and that rate is not slowing down. we're also seeing something else and more interesting, which is this is from open router's data, october 2026, that the number of tokens are in trillions. and since february, agents are the ones producing tokens more than humans. the last time a human was the one generating more tokens out there was february 2026. And I guess we're never going to get there again. It's always going to be agents producing tokens for agents. This is artificial intelligence, uh, artificial analysis intelligence index V4.1 and it's showing that the open source uh models since um. yep, january 2025 basically have jumped up from 13 points to 51 on the index. and the gap is becoming smaller and smaller. yet again, it raises the question why a few slides back, we're seeing that haiku 5.5. is the one beating DeepSeek V4.1 Flash. So which benchmark to trust is a good question to ask nowadays.
先给大家一点时间入座。 我给大家准备了170张幻灯片。 我想我们可能没法全部讲完,但它们很快就会发布到网上。 不过,是的,今天主要讲的是各种东西在哪里运行,以及生产环境中的本地AI。 目标是回顾本地AI的发展历程。 大概会回溯到2023年,再看看未来的发展方向。 当然,也会讲讲我们现在的状况。 今年六月,我们在AIE World’s Fair上与NVIDIA共同举办了Local AI Summit。当时我说过,我们基本上还处于Linux的90年代,而我认为,我们终于开始看到越来越多人投资这个生态系统和基础设施。 从那以后,我们看到了更多的mega kernel,也就是人们所说的超级内核。 我们还看到了新的推理引擎。 我们看到很多人尝试针对每个模型、每种芯片和每个工作流进行优化,这才是正确的方向。 所以,开源AI是一个优化问题。 本地AI则是一个用户体验问题。 这两个问题需要同时解决。 这是我们最近与NVIDIA联合发布的成果。 我们为RTX Spark构建了一个经过优化的推理引擎。 眼前的这个游戏就是在Windows系统的RTX Spark上构建的。 你可以在ods park. com上玩这个游戏,还可以看到所有的追踪记录。 这完全是在本地构建的,没有用云端,也没有用Codecs,用的是我们自己的门户。 充分利用一切。 它基本上是在本地构建的。 这是百思买的发布活动,算是 RTX Park 的正式发布吧。 当时我们周围有很多人都想玩这个游戏。 所以我们开始看到越来越多普通人关注本地 AI,对这里正在开展的工作感兴趣。 嗯。 你们能看出这两个回答的区别吗? 其中一个来自本地模型,另一个来自 GPT-5.5。 这是我们和 Hugging Face 合作发布的在线视频里的内容。 视频叫《Locally AI 201》。 当时我们在一堆硬件上运行了一些演示。 其中一个比另一个更快。 回答倒是很相似。 你们可以看到,我们在本地运行的模型是 Quinn 3.6,拥有 270 亿个参数。 调用时它的运行速度是每秒 51 个 token,而通过 OpenAI 云端运行的 GPT-5.5 则是每秒 34 个 token。 我不知道你们现在有没有在用 Codex CLI,但和本地运行的东西相比,它相当慢。 嗯,这个挺有意思的,各位。 这是新版的 Artificial Analysis 指数,v5。 在他们的排名里,Anthropic Haiku 5.5 领先于 DeepSeek V4.1 Flash。 在我看来,这是一个很有意思的基准测试结果。 如果你的评测显示 Haiku 的表现胜过 DeepSeek V4 点1 Flash,那就有问题了。 现在,嗯。 这一项很有意思。 它展示了自2023年3月以来的进展,以及长周期任务,嗯,正在变得 越来越长。 也就是说,机器现在能解决的人类任务所需的时间越来越长。 我们看到,这个时长基本上每四个月翻一番,而且增长速度没有放缓。 我们还看到了另一件更有意思的事:这是 OpenRouter 2026年10月的数据,显示 Token 的数量已达数万亿。 自二月以来,智能体产生的 Token 比人类更多。 人类最后一次生成的 Token 比智能体更多,是在2026年2月。 我想我们再也不会回到那个状态了。 以后总会是智能体为智能体生成 Token。 这是人工智能,呃,Artificial Analysis 智能指数 V4.1,它显示开源模型自从,嗯。 对,2025年1月以来,在该指数上的得分基本上从13分跃升至51分。 而且差距正变得越来越小。 这再次引出了一个问题:为什么在前几页幻灯片中,我们看到 Haiku 5.5 的表现胜过 DeepSeek V4.1 Flash? 所以,现如今该相信哪个基准测试,是个值得思考的问题。
А. so three things. this is one of those tweets are from, oh, i bought one in the same place twice. my bad. but i have a tweet since march 2025 saying the future is small and specialized models. and i believe that in three years or less, we're going to have a one billion parameter model. That beats Obas five point five. Okay, this is an interesting one. This is from Owen Rater, right? Um, amount of money being spent on models right now, mostly closed weights. However, the number of tokens being consumed out there are mostly open source models. And, you know, this is the letter board from open writer, October 2026, i guess. Well, and this is showing that pretty much in terms of tokens, everybody's using deep seek v4, bring one flash and jeff for most tasks. But in terms of money spent, it's almost 5.5. so what are agents doing right now? and why do we think that there is a need for new chips to be engineered out there? or new paradigms for software that run faster, more asynchronous. it's because most of the tasks are being done right now. you're mostly waiting on an agent to run a shell command, reduce something, execute something. and get the results back more than you are bottlenecked by tokens per second actually. and there is a reason that even just a single rtx 3090 would give you a lot of good information, like a lot of good use, because you're still going to be bottlenecked more by processing time. so, the gap between open and closed models depends mostly on which benchmark you trust. according to hle diamond, the gap is more than 30%. terminal bench says that open source models are ahead by two points. so we have an evals problem, that's for sure. and i don't know how it's going to be solved, honestly. there is a reason that sometimes i'm just like, okay, google released a new model. do i care about the benchmarks? not really. like, when is the last time i used the gemini? it's gemini pro 2.5, the march 25th edition. that's the one that i last liked from them. since then, it feels like it's benchmarks, basically. this is an interesting research. it came out in april and it's from a security vendor. pretty much was able to reduce the same security gaps being caught by small specialized open models. so this tells you something about the idea of like small models. anyone realizes right now why like opus 5.5 is cheaper than fable 5.5, 5.2 or. while it's more capable, it's not more capable in every task. it's more capable for the tasks that most people care about. it's rl'd to an extreme extent for coding, but i don't trust it when it comes to problem solving. i trust it to execute and write really good code, less slop, as you would say, but it's not the smartest model out there right now. So, you know, the the reason i first and how many of you know me like how many of you actually follow me on x or like okay so only a few of you. Okay so my name is ahmed osman. By the way, let me introduce myself. So i came in here and i just started talking. I'm the ceo and founder of a company called osman tech. My co-founder is parking his car right now so he's not here but he would laugh. when i say that he says that i'm very humble, he just came in. so i didn't just call this company osmanthek because it's my last name. somebody in the dms came up and asked me if my last name is short for open source man. and i decided that, okay, i'm going to take that and run with it. so we created osmanthek. and, you know, the thesis that i'm building this company around is that you don't need frontier intelligence at every step. a lot of what we're doing could be done with small and specialized models. i even say that opus 5.5 in comparison to astra or fable is a small and specialized model right now.
А。 所以有三件事。 这是其中一条推文,哦,我把同一条放了两次。 我的错。 不过我从2025年3月起就发过推文,说未来属于小型专业模型。 而且我相信,三年或更短时间内,我们会拥有一个十亿参数的模型。 它能击败Obas 5.5。 好,这个很有意思。 这是Owen Rater的,对吧? 嗯,目前花在模型上的资金大多投向了闭源权重模型。 然而,实际消耗的token大多来自开源模型。 而且,你知道,这是Open Writer的排行榜,我猜是2026年10月的。 嗯,这表明从token用量来看,大家处理大多数任务时基本都在用Deep Seek V4、Bring One Flash和Jeff。 但从花费的资金来看,几乎都是5.5。 那么,智能体现在都在做什么? 我们为什么认为需要设计新芯片? 或者需要运行更快、异步程度更高的软件新范式? 这是因为目前大多数任务的执行方式。 大多数时候,你都在等智能体运行shell命令、处理或执行某些操作, 然后获取结果;实际上,每秒token数反而不是主要瓶颈。 这也是为什么即使只有一张RTX 3090,也能提供很多有价值的信息、发挥很大作用,因为你的瓶颈更多仍然在处理时间上。 所以,开放模型和封闭模型之间的差距,主要取决于你信任哪个基准测试。 根据 HLE Diamond,差距超过了30%。 Terminal Bench 则显示开源模型领先两分。 所以可以肯定的是,我们在评估方面存在问题。 说实话,我不知道这个问题要怎么解决。 有时候我会想,好吧,谷歌发布了一个新模型。 我在意那些基准测试吗? 其实不太在意。 比如,我上一次用 Gemini 是什么时候? 是3月25日版本的 Gemini Pro 2.5。 那是他们家最后一个我喜欢的模型。 从那以后,感觉基本上就是在刷基准测试了。 这是一项有意思的研究。 它于4月发布,来自一家安全厂商。 它基本上能够减少那些被小型专业化开放模型发现的同类安全漏洞。 这说明小模型这个思路还是有些价值的。 现在有人明白为什么 Opus 5.5 比 Fable 5.5、5.2 或者……更便宜吗? 虽然它的能力更强,但并不是在每项任务上都更强。 它只是在大多数人关心的任务上更强。 它针对编程任务进行了极大程度的强化学习,但在解决问题方面,我并不信任它。 我相信它能执行任务并写出很好的代码,用你们的话说,水货更少,但它不是目前最聪明的模型。 所以,你知道,我最初的原因是——你们有多少人认识我?有多少人真的在 X 上关注我?好吧,只有几个人。 好吧,我叫 Ahmed Osman。 对了,让我介绍一下自己。 我走进来就直接开始讲了。 我是一家名叫 Osman Tech 的公司的首席执行官兼创始人。 我的联合创始人正在停车,所以他不在这里,不过他会笑的。 我这么说的时候,他会说我很谦虚,他刚进来了。 我给公司取名 Osmanthek 可不只是因为这是我的姓。 有人私信问我,我的姓是不是 Open Source Man(开源人)的缩写。 我决定,好吧,我就沿用这个说法,大做文章。 于是我们创建了 Osmanthek。 我创办这家公司的核心理念是,你不需要在每一步都使用前沿智能。 我们做的很多事情都可以用小型、专用的模型完成。 我甚至认为,和 Astra 或 Fable 相比,Opus 5.5 现在也是一个小型、专用的模型。
So again, 170 slides, we're slide uh 22, so if I miss giving some, I will share them online. Um, so uh anyone saw the trailer that I created for this uh for this talk? it's this one right here. this was created with claude opus 5.5. end to end, the quotes found, the clips, the music, how it's showing the text, how it's putting all of that over life. all of this was from an ai model doing this work on its own. i pointed it at a bunch of videos of mine and a bunch of articles and it just captured everything. i had to select a bunch of like, you know, use this, don't use that. but besides that, it orchestrated this entire thing. however, it wasn't able to build this entire thing without, let's go back to this, without two rtx pros 6000s that it used for pretty much tagging photos, upscaling videos, upscaling audio. my macbook used, like, you know, handled the editing. Baking a b winners. Basically, a b testing for what do i like and what do i not like? But pretty much it was straightforward. This took me six hours. I literally started working on this on like 9 p. m. And i was done by 3 a. m. I was like, oh wow, like i could do stuff that used to need to hire someone to professionally do was just an agent and i bet you that we're gonna have a small and specialized model doing this within three years from now. Just. at home. so the cloud is pretty much someone else's basement. i argue that with everyone. every model that we use, whether it's astera or fable 5.2 or quinn or whatever, it's someone else's basement. so we need to make peace with that. and also, you know, we started, we created this harness called portal, and i decided to give it the cloud as like an emoji because. well, you have the cloud at home now, so like start using local ai more. and code name for this thing is cairo. i'm from cairo, egypt, so, you know, i like to throw in stuff in there that are like, you know, trivia. so local is basically the machine that you have under your desk or someone's abi. it doesn't matter. someone's data center. it's all local. it's local to someone. so the idea of like, you know, you have to use the cloud because it's frontier intelligence. frontier based on what? based on which benchmark that they just showed you massive gaps in? and for which tasks specifically are you calling it frontier? some math for people like me that like to talk about four bits and stuff like that, but we're going to skip this one. yeah. long context. still, we haven't found a way to make that work. memory is still a massive issue. There is an interesting slide coming up. Let's get this. oh, yeah. this is for my basement. this is a 14 rtx 3090s behind me right there. this thing was barely able to hold deepseek r1, which came out in february 2025. i had a live stream, six hours live stream, trying to run it on my ddr4 rams. and i was, it was incredible. it was like right after 01 and finally deepseek r1 came out, 671 billion parameter model. And I'm like, oh, it's reasoning. Yeah, it's giving me like eight tokens per second on my RAM. And like once it had like 16,000 tokens, it was so slow. But I'm seeing some reasoning in this thing locally on my machine. So that was like a very good moment. Like imagine that like just four months after this thing came out, um, GPT OSS came out. It's like 120 billion parameter model and it was like one fifth of its size and it was doing a lot more. It was way more capable. So like the trend of how fast open source models are catching up, it's incredible. А. yeah, actually, this is one of those things that like when i tell people that they built this like march or february 2025, people are like, really? so like even like with gemma 3, the full billion parameter model, i was able to like build a screenshot organizer at home running on an rtx 4090. like models were already so capable, but nobody wanted to put a little bit of systems engineering behind it. let's skip all of the techie stuff.
再说一次,一共有 170 张幻灯片,我们现在讲到第 22 张,所以如果我漏讲了一些,我会把它们分享到网上。 嗯,有人看过我为这次演讲制作的预告片吗? 就是这个。 这是用 Claude Opus 5.5 制作的。 从头到尾,包括找到的引语、片段、音乐、文字的呈现方式,以及如何让这一切栩栩如生。 所有这些都是一个 AI 模型自己完成的。 我给它看了一堆我的视频和文章,它就把所有内容都捕捉到了。 我得做一些选择,比如说,你知道的,用这个,不用那个。 但除此之外,整个过程都是它统筹完成的。 不过,要完成这一切,它还离不开——我们再回到这一点——两块 RTX Pro 6000 显卡,基本上用来给照片打标签、提升视频和音频的质量。 我的 MacBook 则负责剪辑。 导出 A/B 测试中胜出的版本。 基本上就是通过 A/B 测试来确定我喜欢什么、不喜欢什么。 不过整个过程基本上很简单。 这花了我六个小时。 我确实是大概9点开始做这个的,时间是下 午。 然后我3点就做完了,时间是凌 晨。 我当时就想,哇,以前需要花钱请专业人士做的事,现在我只用一个智能体就能做了。我敢打赌,三年之内我们就会有小型专用模型来做这种事。 就在 家里。 所以云端基本上就是别人的地下室。 我跟所有人都这么说。 我们使用的每一个模型,不管是 Astera、Fable 5.2、Quinn 还是什么别的,都在别人的地下室里。 所以我们需要接受这一点。 而且,你知道,我们开始做了一个叫 Portal 的框架,我决定用云朵作为它的表情符号,因为…… 你现在家里就有云了,所以可以开始更多地使用本地 AI。 这个东西的代号是 Cairo。 我来自埃及开罗,所以,你知道,我喜欢在里面加些这样的小趣闻。 所以,本地基本上就是你桌子底下的机器,或者某个人的 ABI。 这不重要。 或者某个人的数据中心。 这些都是本地的。 对某个人来说都是本地的。 所以那种说法是,你必须使用云,因为那是前沿智能。 前沿的依据是什么? 依据他们刚才给你展示的哪个差距巨大的基准测试? 而且具体针对哪些任务,你才称它为前沿? 这里有一些数学内容,是给像我这样喜欢聊四位之类东西的人看的,不过我们要跳过这部分。 嗯。 长上下文。 我们仍然没有找到让它发挥作用的方法。 内存仍然是个大问题。 接下来有一张有意思的幻灯片。 我们开始吧。 哦,没错。 这是给我的地下室用的。 我身后这里有14张RTX 3090显卡。 这东西勉强能装得下DeepSeek R1,它是2025年2月发布的。 我直播了六个小时,尝试用我的DDR4内存运行它。 我当时觉得,太不可思议了。 就在o1发布之后不久,DeepSeek R1终于出来了,这是个6710亿参数的模型。 我当时想,哦,它会推理。 对,它在我的内存上运行时,每秒能生成大约8个token。 但一旦达到大约16000个token,它就变得非常慢。 但我确实看到它在我的电脑本地进行了一些推理。 所以那真是一个很棒的时刻。 想想看,就在这东西发布仅仅四个月后,呃,GPT OSS就出来了。 它是一个1200亿参数的模型,体积大约只有它的五分之一,却能做更多事情。 它的能力强得多。 所以,开源模型迎头赶上的速度真的不可思议。 啊。 是啊,其实每当我告诉别人他们是在2025年3月或2月构建出这个的,大家都会说,真的吗? 就连用Gemma 3的十亿参数完整模型,我都能在家里做出一个截图整理工具,在RTX 4090上运行。 比如模型已经非常强大了,但没人愿意在它背后投入一点系统工程。 我们跳过所有技术细节吧。
i'm trying to focus on... well, let's not skip it completely. we know that we're getting a lot of good quantizations. we're seeing a lot more stuff around nvi before. we're seeing more from nvidia when it comes to proper implementations. they finally hired a bunch of people that released a new... inference engine specifically for the rtx pro 6000. so we're seeing some progress in there. we know that blackwell, the rtx pro 6000 blackwell is different from the blackwell of the b300 and b200. so we're seeing some work being done in terms of optimizing software for inference at home or like, you know, prosumer, not necessarily consumer hardware. but also, there's a lot more to it. there's stuff like quantization-aware training, which basically is making the model reassess itself as it's training so that the most used layers in the model are being kept at higher precision so that the least used are actually the ones being compressed down. this kind of stuff are very important, and this is what people like daniel and mike. All from unsupervised basically built the dynamic quantization based on. so, a bunch of benchmarks. the most important thing, yep, here i mentioned the dynamic quantization, and there are two different ones, by the way. there's ones that happen at runtime, and there's ones that you basically run a bunch of benchmarks and assess which layers get used the least, and then decide, okay, this one i'm going to keep it at 16, this one i'm going to keep it at 8, this one right here, it's useless, it's barely being used. 0.01%. so i'm going to put it at one bit, right? that's how you compress down a model and quantize it. there are so many different ways to do this. just putting everything at four bits is probably going to nuke the model. so don't just say, hey, it's all the same. quantizations are not the same. you actually have to pay attention to which layer is losing what exactly in terms of precision. So yeah, this is an interesting one. basically, the accuracy in terms of being able to, like, for models, again, how quantization have evolved, we're seeing that something like glm 5.3 at 4-bit is able to recall about 94% of its accuracy, while a year ago, deepseq v3.1 was only able to do 76.1% precision recall, right? so that shows that... the more we optimize these quantization algorithms, the better we are in terms of accuracy. the more that we can compress these things and make them work on smaller machines or like, you know, less vram basically or less memory and get a lot more accuracy out of them. Oh ja, so. 嗯。 Yeah, so basically, how many of you here know the difference between like decode and prefill? okay, so prefill, as we know it, is compute bound. decode is pretty much memory bandwidth bound. and that means that if you have a long prompt and you're starting off with that, the time to first token is going to take more. if you're starting with a shorter prompt, you're probably going to get more tokens faster. so these are things that most people do not think about when they are buying hardware. so, yeah, you have basically different kind of bottlenecks depending on your use case, right? so longer context, right, means that when you're building the kv cache, you're more compute bound, right? patching, which kind of hardware do you need? and that's why i'm bringing this up because... What you use in terms of hardware and what you buy depends on the workflow that you're going to be running and the needs of your use case. Not just I'm going to buy any hardware out there. Like the idea of a dense model running on a DGX Spark when we know that you need to run the entire like, you know, like when 3.5 27 billion parameter model needs to run every token by the 27 billion parameter parameters, that's going to be very slow in comparison to running an MoE on a DGX Spark. Yeah, and how many of you here have like an iPhone? Come on guys, if you don't raise your hand, you must be lying about other stuff as well. so right now an iphone is basically more capable than running intelligence and capabilities than a model that used to require data center three years ago, gpt-4o. so right now if you use quinn 3.5 on your phone, it's more capable than that. so that tells you something about where hardware is going and where model optimizations are going actually. we're able to extract a lot more intelligence from much smaller models. and that's again my bet on why i'm saying smaller and specialized models, one and two billion parameter models, are going to be the norm. we're going to have a bunch of orchestration around them, and it's probably going to be another model that's doing the orchestration so that we don't even have to bother with it.
我想重点说……嗯,还是别完全跳过。 我们知道,现在有很多不错的量化方案。 我们看到越来越多以前围绕 NVI 的东西。 在正确实现方面,我们看到 NVIDIA 做了更多工作。 他们终于雇了一大批人,推出了一个新的……专门针对 RTX Pro 6000 的推理引擎。 所以我们看到这方面取得了一些进展。 我们知道,Blackwell,也就是 RTX Pro 6000 Blackwell,和 B300、B200 的 Blackwell 不一样。 所以我们看到有人在优化软件,以便在家用或者说,专业消费级、不一定是普通消费级的硬件上进行推理。 但其实还有很多其他方面。 比如量化感知训练,基本上就是让模型在训练过程中重新评估自身,把模型中最常用的层保持在更高精度,而把最不常用的层压缩下去。 这类东西非常重要,而这正是 Daniel 和 Mike 这样的人…… 还有 Unsupervised 的所有人构建动态量化时所依据的东西。 也就是一系列基准测试。 最重要的是,对,我在这里提到了动态量化,顺便说一下,它有两种不同的方式。 一种是在运行时进行,另一种基本上是先运行一系列基准测试,评估哪些层用得最少,然后决定:好,这一层我保持 16 位,这一层保持 8 位,而这一层没什么用,几乎用不到。 0.01%。 所以我要把它设为 1 位,对吧? 这就是压缩和量化模型的方法。 做这件事有很多不同的方法。 把所有东西都设成4位,很可能会把模型搞废。 所以不要简单地说,嘿,这些都一样。 不同的量化方式是不一样的。 你确实需要注意每一层究竟损失了多少精度。 所以,是的,这个挺有意思。 基本上,从模型准确率的保持情况来看,随着量化技术的发展,我们看到,像 glm 5.3 这样的模型在4位量化下能保持约94%的准确率,而一年前,deepseq v3.1 只能保持76.1%的精度,对吧? 这说明……我们越是优化这些量化算法,准确率就越高。 我们就越能压缩这些模型,让它们在更小的机器上运行,或者说,基本上用更少的显存或内存,还能获得更高的准确率。 哦,是的,所以。 嗯。 好,基本上,在座有多少人知道解码和预填充之间的区别? 好的,我们知道预填充受计算能力限制。 解码基本上受内存带宽限制。 这意味着,如果你一开始输入的是很长的提示词,那么生成第一个 token 所需的时间就会更长。 如果一开始的提示词较短,你可能会更快地得到更多 token。 所以这些都是大多数人在购买硬件时不会考虑的事情。 所以,是的,基本上,根据你的使用场景不同,你会遇到不同类型的瓶颈,对吧? 所以,较长的上下文意味着在构建 KV 缓存时,你会更受计算能力限制,对吧? 批处理,你需要哪种硬件? 这就是我提起这个的原因,因为……你使用什么硬件、购买什么设备,取决于你要运行的工作流程以及具体用例的需求。 而不是随便买什么硬件都行。 比如在 DGX Spark 上运行稠密模型:我们知道,像 Qwen 3.5 的 270 亿参数模型,每生成一个 token 都需要用到全部 270 亿个参数,相比在 DGX Spark 上运行 MoE 模型,这会慢得多。 对了,在座有多少人有 iPhone? 拜托,各位,要是你不举手,那你在别的事情上肯定也撒了谎。 所以现在,iPhone 基本上已经能运行智能水平和能力都超过 GPT-4o 的模型了,而三年前这个模型还需要数据中心才能运行。 所以现在,如果你在手机上使用 Qwen 3.5,它的能力就比那个更强。 这其实能说明硬件和模型优化的发展方向。 我们能够从小得多的模型中提取出更多的智能。 这也是我为什么认为更小、更专门化的模型,也就是 10 亿和 20 亿参数的模型,将成为主流。 我们会围绕它们进行大量编排,而负责编排的可能又是另一个模型,这样我们甚至不需要为此操心。
Yeah, this is an interesting one. Um, the M5 uh Ultra is supposed to have uh something like 1.2 terabytes per second bandwidth. Uh, and the DGX Spark has 273 uh gigabytes per second. For the coding, Somehow, 2DGX Spark still beat the M5. And this is where I say we need a lot of software optimizations. Max Abel does not have any good software optimizations for AI at this point. The software is really lacking. Coda, NVIDIA is way ahead. And there's a reason when somebody's asking me if they should be like what hardware to buy and I'm like, how much of your time do you want to like spend trying to get something working and optimizing for it? Because if you have a lot of time, go buy an Intel GPU. But if you want something to actually work and you're able to work with an agent to improve it, it's probably going to be Nvidia and Coda. Yeah, we had this thing on with hugging face. We like did like a youtube video with them talking about local ai and we ran a bunch of different hardware, right? We ran an rtx pro 6000 with quinn 3.6 27 billion parameter. We are in the same model actually in all of them and five MacBook Pro with an m5 max. Chap, uh, a DGX Spark and Strix Halo. And um, you can see the different bandwidth that they have. And this is the video from that thing. The Race. where they start generating. Tokens and you can see the GPU beating all of them. So. In terms of tokens per second. We are seeing a lot more out on the RTX Pro 6000 because its memory bandwidth is a lot higher. But not just that, when it comes to batching and running parallel uh parallel like uh requests, we also see that hmm it's right here. 50 requests per machine at once. We're seeing that rtx pro 6000 becomes almost 1300 tokens per second while everything else is sequential. And this is a software problem. By the way, somebody should build an inference engine for these different machines and please open a br and to ods for that specific machine for that specific platform. and we will make it the default for the models that you have optimized for. we need a lot more people contributing in the open source community with their hardware optimizing for the models that they are using right now. that's how we all get better together because otherwise, and the idea of everybody contributing to that lama. cbb, Doesn't work because you're giving away basically like you're using a bunch of tricks to just work for everything, right? You're you're support mpus, you support raspberry pi. So you're thinking a lot of short cuts in and you're not able to optimize for the hardware platform. That's why like i believe that an inference engine per model per chip is what we need moving forward. So yeah, again, you can see the number over there. So this shows just how much like when I was telling people go buy as you view it's for a reason because if we're using agents and again I was showing that agents since February are what use tokens the most uh then. they are just going to be spinning off other agents and when you're running them in parallel, it makes sense to get a gpu rather than a macbook or an m5 ultra studio. unless, of course, you want to build an inference engine optimized for it, then please, again, open up br and all the others. so these are just a bunch of numbers, you can read them online. this is about batching. i'm just trying to get to the more important stuff. so again, different engines, different quantizations, different file formats, different optimizations as we quantize these things. ultimately, we're going to have a bunch of these coming up over the next few years. we've created our own ods weights and we're just like, you know, everybody's going to optimize differently. and i don't think that. right now it's necessary to just try to like, you know, find the best standard. it's more important to find all the optimizations. most probably everything that's being built for the next year, year and a half is going to be thrown in the trash. and that's fine. it's more important to actually understand what kind of optimizations should you be building for.
是的,这个很有意思。 嗯,M5 Ultra 的带宽据说大约是每秒 1.2 TB。 而 DGX Spark 是每秒 273 GB。 在编程任务中,不知怎么的,两台 DGX Spark 还是胜过了 M5。 这就是我说我们需要大量软件优化的原因。 Mac 上的 Apple 目前还没有针对 AI 的良好软件优化。 软件方面确实很欠缺。 在 CUDA 方面,NVIDIA 遥遥领先。 所以当有人问我该买什么硬件时,我会问他们:你愿意花多少时间让一个东西正常运行并对它进行优化? 因为如果你时间很多,就去买一块英特尔 GPU。 但如果你想要真正能用的东西,而且能够借助智能体来改进它,那很可能得选英伟达和 CUDA。 对,我们之前和 Hugging Face 搞过一个项目。 我们和他们拍了个 YouTube 视频,聊本地 AI,还测试了好多不同的硬件,对吧? 我们用 RTX Pro 6000 运行了 Qwen 3.6 的 270 亿参数模型。 其实我们在所有设备上都运行了同一个模型,还有一台搭载 M5 Max 的 MacBook Pro。 Chap,呃,一台 DGX Spark,还有 Strix Halo。 然后,嗯,你可以看到它们各自不同的带宽。 这是那个项目的视频。 这场竞赛。 它们开始生成 令牌,你可以看到 GPU 打败了其他所有设备。 所以, 从每秒令牌数来看, 我们看到 RTX Pro 6000 的输出高得多,因为它的内存带宽高得多。 但不止如此,在批处理和并行运行,呃,并行处理请求时,我们也看到,嗯,就在这里。 每台机器同时处理 50 个请求。 我们看到 RTX Pro 6000 的速度接近每秒 1300 个令牌,而其他设备都是顺序处理。 这是个软件问题。 顺便说一句,应该有人为这些不同的机器构建一个推理引擎,并且请针对特定机器和特定平台开放 BR 和 ODS。 我们会将其设为你优化过的那些模型的默认选项。 我们需要更多人参与开源社区,针对他们目前使用的模型,在自己的硬件上进行优化。 这样我们才能共同进步,否则,让每个人都为那个 llama 做贡献的想法…… cbb 行不通,因为你基本上是在用一堆技巧来兼容所有东西,对吧? 你支持 MPU,也支持树莓派。 所以你采用了很多捷径,没法针对硬件平台进行优化。 这就是为什么我认为,未来我们需要为每个模型和每种芯片分别打造推理引擎。 所以,是的,你又可以看到那边的数字。 这说明了我告诉大家去买 as you view 是有原因的,因为如果我们使用智能体,而且我之前也展示过,自二月以来智能体消耗的 token 最多,那么,呃…… 它们会不断派生出其他智能体,而当你并行运行它们时,买 GPU 比买 MacBook 或 M5 Ultra Studio 更合理。 当然,除非你想为它打造一个经过优化的推理引擎,那就请再次开放 br 和其他所有东西。 这些只是一堆数字,你们可以在线查看。 这是关于批处理的。 我只是想快点讲到更重要的内容。 所以,同样,随着我们对这些东西进行量化,会有不同的引擎、不同的量化方式、不同的文件格式和不同的优化。 归根结底,未来几年会出现大量这样的东西。 我们创建了自己的 ODS 权重,而且你知道,每个人的优化方式都会不同。 而且我不认为…… 现在有必要去努力寻找什么最佳标准。 更重要的是找出所有的优化方法。 未来一年到一年半内构建的东西,很可能最终都会被扔进垃圾桶。 这也没关系。 更重要的是弄清楚,你应该针对哪些方面进行优化。
so if you're building, if you're trying to choose an inference engine, some questions for you. i would say it's better to just try to optimize one for yourself and like just based on your workflows. but that takes time. i'm assuming most of you here are engineers or people that are actually interested in this space. so start playing with tiny kernels. like just get colleagues to start working with you on a quincy 1.5, like 0.8 billion parameter. And see how it works out. this is an interesting one. this is from open router and it's basically showing the benchmarks of glm 5.3 and it's showing it on different hardware. this is where you can see that an inference engine actually matters. some of these are closed source, some of these are not even available to the public and there are different chips. so at the bottom we have 10 stored down there, right? so this is what i mean when i say it's like bare chip or bare model optimization because it's different from one platform to the next. the instruction sets are not the same. what you can do with the hardware, what you can extract, unback, backup, and like do calculations on, it doesn't work the same. so, yeah, time to first token, tokens per second, per user, and again, per agent, i would say, moving forward, is something you need to optimize for, requests per second, and basically task accuracy. and all of these things need to be measured based on your own hardware. you can't just be saying, hey, i'm just going to trust the numbers being posted online, or i'm going to just follow this recipe and it's going to work great. most probably it's not. this is a very interesting one. this actually came out just last month from a company called actual inc. and they built a rust tokenizer that was, i don't know, i can't remember if it was rust or if it was written in assembly, but it was basically like 100 times faster. but that 100 times faster when it came to the whole request, it made it 1.1. percent faster. and that's still great, by the way. like, that doesn't mean that it's like, you know, what, the belt was not an excellent piece of software. that just means that everything that we're using in these, like, you know, these llm pipelines, it's system engineering, and you need to optimize every part of that pipeline so that you can actually extract more value out of it. because the hardware is burning and, like, you know, it's being used without you getting the most optimal output. From it. So. I'm gonna skip this one. I'm trying to get by the way to continual learning. So that's why i'm giving a bunch of things here. We saw a bunch of other levers over the summer. We started seeing the flash, a lot of people working with speculative decoding optimizing for amd for nvidia hardware for different models. We saw a bunch of like lambda cbb forks and a lot of people just started with 14 lambda cbv, right? and just adding the flash support or the d3 support. something that just came out yesterday, and i'm trying to get to it, this. this paper came out november 9th and it was impressive to me. it's basically called flash data and i still need to, so like what i'm saying right now is just me skimming through it and trying to add it to these slides. so i might be wrong, so don't hold me accountable on this until i do more in-depth research and if there is a correction needed, i'm going to post it online. so i'm saying that as a disclaimer. but what they are doing is basically saving where each turn ends, instead of just letting vlm guess. and it's pretty much better scheduling. and this better scheduling is leading to what? It's leading to referral tokens per minute being almost trebled. on different models, it's between 3.14 times to 1.5, like two and a half. that still is good performance gains, right? so when i was saying back in june that we need a lot more people actually optimizing in the space and trying to come up with, like, you know, these hacks to make things go faster, this is what i was talking about. and we're finally seeing a lot more people do this. people are not just saying, okay, i'm going to use llama. cbb or llama, thank god. they are actually doing more than that. and what i'm building ods with in mind is that we are going to be using the best inference engine out there for the model of your choice when you decide to use that model. we're not just sticking to llama. cbb or vllm. whatever is out there that is best, we're going to be using that for that platform. that's how we make the user experience better. as i was saying, open source ai is an optimization problem. local ai is a user experience problem. and most people don't want to go read my articles on inference engines. you want to actually just use something that works, or otherwise you're going to go to ChatGPT. com. so we're trying to solve that. Аа. Enneagram tables are something that DeepSeek released this year, I think January or February. And we're so lucky to have DeepSeek, by the way. They have released so many great like research and like ideas for free for us to use. And they were breakthroughs that actually like I doubt any. of the closed models companies would share these kind of findings or research with us. Strata is doing a lot of good stuff. Google it, it just came out.
所以,如果你正在开发,或者正在尝试选择推理引擎,这里有一些问题供你思考。 我认为,最好根据自己的工作流程,尝试为自己优化一个。 但这需要时间。 我假设在座的大多数人都是工程师,或者是真正对这个领域感兴趣的人。 所以,开始动手玩玩微型内核吧。 找些同事一起,用 Quincy 1.5 的 8 亿参数模型来试试。 看看效果如何。 这个很有意思。 这是来自 OpenRouter 的数据,展示了 GLM 5.3 在不同硬件上的基准测试结果。 从这里你可以看出,推理引擎确实很重要。 其中有些是闭源的,有些甚至不对公众开放,而且使用了不同的芯片。 所以最底下有 10 个存储在那里,对吧? 所以我说的裸芯片或裸模型优化就是这个意思,因为不同平台之间是有区别的。 指令集并不相同。 硬件能做什么,你能提取什么、解包什么、备份什么,以及能对什么进行计算,运作方式都不一样。 所以,是的,首个 token 的生成时间、每秒 token 数、每个用户的指标,以及我认为今后还要关注的每个智能体的指标,都是需要优化的;还有每秒请求数,以及基本的任务准确率。 而且所有这些都需要基于你自己的硬件来衡量。 你不能只是说,嘿,我就相信网上公布的那些数字,或者我照着这个配方做,效果就一定很好。 很可能并非如此。 这个非常有意思。 这是上个月刚由一家名叫 Actual Inc. 的公司推出的。 他们构建了一个 Rust 分词器,我不知道,我不记得它是用 Rust 还是汇编写的,但它的速度基本上快了 100 倍。 但这个快 100 倍的提升,放到整个请求上,只让它快了 1.1 %。 顺便说一句,这仍然很棒。 这并不意味着,你知道,他们构建的东西不是一款优秀的软件。 这只是说明,我们在这些大语言模型流水线中使用的所有东西都涉及系统工程,你需要优化流水线的每一个部分,才能真正从中获取更多价值。 因为硬件正在消耗资源,你知道,它在被使用,而你却没有从中获得 最优的输出。 所以。 我会跳过这个。 顺便说一下,我正想讲到持续学习。 所以我在这里列出了很多东西。 整个夏天,我们看到了很多其他可调整的因素。 我们开始看到 Flash,很多人都在研究推测解码,针对 AMD、NVIDIA 硬件以及不同模型进行优化。 我们看到了一堆 lambda cbb 的分支,很多人直接从 14 lambda cbv 开始,对吧? 然后只是添加了对 Flash 或 d3 的支持。 有个昨天刚出来的东西,我正想讲到这个。 这篇论文是11月9日发表的,给我留下了深刻印象。 它基本上叫作 Flash Data,我还需要进一步了解,所以我现在说的只是我粗略浏览了一下,并试着把它加到这些幻灯片里。 所以我可能会说错,在我做更深入的研究之前,请不要追究我的责任。如果需要更正,我会发布到网上。 所以我先声明一下。 他们做的基本上是记录每一轮结束的位置,而不是让 VLM 自己猜。 这基本上就是更好的调度。 而这种更好的调度带来了什么? 它使每分钟的 referral token 数量几乎增加到原来的三倍。 在不同模型上,提升幅度在1.5倍到3.14倍之间,大概两倍半。 这样的性能提升依然很不错,对吧? 所以我在六月说,我们需要更多人真正去优化这个领域,想出一些让运行速度更快的巧妙办法,我说的就是这种事情。 而我们终于看到更多人在这么做了。 人们不再只是说,好,我要用 llama。 cbb 或者 llama,谢天谢地。 他们确实在做更多事情。 而我构建 ODS 时考虑的是,当你决定使用自己选择的模型时,我们会为它采用目前最好的推理引擎。 我们不会只局限于 llama。 cbb 或 vllm。 不管目前最好的是什么,我们都会在那个平台上使用它。 这就是我们改善用户体验的方式。 正如我刚才所说,开源 AI 是一个优化问题。 本地 AI 是一个用户体验问题。 大多数人都不想去读我写的那些关于推理引擎的文章。 你其实只想用一个能正常工作的东西,否则你就会去用 ChatGPT .com。 所以我们正在努力解决这个问题。 啊。 九型人格表是 DeepSeek 今年发布的,我记得是在一月或二月。 顺便说一句,有 DeepSeek 真是太幸运了。 他们免费发布了很多很棒的研究和想法,供我们使用。 而且那些都是突破性的成果,我真不觉得任何 闭源模型公司会与我们分享这类发现或研究。 Strata 正在做很多很棒的事情。 上网搜一下,它刚发布。
now, yeah, this is an interesting one. back in march, a friend bought a 5090 after quinn 3.5 27b came out and he tried to, he hooked it up to closed code and told it to like change the color of the rgb on the gpu, right, on the gb fans. and it wasn't able to do that. and he came back and he's like, hey, like, obis was able to do this thing. but local models did not. and i was like, did you give it a search engine? and he's like, what do you mean? i'm like, okay, so like Claude Code comes with a search engine, right? so it's able to go look on the internet for the necessary data about the tools that came out after the model was trained to figure out how to change the colors of the fast. so i opened my firewall ports. i gave him an API, told him to set this environment variable. told him exactly how to run the command, asked it the same thing, and was a search engine, surprise, it was able to actually change the rgb colors. it's like, wow, we're kind of like, you know, we shouldn't be asking a model of tasks without internet, without giving a search access. if it falls, trained on data that. didn't have the tool that you're using right now or even was trained on data before this gpu that you're buying and you're trying to work on came out. so, you know, this is an infrastructure problem and this is a user experience problem in local ai. so like ods comes plugged in with a search engine for you. so you don't have to worry about this stuff. this is what i mean when i say like people try local ai and it's like the first experience is so bad. i'm like, okay, this thing doesn't work, right? they will never try again. they will just be paying subscriptions for the rest of their lives. and that's why, like, i remember, like, a year ago, i was, like, telling people online, like, don't go buy, like, apple hardware. and i have no problem with apple. but i'm just like, if you try apple hardware right now with local models, you're never going to use local models again. so, like, there's an issue with the wrong messaging in this space. So again, this explains the whole thing. Аа. So yeah, benchmarks. I don't like benchmarks, so we skip this. yeah, this is an interesting one about like exo. it's a paper. it's a paper called exo. they are not related to x labs or anything like that. and it's basically about an engine, about the harness that we wrote itself to actually improve its own like reuse, like basically an engineering platform or an engineering harness around the task that it does more of. and how that saved it tokens in the long run. so this is again like another just systems engineering, basic principles engineering that we need to do more around local ai models or models in general to extract more value out of them. check it out. 好。 so, which accounts change their models on open router? we're seeing generous coding does that more, about 53%. but like people that are doing translation or summarization, just stick to what they're doing. so, a lot of people move models and more people should actually be fine with the idea of switching models. As newer models come out, but a lot of people are just going to be like, no, i'm gonna stick to OpenAI or anthropic. Obvious 5.5 is great until the next release. Like just try like give deep seek v 4.1 flash a chance. Like again it's i swear to god it's better than haiku. It's better than like the lowest tier and tropic model and somehow artificial analysis is saying that it's better like that haiku is better like. What a joke. So airbnb had actually this month had an article about how at 1% at 1% of the cost. They had the frontier intelligence quality on a 2 billion parameter model. again, small, specialized model. if you have the right data, if you have the right traces, if you know how to build some synthetic data by blind, and i'm giving away a lot of information here, by the way, like just go ask fable 5.2 about this stuff, and it will build you something. or come to us at the semantic. either way. If you have some data, um, traces from your agents with the frontier intelligence models, you can start to to build an evaluation pipeline and you can decide on building some say data pipeline and RL something that will be very efficient, very very fast, and at 1% of the cost of those frontier intelligence labs. And it will beat it. so again, optimization per chip, per model, per workflow, it's everything. and it will save you 99% of the money. that's not me. that's airbnb. Let's get this one. Yeah, um, there are labs out there like or companies out there, uh, like Fireworks that are building specialized models and hosting them. So like this tells you something as well. Like there is a bad like specialization of models, uh, distillations, teaching smaller models. how do we think that opus 5.5 was trained? it's a master student model. it's fable 5.1 or fable 5.2 teaching it and giving it a bunch of things based on the normal distribution of anthropic users and finding the most important stuff. but like, do i trust opus 5.5 to just go do some frontier research for me and like figure out some. extremely novel stuff? absolutely not. i wouldn't trust it. out of distribution tasks, it will fail miserably. astro 6 would be better than it. but then again, it's like speed and efficiency kind of situation.
接下来,对,这是个有意思的例子。 三月份,Quinn 3.5 27B 发布后,我的一个朋友买了一块 5090。他试着把它连接到 Closed Code,然后让它改变 GPU 上 RGB 灯光的颜色,就是 GB 风扇上的灯光。 但它没能做到。 他回来跟我说:“嘿,Obis 能做到这件事, 但本地模型做不到。” 我就问,你给它配搜索引擎了吗? 他说,你什么意思? 我说,是这样的,Claude Code 自带搜索引擎,对吧? 所以它能上网查找模型训练完成后才推出的那些工具所需的资料,弄清楚怎么快速更改颜色。 于是我打开了防火墙端口。 我给了他一个 API,告诉他设置这个环境变量。 我明确告诉他如何运行命令,又问了它同样的问题。有了搜索引擎,惊喜的是,它真的能更改 RGB 颜色了。 这让我觉得,哇,如果不给模型联网搜索的权限,我们就不应该让它执行这类任务。 如果它用来训练的数据…… 没有包含你现在使用的工具,甚至是在你买来折腾的这块 GPU 推出之前就训练好的。 所以说,这是本地 AI 的基础设施问题,也是用户体验问题。 所以 ODS 自带搜索引擎。 你就不用担心这些事情了。 这就是我说人们尝试本地 AI 时,第一次体验太糟糕的意思。 我就会觉得,好吧,这东西根本不管用,对吧? 他们以后就再也不会尝试了。 他们余生都只会一直付订阅费。 这就是为什么,我记得大概一年前,我在网上告诉人们,别去买苹果硬件。 我对苹果没有任何意见。 但我就是觉得,如果你现在用苹果硬件运行本地模型,你以后就再也不会用本地模型了。 所以,这个领域存在信息传达有误的问题。 所以,这再次解释了整件事。 啊。 所以,对,基准测试。 我不喜欢基准测试,所以我们跳过这个。 对,这里有个关于 exo 的有趣内容。 这是一篇论文。 这篇论文叫 exo。 他们和 x labs 或类似机构没有关系。 它主要讲的是一个引擎,也就是我们编写的那套框架本身如何提高自身的复用程度;基本上是围绕它经常执行的任务构建的工程平台或工程框架。 以及从长远来看,这如何为它节省 token。 所以这又是一个系统工程和基本工程原理的例子。我们需要在本地 AI 模型或一般模型上多做这类工作,从中挖掘更多价值。 去看看吧。 好。 那么,OpenRouter 上哪些账户会更换模型? 我们看到,通用编码任务更常切换模型,比例约为 53%。 但做翻译或摘要的人,就坚持使用原来的模型。 所以很多人会更换模型,而且其实应该有更多人愿意接受切换模型。 随着新模型不断推出,但很多人还是会说,不,我要继续用 OpenAI 或 Anthropic。 Obvious 5.5 很棒,直到下一个版本发布。 就是试着给 DeepSeek V4.1 Flash 一个机会。 再说一次,我对天发誓,它比 Haiku 好。 它比 Anthropic 最低档的模型好,可不知怎么的,Artificial Analysis 却说 Haiku 更好。 真是个笑话。 Airbnb 这个月其实发表了一篇文章,说他们只用了 1% 的成本。 他们在一个 20 亿参数的模型上实现了前沿智能的质量。 再说一次,是小型的专用模型。 如果你有合适的数据、合适的轨迹,知道如何盲目构建一些合成数据——顺便说一句,我这里透露了不少信息——只要去问问 Fable 5.2 这些事,它就会帮你构建出一些东西。 或者来找我们 Semantic。 都可以。 如果你有一些数据,嗯,比如你的智能体使用前沿智能模型时留下的轨迹,你就可以开始构建评估流水线,还可以决定构建某种数据流水线和强化学习方案,它会非常高效、非常非常快,而且成本只有那些前沿智能实验室的 1%。 而且它会比那些模型更好。 所以再说一次,针对每块芯片、每个模型、每个工作流进行优化,这至关重要。 它会为你节省 99% 的开支。 这不是我说的。 这是 Airbnb 说的。 我们来看看这个。 是的,嗯,现在有一些实验室或者公司,呃,比如 Fireworks,正在构建和托管专用模型。 所以这也说明了一些问题。 就是有一种不好的做法,比如模型专门化、呃、蒸馏、训练更小的模型。 我们认为 Opus 5.5 是怎么训练出来的? 它是一个主模型和学生模型体系中的学生模型。 是 Fable 5.1 或 Fable 5.2 在教它,根据 Anthropic 用户的正态分布给它提供大量内容,并找出最重要的东西。 但我会相信 Opus 5.5 能直接替我做一些前沿研究,并搞明白一些 极其新颖的东西吗? 绝对不会。 我不会相信它。 遇到分布外的任务,它会失败得很惨。 Astro 6 会比它更好。 不过话说回来,这也涉及速度和效率的问题。
Ja, das ist ein interessanter. by the way, there's a certain threshold for which below that you shouldn't buy a gpu, you should be renting. and it's funny that somebody like me, like buy a gpu, it's kind of telling everyone about the fact that you don't need to go and buy a gpu. you actually can rent one and use it for your tasks in overflows. and there's a lot of ways to rent gpus out there. but what i will say is that. if you're just using one of those cheap providers, they could be saying that they are offering you chemi case 3.1 pro at like 30 cents per million tokens or something. and they are basically routing you through another model from a different provider. so they could be really just running quinn 3.5, 35 billion moe in the back end. trusting the infrastructure of the models that you run. it's very important. so that's why i usually don't tell people to just go use an abi, but rather like go get a bunch of gpus, confirm that they work very well, make sure that basically they are up to standard and use them from there. So we're seeing prices drop a lot, both for closed models and open source models, but that gap between open source and closed models is only closing because open source models have been getting better during that time span. So the effect of open source models. That's why like, you know, some people want to ban open source AI. I'm not going to name names, but there's a reason that like. you know, competition is good for everyone. the free market is great, and we all win that way. oven research wins, humanity wins, and also we spend less money and get better tokens. oh yeah, bryson's per million token doesn't track intelligence necessarily. so this is one of those things where it's like, you know, opus 5.5 max, the highest tier, $8 per million token, and it's beating in web dev. again, i don't trust benchmarks, but this is just like a way to just try to build data next to each other. i can compare, but it's way cheaper than something like astra. but again, it's because astra is probably six to ten times bigger in terms of size. so it requires a lot more compute. but again, obs 5.5 is being like, was distilled or taught to just do good. Web development and software engineering tasks. yeah, gpus cost the same, busy or idle. so that's the one thing. so like when you're renting them. so there's a certain threshold that after which it makes sense to actually rent, even rent. so like figure out if you, if what you're doing just requires a few hours, then like figure out the best place to rent from and optimize for that. there's a lot of engineering that could be done around this. and Vast has an amazing cli that allows you to just rent gpus on the fly, right? so you can even ask colleagues, if you have colleagues, or even ask a local mobile to go rent you the gpu with the cli as a command and get your workflows kicked, like started. and once it's done, stop. so again, a little bit of engineering, but like i feel like everybody around ai and open source models is like, i don't want to do any more engineering. i just want to offload everything. and like, if you message somebody, what's that code about? like, what is this br? it's like, they don't get back to you for like an hour and a half. it's because they're probably like sitting down as an agent, making that agent explain to them what they did before and like figuring out the br themselves. so like, it's bad. oh yeah, there's a lot of, again, there's a lot of maintenance that goes into owning hardware. so it's not simple or straightforward. there's maintenance, there's dependencies, there's like silent failures, there's hardware that dies in you. there is like redundancy and stuff like that. so like there's a reason that cloud exists and it's so expensive, depending on which provider you use. but this is also fun if you're like a hardcore engineer, if you like this stuff and you like to think. this is fun. oh yeah, like this is one like, you know, scripts could fail on you and like, you know, the agents would say it's dumb, but then it's like, go back and check. and it's like, oh my god, i made a mistake. you're absolutely right. so like. We're still like, you know, models are still like not perfect. Like we're not at AGI just yet, guys.
是的,这是个有意思的…… 顺便说一句,这里有一个门槛,低于这个门槛,你就不该买 GPU,而应该租用。 有趣的是,像我这样买了 GPU 的人,却在告诉大家其实不必去买 GPU。 你其实可以租一块,在任务超出负荷时用它来处理。 而且现在有很多租用 GPU 的途径。 但我要说的是, 如果你只是用那些廉价供应商,他们可能会声称以每百万 token 约 30 美分的价格向你提供 Chemi Case 3.1 Pro 之类的服务。 但他们实际上会把你的请求转发给另一家供应商的另一个模型。 所以他们后端实际运行的可能只是 Quinn 3.5 350 亿参数 MoE。 信任你所运行的模型背后的基础设施。 这非常重要。 所以我通常不会告诉人们直接去用 ABI,而是建议他们弄一批 GPU,确认它们运行良好,确保基本达标,然后再用它们。 我们看到,无论是闭源模型还是开源模型,价格都在大幅下降,但开源模型和闭源模型之间的差距之所以正在缩小,仅仅是因为开源模型在这段时间里变得更好了。 所以,这就是开源模型的影响。 这就是为什么,有些人想要禁止开源 AI。 我就不点名了,但这背后是有原因的。 你知道,竞争对每个人都有好处。 自由市场很棒,我们所有人都能从中获益。 Oven Research 受益,人类受益,而且我们花的钱更少,得到的 token 也更好。 哦,对了,Bryson 的每百万 token 价格不一定与智能水平相符。 所以这就是其中一个例子:最高档的 Opus 5.5 Max 每百万 token 售价 8 美元,而且它在网页开发方面表现更胜一筹。 再说一遍,我不信任基准测试,但这只是一种把数据放在一起尝试对照的方法。 我可以进行比较,但它比 Astra 之类的模型便宜得多。 不过话说回来,这是因为 Astra 的规模可能大六到十倍。 所以它需要多得多的算力。 但再说一次,Obs 5.5 是经过蒸馏或训练,让它擅长完成 网页开发和软件工程任务的。 是的,GPU 不管忙碌还是闲置,成本都一样。 所以这是其中一点。 比如说,当你租用它们的时候。 所以存在一个阈值,超过之后,租用就真的划算了,哪怕是租用。 所以你得搞清楚,如果你要做的事只需要几个小时,那就找出最合适的租用平台,并针对它进行优化。 围绕这件事可以做很多工程工作。 而且 Vast 有一个很棒的命令行工具,可以让你随时租用 GPU,对吧? 所以你甚至可以让同事帮忙,如果你有同事的话,或者让本地模型通过命令行工具帮你租 GPU,再把工作流程启动起来。 完成之后就停掉。 所以还是那句话,需要做一点工程工作,但我觉得 AI 和开源模型圈子里的每个人都在说:我不想再做工程工作了。 我只想把所有事情都甩出去。 比如你给某人发消息,问这段代码是干什么的? 比如,这个 BR 是什么? 结果他们大概一个半小时都不回复你。 那可能是因为他们正坐在那里,让一个智能体给他们解释之前做了什么,然后自己搞清楚这个 BR。 所以,这很糟糕。 哦,是的,还是那句话,自己拥有硬件需要做大量维护工作。 所以这并不简单,也不是一目了然的。 要维护,要处理依赖,还有悄无声息的故障,硬件也可能突然坏掉。 还有冗余之类的问题。 所以云服务的存在是有原因的,而且它很贵,具体还要看你用的是哪家服务商。 但如果你是个硬核工程师,喜欢这些东西,也喜欢思考,那这也挺有意思的。 这很有意思。 哦,对,比如说,脚本可能会出错,智能体可能会说这很蠢,但你让它回头检查一下。 然后它就会说,哦天哪,我犯了个错。 你说得完全对。 所以呢。 我们还在这个阶段,模型仍然不是完美的。 伙计们,我们还没达到AGI呢。
Um, yeah, so three forces move the line. Um, more capable models per parameter, and I don't hear, when I say denser here, I don't mean dense models, just means intelligence density per parameter. Uh, so this is one thing that is happening and having happening frequently. Then specialist models, models that are trained on special workflows, and better engines, right? what else? oh yeah, this is an interesting one. when i was saying what else, i saw that we're moving to the continual learning part, but we're not there yet. you know, the same machine that i had behind me in that picture was like 14 rtx 3090s. at like 2023, it was able to run like llama 2, 7tb. and then somehow today, each one of those gpus is running like quinn 3.5, quinn 3.8, tomorrow probably quinn 4, and it's way more intelligent. so you kind of like, when you're buying hardware right now and when you're like getting into this space, you're kind of planning for tomorrow's use case and tomorrow's like intelligence density and optimization rather than just today's. there's a reason that like an rtx 3090 right now is like, In Canada, a friend was telling me they are two thousand seven hundred dollars. So like, God with you, man. Like, I'm sorry about that. Can't believe I bought a bunch of them for four hundred dollars a few years ago. Oh yeah, uh, so basically, uh, in March we had the 397 billion uh MOE come out from current stream version 5 and. they came out with that 27 billion parameter dense model 3.5 back then, and it was not beating the moe. however, a month later, the 3.6 of that same model, the 27 billion parameter model, was beating the 15 times larger dense moe. so, you know, again, kind of intelligence, like density of intelligence. and it makes sense because here you're making the model run through the entire like 27 billion parameters for every token. however, this model, the moe, had a 17 billion activated parameter. so it was... only 40% smaller, but it used, like, it required still 15 times the amount of total memory, and it was beating it. something to keep in mind. yeah, gbt-4o used to be required data center, now it runs on your phone. this is one very interesting thing. V four point one flash. Most amazing release this year so far for me, by the way. Probably even better than Queen's People in Five, and I know a lot of people will come out, will come after me for saying this, but this one made us go down from. 13 gigabytes for 400,000 tokens to 29 megabytes in terms of memory for 1,000 tokens. Pretty much. trunked the kv cache of this deepseek v1 by 437 times. so we've come a long way, right? since this is one of those optimizations, like, you know, 100 times faster tokenizer only increase your, like, you know, overall performance by 1.1, right? but. We also seeing that over time, this is a four hundred, four hundred and thirty-seven times performance increase for the same uh. for the same area basically, for the same like, you know, engineering task. so what else could be optimized for over the next, you know, year, two, three?
嗯,是的,有三股力量在推动这条曲线。 嗯,每个参数的能力更强。我这里说的“更密”不是指稠密模型,而是指每个参数的智能密度。 呃,这是正在发生的一件事,而且经常发生。 然后是专用模型,也就是针对特定工作流程训练的模型,还有更好的引擎,对吧? 还有什么? 哦对,这个很有意思。 我刚才说“还有什么”的时候,看到我们要进入持续学习的部分了,但现在还没到那里。 你知道,那张照片里我身后的那台机器,大概有14块RTX 3090。 在2023年左右,它能运行Llama 2,7TB。 但不知怎么的,到了今天,那些GPU每一块都能运行Quinn 3.5、Quinn 3.8,明天可能就是Quinn 4了,而且智能得多。 所以你现在购买硬件、进入这个领域时,某种程度上是在为明天的用例、明天的智能密度和优化做规划,而不只是考虑今天。 现在RTX 3090的价格是有原因的,一个朋友告诉我,在加拿大它们要2700美元。 所以,愿上帝保佑你,老兄。 对此我很抱歉。 真不敢相信,几年前我花了400美元买了一堆。 哦,对,呃,基本上,呃,3月份我们看到了 current stream version 5 发布的3970亿参数的 MoE,呃,而且…… 他们当时还推出了那个270亿参数的稠密模型3.5,但它打不过那个 MoE。 不过,一个月后,同一款270亿参数模型的3.6版本,却打败了大15倍的稠密 MoE。 所以,你知道,再说一次,这有点像是智能,比如智能密度。 这也说得通,因为这里模型处理每个 token 时,都要跑完整的270亿参数。 不过这个 MoE 模型的激活参数有170亿。 所以它……只小了40%,但它用的,也就是说它需要的总内存仍然是15倍,而且它还打败了对方。 这一点值得记住。 是啊,gbt-4o 以前需要数据中心,现在可以在手机上运行了。 这是一件非常有意思的事。 V 4.1 Flash。 顺便说一句,这是今年到目前为止对我来说最惊艳的一次发布。 可能甚至比 Queen's People in Five 还好,我知道这么说很多人会来找我麻烦,但这个让我们从…… 40万个 token 占用13 GB内存,降到了1000个 token 占用29 MB内存。 差不多吧。 把这个 deepseek v1 的 KV 缓存缩小了437倍。 所以我们已经取得了长足进步,对吧? 因为这是那种优化之一,就像,你知道,快100倍的分词器只会让整体性能提升1.1倍,对吧? 但是…… 我们还看到,随着时间推移,同样的,呃,性能提升了四百,四百三十七倍。 基本上是在同样的面积下,也就是针对同样的工程任务。 那么在未来一两三年里,还有什么可以优化的呢?
that's what i'm usually like thinking about. i think the next big thing is probably continual learning. we'll see. and by the way, continual learning will not happen from cloud platforms. like for continual learning, it needs to run locally. that's why i keep saying like this thing ultimately locally has to run because every big provider is not going to train a model and host it for you. they cannot do that and they're not going to train a specialized for you. they're training for their entire like, you know, normal distribution of users. and in order for something to learn just about you, it has to be trained for you. otherwise, we're stuck with markdown files and. memory like memory hacks around models that doesn't necessarily work. like, you know, how many times has a model like made a massive, you know, massive mistake because it's like, you know, large context and now it's like writing to three different skills while it's already started with its own skill on the same topic, right? so you end up with like, like something like codex or hermes or whatever. you get a bunch of like markdown files and you call that a harness, but over time it's become like so plotted and useless. the only way to solve that is actually continual learning. Oh yeah, this is we need optimize for every piece of hardware. This is from the local AI summit at AIE back in June. Yeah, again, we got like a Windows machine with the RTX Spark running Qwen 3.8 uh Flash Next um on a machine that has 128 gigabytes of memory at decode speed 72 tokens per second uh and. It's an incredible model for the fact that it's running on a laptop and like go try to play all the spark. com and just see like what it was able to build on something that you can take on a flight. Let's get this. Mega kernels, part of the optimization. And we have ten minutes left, so I'm trying to give some space for questions. Only 32 slides left, guys. Yes, yep. Yeah, I know it's very dense. thank you. so january, i said that, and people came after my head for saying this, i said that by the end of the year, we're going to have obs 4.5 running on an rtx pro 6000. by april, we had that in quincy 3.6, 27-day environment. we already have surpassed obs 4.5 locally on an rtx pro 6000 a long time ago. so do not underestimate. the kind of acceleration that open source models are having at this point. the gap is closing and specialization, even if like some people would argue that big labs have a lot of compute, so they are able to like, you know, use the compute, use agents, research more, do rsi, right? and that open source labs cannot do the same thing. well, the other alternative is basically specialization. until we're able to, you know, deepseek or whoever is able to crack this with some novel research is able to give the open research community something to run with. so it's going to be a minute, but there is a way around it as well. Yeah, plan for the model you will run next year. So when you're buying hardware, just think about what's next. Um, yeah. One billion uh by GPU. Um, shout out to Chris, Alex Nimetron from Nvidia. Amazing guy. Uh, And I'm trying to get to control learning. yep, enneagrams. so enneagrams, decision models, and weight edits. these are the last three big things that came out in this space for me. enneagrams allows you to basically have an equivalent of like a map on your ssd or in your memory for a model to retrieve from. so that is solving a big beast. decision models allows you, like, you know, we always had classifiers, but we never thought about how it expands to every single task out there. That's another layer that if you bolt on top of an Enneagram plus and weight edits, you're gonna get continual learning. And like this is the recipe in my opinion and I'm saying this out right now so that in a year I can point to it and say I told you. We're very excited about this and like I had a tweet on November fourth, you can see even like at the footnote right there on November fourth that I said Enneagrams plus decision models plus. Anyway, programming. Equal. Continue learning. Look up embeddings, basically. We're, we're cooking something. that's all i'm going to say right now about this. we're cooking something and keep an eye on ods because i genuinely believe that the markdown plot that every harness out there is full of right now has to go away. and this is probably the best way to do that at this moment. this is not necessarily the final shape. this is not the final boss. but this is one easy way to do it. Oh yeah, loops. So we have loops inside models. We have loops around models. We have loops across experiments. Could we also have loops around any grams and decision models? As part of this entire thing, entire recipe to make container learning work. Then the thing could easily work on CPUs by the way, any grams just as these were on. Work just fine. Yep. Um, so learning, uh, make sure that when you're evaluating something, if you're running some bunch of benchmarks, that it's not just reward hacking, uh, more to come on this. Now we have five minutes left. Any questions? i hate benchmarks. really, it comes down to the kind of software that i have built, my own traces, my own corrections, and building around them. so it's kind of like the whole idea of having high taste in data, not necessarily saying that that's who i am, but the whole idea of having high taste is very important in data and evaluations. there's a reason that every eval out there is being hacked right now. Um, so you buy a gpu. Good question. You tell me. And, yeah, by the way, there's a book coming out that will include a lot of this stuff locally. I booked. com keep that on your radar. There's a bunch of links in here about my articles videos, etc. And. I have nine seconds left. Thank you so much.
这是我平时经常思考的问题。 我认为下一个重大突破很可能是持续学习。 我们拭目以待。 顺便说一句,持续学习不会来自云平台。 持续学习需要在本地运行。 所以我一直说,这东西最终必须在本地运行,因为各大服务商不会为你训练一个模型并托管它。 他们做不到,也不会专门为你训练一个模型。 他们训练模型是面向所有用户的,也就是用户的正态分布。 而如果想让某个东西只了解你,它就必须专门为你训练。 否则,我们就只能依赖 Markdown 文件和…… 围绕模型搞的那些记忆技巧,而这并不一定有效。 比如,模型有多少次因为上下文太长而犯下大错?它明明已经开始用自己针对某个主题的技能,却又同时向另外三个技能写入内容,对吧? 所以最后你得到的就是 Codex、Hermes 或者类似的东西。 你弄出一堆 Markdown 文件,称之为一个运行框架,但随着时间推移,它变得臃肿又没用。 解决这个问题的唯一办法其实是持续学习。 哦,对,我们需要针对每一块硬件进行优化。 这是六月 AIE 本地 AI 峰会上的内容。 对,再说一次,我们有一台 Windows 机器,搭载 RTX Spark,运行 Qwen 3.8 Flash Next,呃,这台机器有 128 GB 内存,解码速度是每秒 72 个 token,呃,而且。 考虑到它是在笔记本电脑上运行的,这个模型相当惊人。大家可以去试试 all the spark. com,看看它在一台可以带上飞机的设备上都构建出了什么。 我们来看看这个。 巨型内核,优化的一部分。 我们还剩十分钟,所以我想留点时间回答问题。 各位,只剩 32 张幻灯片了。 是的,没错。 对,我知道内容非常密集。 谢谢。 今年一月,我说过这句话,结果大家都来抨击我。我说,到年底,我们将能在一块 RTX Pro 6000 上运行 OBS 4.5。 到了四月,我们就在 Quincy 3.6 的 27 天环境中实现了这一点。 我们很久以前就已经在 RTX Pro 6000 本地超越了 OBS 4.5。 所以不要低估 开源模型目前的发展速度。 差距正在缩小,而专业化也是一条路。尽管有些人可能会说,大型实验室拥有大量算力,所以能够利用算力、使用智能体、做更多研究、进行 RSI,对吧? 而开源实验室无法做到同样的事情。 那么,另一个选择基本上就是专业化。 在那之前,我们还得等 DeepSeek 或其他人通过某项创新研究攻克这个问题,为开放研究社区提供可以进一步发展的成果。 所以这需要一点时间,但也有其他办法可以绕过这个问题。 对,要为你明年将要运行的模型做好规划。 所以买硬件的时候,想想接下来会有什么。 嗯,对。 每块GPU十亿,呃。 嗯,向英伟达的Chris、Alex Nimetron致敬。 他是个很棒的人。 呃,我正试着讲到控制学习。 对,恩尼亚图。 所以,恩尼亚图、决策模型和权重编辑。 对我来说,这些是这个领域最近出现的三大重要事物。 恩尼亚图基本上让你能在SSD或内存中拥有一张类似地图的东西,供模型检索。 这就解决了一个大难题。 决策模型让你能够……你知道,我们一直都有分类器,但我们从没想过它如何扩展到所有任务。 这是另一层,如果把它加在恩尼亚图之上,再加上权重编辑,就能实现持续学习。 在我看来,这就是实现方法。我现在就把话放在这里,这样一年后我就可以指着它说:我早就告诉过你们。 我们对此非常兴奋。我在11月4日发过一条推文,你们甚至可以在那里的脚注看到,就是11月4日,我说恩尼亚图加决策模型加…… 总之,编程。 等于。 持续学习。 基本上,就是查找嵌入向量。 我们,我们正在酝酿一些东西。 关于这件事,我现在只能说这么多。 我们正在酝酿一些东西,留意 ODS,因为我真心认为,现在各种工具框架里充斥的 Markdown 剧情套路必须消失。 而这或许是目前实现这一目标的最佳方式。 这未必是最终形态。 这不是最终 Boss。 但这是实现它的一种简单方法。 哦,对了,循环。 我们在模型内部有循环。 我们在模型外围有循环。 我们在多个实验之间也有循环。 我们能不能也在 n-gram 和决策模型外围设置循环? 把它作为让容器学习发挥作用的整个方案的一部分。 顺便说一句,这东西可以轻松地在 CPU 上运行,n-gram 就和这些一样。 运行得很好。 没错。 嗯,所以说到学习,呃,在评估某个东西、运行一系列基准测试时,要确保它不只是在钻奖励机制的空子,呃,后面还会详细讲。 现在我们还剩五分钟。 有什么问题吗? 我讨厌基准测试。 实际上,归根结底,这取决于我构建的软件、我自己的轨迹、我自己的修正,以及围绕这些内容进行构建。 所以这有点像是在说对数据要有高品味,并不是说我就是这样的人,而是说高品味在数据和评估中非常重要。 现在所有的评测都在被钻空子,这是有原因的。 嗯,所以你买一块 GPU。 好问题。 你告诉我。 对了,顺便说一下,有一本书即将出版,会收录很多这方面的本地内容。 我预订了。 com,请留意一下。 这里有很多链接,通向我的文章、视频等等。 还有。 我还剩九秒。 非常感谢。
Ahmad Osman 从本地 AI 的实际部署出发,讨论模型、硬件、推理引擎和智能体工具如何共同影响效果。他结合本地游戏、视频制作与 GPU 测试,解释基准评测的局限、量化与内存带宽的取舍,以及批处理和软硬件优化的重要性。演讲还比较自购与租用 GPU 的成本和运维负担,主张根据真实任务轨迹选择或训练专用模型,并提出本地持续学习的未来设想。
本地 AI 生态正出现新推理引擎和针对模型、芯片、工作流的优化;开源 AI 面临优化问题,本地 AI 同时面临用户体验问题。一次演示中,本地 27B 模型与云端 GPT-5.5 给出相似回答,生成速度分别为每秒 51 和 34 个 token,但不同基准对开闭源模型差距的判断并不一致。Osman 还根据 OpenRouter 数据指出,智能体产生的 token 已超过人类直接产生的 token。
Osman 认为并非每一步都需要前沿模型,小型专用模型可以承担许多任务,并预测三年内会出现表现极强的 1B 模型。智能体工作流经常等待命令执行和结果返回,瓶颈不一定是生成速度;评测之间的矛盾也说明选型不能只看排行榜。安全任务中小型专用开源模型的例子支持了按具体任务选择模型的思路。
演讲预告片由 Claude Opus 5.5 根据素材寻找引文、剪辑和配乐,人负责部分素材取舍;两张 RTX Pro 6000 用于图片标注及音视频增强,MacBook 负责剪辑,整个过程约六小时。本地运行大模型仍受内存和长上下文限制:Osman 曾用内存运行 DeepSeek R1,约每秒生成 8 个 token,上下文增长后明显变慢。他认为已有模型的能力需要系统工程才能充分发挥。
量化方式并不等同:可根据层的使用情况分配不同精度,统一压到四位可能损伤模型质量。Osman 给出的例子中,GLM 5.3 四位量化保留约 94% 的准确度,而较早的 DeepSeek V3.1 示例为 76.1%。硬件选择也应匹配工作负载:预填充通常受计算能力限制,解码通常受内存带宽限制;长提示会增加首 token 等待时间。
硬件参数不能脱离软件看待:Osman 认为 NVIDIA 的软件生态更成熟,而其他平台仍需要更多优化。在同一模型的多设备测试中,RTX Pro 6000 凭借带宽取得较高生成速度;50 个并发请求时约达到每秒 1300 个 token,其他设备则表现为顺序处理。Osman 将这一差距部分归因于软件,并主张针对模型和芯片优化推理引擎,尤其服务于并行智能体。
推理系统应在自己的硬件上衡量首 token 时间、单用户或单智能体生成速度、请求吞吐量和任务准确率,而不是照搬网上数字。一个分词器提速约 100 倍,却只让整个请求快约 1.1%,说明局部优化未必带来同等端到端收益。推测解码和调度优化也是可探索的方向;对于一篇刚读过的调度论文,Osman 特别说明自己的理解尚待核实。
一个本地模型最初无法完成显卡风扇灯光设置,接入搜索后成功,说明模型对训练后出现的工具可能需要外部信息,公平比较也要考虑工具配置。Osman 建议利用前沿模型执行任务时留下的轨迹建立评测和数据管线,再训练更小的专用模型;他以 Airbnb 的案例说明,特定任务可能以约 1% 的成本达到前沿模型质量,但这不意味着所有任务都能获得同样结果。
低使用量或短时任务未必值得自购 GPU,可以按需租用并在工作完成后停止;但供应商和实际运行的模型需要验证。自有硬件则要承担维护、依赖管理、静默故障、硬件损坏和冗余等成本。价格也不能直接代表模型在某项任务上的能力,选型应结合工作负载和实际运营负担。
每参数能力提升、专用模型和更好的推理引擎,都可能让同一套硬件在未来运行更有能力的模型。Osman 以自己拥有的 RTX 3090 设备为例,说明硬件价值会随模型演进变化;他还比较了 27B 稠密模型与更大的混合专家模型,指出后者虽然每次只激活部分参数,仍需容纳全部参数所占的内存。购买硬件时因此应兼顾未来模型和优化空间。
Osman 认为面向个人的持续学习需要本地运行和个性化训练,单靠不断累积的 Markdown 记忆文件容易变得臃肿。他提出将 Engram 检索、决策模型与权重编辑结合,作为实现持续学习的一种潜在方案,但强调这只是自己的设想,并非最终形态。评估此类系统时,应关注真实软件任务、个人轨迹和纠正记录,也要防范对评测奖励的投机。
01:31 本地 AI 的可用性既取决于底层优化,也取决于完整工具链和用户体验。
54:57 模型选型应围绕具体任务和实际轨迹,而不是只依赖存在分歧的通用排行榜。
17:42 量化需要权衡各层精度和模型质量,不能把所有四位量化视为等价。
19:50 硬件与推理引擎应根据预填充、解码、并发量和具体工作流共同选择。
33:46 智能体的实际能力取决于搜索等工具和运行环境,不能仅凭模型本身判断。
42:22 低利用率任务可以考虑按需租用 GPU,自购则需计入维护和故障成本。
52:51 持续学习结合 Engram、决策模型和权重编辑是 Osman 提出的方向,尚不是已验证的最终方案。