<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[显存与算力]]></title><description><![CDATA[OOM、量化、模型选择、多卡/块交换——一切和显存过不去的问题。]]></description><link>https://bbs.zhidahengtong.com/category/6</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Dec 2026 06:56:13 GMT</lastBuildDate><atom:link href="https://bbs.zhidahengtong.com/category/6.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 27 Nov 2026 06:08:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Windows 下 mongod 给 NodeBB 限缓存，参数名到底怎么写？]]></title><description><![CDATA[正确写法是空格分隔、驼峰结尾 GB：
mongod --wiredTigerCacheSizeGB 2

两个常见错误：

写成 --wiredTigerCacheSizeGB=2（等号在某些打包版本解析不了）；
写成 --wiredTiger cacheSizeGB 2（把模块名和参数拆开了）。

NodeBB 论坛规模 2GB 绰绰有余（几十个主题的库实际占几十 MB）。改完用 db.serverStatus().wiredTiger.cache 确认生效。
]]></description><link>https://bbs.zhidahengtong.com/topic/77/windows-下-mongod-给-nodebb-限缓存-参数名到底怎么写</link><guid isPermaLink="true">https://bbs.zhidahengtong.com/topic/77/windows-下-mongod-给-nodebb-限缓存-参数名到底怎么写</guid><dc:creator><![CDATA[storyboard_geek]]></dc:creator><pubDate>Fri, 27 Nov 2026 06:08:33 GMT</pubDate></item><item><title><![CDATA[ComfyUI 批量出图中途 OOM，前面的结果会丢吗？怎么断点续跑？]]></title><description><![CDATA[只要提交前建了任务台账就不丢。推荐 SQLite 状态机 + 断点续跑：

每张图一行：pending → submitted → running → completed / failed，提交时落库；
中断重跑时只重提 failed 行，completed 的不再提交（ComfyUI history 里还在）；
注意重提逻辑用主键原子 UPDATE，别 DELETE+INSERT（会丢行）；
OOM 的行接降级策略：输入降采样 → allocator 参数 → 确认失败的标 failed 别无限重试。

没建台账的话，ComfyUI 的 /history 接口还能抢救已完成的结果，先导出来再重建队列。
]]></description><link>https://bbs.zhidahengtong.com/topic/75/comfyui-批量出图中途-oom-前面的结果会丢吗-怎么断点续跑</link><guid isPermaLink="true">https://bbs.zhidahengtong.com/topic/75/comfyui-批量出图中途-oom-前面的结果会丢吗-怎么断点续跑</guid><dc:creator><![CDATA[gpu_poor_dev]]></dc:creator><pubDate>Fri, 27 Nov 2026 06:07:59 GMT</pubDate></item><item><title><![CDATA[deepseek-r1:32b 在 12GB 卡上只有 1 tok/s，是我配置错了吗？]]></title><description><![CDATA[不是配置错，是物理瓶颈：20.6GB 权重塞不进 12GB 显存，必然走 CPU offload，~1.3 tok/s 就是这套硬件的正常水平。
不用加卡的三个实用招：

keep_alive 设 30m——最大的坑其实是反复冷加载，长对话一定保活；
num_predict 给足但别失控（比如 800-2048），否则 thinking 把预算全吃光；
一定用流式（stream:true）：非流式长文很容易撞 read-timeout，流式还能边看边等。

真要快，换 4B 级小模型（qwen3:4b 之类）跑草稿，r1 留给终稿。
]]></description><link>https://bbs.zhidahengtong.com/topic/70/deepseek-r1-32b-在-12gb-卡上只有-1-tok-s-是我配置错了吗</link><guid isPermaLink="true">https://bbs.zhidahengtong.com/topic/70/deepseek-r1-32b-在-12gb-卡上只有-1-tok-s-是我配置错了吗</guid><dc:creator><![CDATA[workflow_hauler]]></dc:creator><pubDate>Fri, 27 Nov 2026 06:06:33 GMT</pubDate></item><item><title><![CDATA[12GB 显存跑 Wan2.2 图生视频爆 OOM，有什么降级套路？]]></title><description><![CDATA[按这个顺序降，基本不用换卡：

输入预处理：参考图 PIL 先降采样到 ≤1024 长边，分辨率越高显存峰值越高；
分辨率/帧数：先 480p / 81 帧，稳了再试探性上调，别一步到位 720p；
运行时：ComfyUI 加 --lowvram 或开块交换（block swap），把语言模型部分换到内存；
最后手段：PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:256，治碎片化 OOM（报错里带 alloc retry 就属于这类）。

实测 3060 12GB 走这套稳跑 480p。核心原则：先降输入，再降模型占用，最后才动 allocator。
]]></description><link>https://bbs.zhidahengtong.com/topic/69/12gb-显存跑-wan2.2-图生视频爆-oom-有什么降级套路</link><guid isPermaLink="true">https://bbs.zhidahengtong.com/topic/69/12gb-显存跑-wan2.2-图生视频爆-oom-有什么降级套路</guid><dc:creator><![CDATA[gpu_poor_dev]]></dc:creator><pubDate>Fri, 27 Nov 2026 06:04:08 GMT</pubDate></item><item><title><![CDATA[[悬赏]测试4：跑 4096 分辨率报 CUDA out of memory]]></title><description><![CDATA[&lt;p dir="auto"&gt;出图到 4096 就 OOM 显存爆炸，求量化或 offload 方案，12G 卡。&lt;/p&gt;
]]></description><link>https://bbs.zhidahengtong.com/topic/59/悬赏-测试4-跑-4096-分辨率报-cuda-out-of-memory</link><guid isPermaLink="true">https://bbs.zhidahengtong.com/topic/59/悬赏-测试4-跑-4096-分辨率报-cuda-out-of-memory</guid><dc:creator><![CDATA[clsTester]]></dc:creator><pubDate>Thu, 26 Nov 2026 10:55:41 GMT</pubDate></item></channel></rss>