LM Studio使用MTP的qwen3.6-27B-以7840hs的780M为例

LM Studio使用MTP的qwen3.6-27B-以7840hs的780M为例

前言

体验了GPU卸载数拉高的好处:https://lizhiyong.blog.csdn.net/article/details/161386515

还有个更加惊喜的功能,那就是最近llama.cpp的MTP新特性。

更新版本

老版本肯定是不行的,需要更新LM Studio到新版本,7840hs的780M是基于Vulkan运行的,还需要把llama.cpp的依赖版本更新:

实测0.4.14(Build 4)的LM Studio和2.16.0的llama.cpp可运行MTP模型。

启用MTP配置

设置中的开发者模式必开!!!

模型要下载一个有MTP标签的,不然没有MTP开关配置!!!选使用人数更多的unsloth的版本就行。

带MTP的模型就可以启用开关,当然GPU卸载还是要拉满!!!96GB大内存跑30B级别的小模型不存在OOM。重启后配置会生效。

Chat

java 复制代码
虎鲸是鱼嘛?

灰常好,GPU负载很高,CPU负载很低,且内存占用>30GB,显然核显开始发力了!!!

Think

思考过程只用了1min32s。

java 复制代码
Here's a thinking process:

Analyze User Input:
Question: 虎鲸是鱼嘛? (Is an orca/killer whale a fish?)
Key Entity: 虎鲸 (Orca/Killer Whale)
Core Question: Is it a fish? (Classification question)
Identify Key Biological Facts:
Orca (Orcinus orca) is a marine mammal.
It belongs to the family Delphinidae (oceanic dolphins).
Mammals vs. Fish:
Mammals breathe air with lungs, give birth to live young, nurse them with milk, are warm-blooded.
Fish breathe water with gills, typically lay eggs, are cold-blooded (mostly), have scales/fins.
Therefore, orcas are definitely NOT fish.
Formulate Response (Mental Refinement in Chinese):
Direct answer: 不是,虎鲸不是鱼。
Explain classification: 虎鲸是哺乳动物,属于鲸目海豚科。
Key differences from fish:
用肺呼吸(需要浮出水面换气)
胎生、哺乳
恒温动物
没有鳃和鳞片
Add interesting/contextual info (optional but helpful): 虽然生活在海里,外形像鱼,但生物学分类上属于哺乳纲。常被误认为是鱼是因为"鲸"字带"鱼"旁(汉字构字特点),但实际与鱼类完全不同。
Keep it concise and accurate.
Draft Response (Chinese): 不是,虎鲸不是鱼。
虎鲸是哺乳动物,属于鲸目海豚科。虽然它生活在海洋中、外形流线型像鱼,但和鱼类有本质区别:
🐋 用肺呼吸(必须定期浮出水面换气)
👶 胎生并用乳汁哺育幼崽
🌡️ 恒温动物(体温稳定)
❌ 没有鳃、鳞片或鱼鳍结构
中文里"鲸"字带"鱼"旁是汉字造字习惯,并不代表它是鱼类。生物学上,虎鲸和海豚、蓝鲸一样,都属于海洋哺乳动物。
Self-Correction/Verification:
Accuracy: Correct. Orcas are cetaceans (mammals), not fish.
Clarity: Clear distinction between mammals and fish.
Language: Natural Chinese, appropriate tone.
Structure: Direct answer first, then bullet points for key differences, then etymology note.
No overcomplication, stays focused on the question.
All facts verified against standard biological knowledge.
Ready. Output matches the draft.✅

Token生成速度

生成速度达到了6.71t/s。

对比情况

Mode 无MTP 启用MTP 提升比例
Think 1min49s 1min32s 15.6%
Answer 3.5t/s 6.71t/s 91.71%

虽然Think阶段提升不是很大,但Answer阶段接近Double,在GPU卸载最大的情况下,7840hs的780M核显已经枯木逢春!!!本地私有化部署及内网开发从勉强能跑,到基本能用的伟大跃迁。

可以暂时不用急着换AI Max 395和128GB大内存了。

转载请注明出处:https://lizhiyong.blog.csdn.net/article/details/161387982

相关推荐
wovow_mak7 小时前
零基础本地部署大模型完整指南:附一键脚本 + 全踩坑记录,家用电脑就能跑
llm
AI技术新视界8 小时前
LLM 提示词缓存(Prompt Caching)的秘密
人工智能·缓存·llm·prompt
todoitbo8 小时前
我在 Mac 上用 Docker 部署 Nexent:从拉取镜像到接入模型
macos·docker·大模型·ai智能体·nexent·快速入门与环境准备
承渊政道8 小时前
Open-LLM-VTuber本地部署教程:大模型、语音交互、Live2D与远程访问
大模型·内网穿透·数字人·cpolar·语音交互·open-llm-vtuber
香吧香9 小时前
当系统开始自己做判断:智能运维里的日志,为什么不能照搬传统那套
大模型
XLYcmy9 小时前
信息检索报告数字经济赋能城市低碳治理的路径研究——基于“传统数据库 + 生成式人工智能”双轮驱动的检索实践 检索实施与结果分析 Web of Science
数据库·ai·llm·prompt·ssci·deepseek·wos
nice_lcj52011 小时前
【从零理解 Spring AI · 03】Spring AI 在 Spring 生态里的位置
java·spring boot·大模型·spring ai·ai应用开发
组工部管理能手李哥1 天前
一次政务知识库体验:AI回答之外,我更在意那行引用来源
大数据·人工智能·大模型·政务
Flynn Liang1 天前
AgentScope Java 深度解析:ReActAgent、HarnessAgent 与多智能体编排——JVM 上的自治 Agent 底座
java·大模型·架构设计·ai agent·spring ai·langchain4j·agentscope
得物技术1 天前
多 Agent 架构的三次反转:从中心调度到自驱协作|得物技术
程序员·架构·llm