Skip to content

Make videos on the computer you already own. FreeVideo runs MiniMax H3 in as little as 8 GB of VRAM and 16 GB of RAM, and adapts its acceleration path to your hardware.

Mac: text encoder memory fits the machine; compatibility settings hidden on Mac

Bowen Xuee8f0f0072a89
diff --git a/freevideo_engine/launcher/Main.qml b/freevideo_engine/launcher/Main.qml
index f0dbf70..f8b5c64 100644
--- a/freevideo_engine/launcher/Main.qml
+++ b/freevideo_engine/launcher/Main.qml
@@ -1181,8 +1181,9 @@ ApplicationWindow {
}
}
}
+ // Mac generation shares unified memory and has no compatibility levels.
FGroup {
- Layout.fillWidth: true; title: t("Compatibility", "兼容性")
+ Layout.fillWidth: true; title: t("Compatibility", "兼容性"); visible: Qt.platform.os !== "osx"
RowLayout {
Layout.fillWidth: true
FText { text: t("Level", "档位"); Layout.fillWidth: true }
diff --git a/freevideo_engine/macos_encoder.py b/freevideo_engine/macos_encoder.py
index 2805e1b..3bdc43f 100644
--- a/freevideo_engine/macos_encoder.py
+++ b/freevideo_engine/macos_encoder.py
@@ -218,7 +218,6 @@ def encode(prompt, output, *, root, budget_bytes=3 * 2**30, reserve_bytes=2 * 2*
# encoder reference before the independent input VAE is loaded.
del encoded, tokens, vision_kwargs
release_encoder()
- # Text streaming deliberately uses a small allocation ceiling.
# Input VAEs have separate workspaces: re-admit after releasing
# text weights, against the request's original capacity bound.
# configure_budget also enforces live availability, the reserve
diff --git a/freevideo_engine/macos_generate.py b/freevideo_engine/macos_generate.py
index 89a9646..f5e6a7d 100644
--- a/freevideo_engine/macos_generate.py
+++ b/freevideo_engine/macos_generate.py
@@ -54,7 +54,9 @@ def policy(args, memory=None):
allocator_capacity = min(capacity - reserve, amount('allocator_limit_gib', capacity - reserve))
return dict(device_backend='mps', memory_model='unified', observed=memory,
reserve_bytes=reserve, allocator_bytes=allocator, allocator_capacity_bytes=allocator_capacity,
- encoder_bytes=min(3 * GiB, allocator),
+ # Text/vision encoding gets the same live allowance: a fixed 3 GiB trial
+ # cap failed once reference images added vision tokens on large Macs.
+ encoder_bytes=allocator,
ram_budget_bytes=capacity if getattr(args, 'ram_gib', None) is not None else working,
ram_budget_is_estimate=getattr(args, 'ram_gib', None) is None,
emergency_floor_bytes=GiB, query_chunk=128, ff_chunk=256, projection_chunk=256,
diff --git a/web/setup.js b/web/setup.js
index dd48e8a..62d8f40 100644
--- a/web/setup.js
+++ b/web/setup.js
@@ -169,6 +169,8 @@ export async function openSetup() {
const unified = value && Object.hasOwn(value, 'ram_reserve_gib');
reserveField = unified ? 'ram_reserve_gib' : 'gpu_reserve_gib';
reserveSummary.textContent = unified ? t('Reserved unified memory', '预留统一内存') : t('Reserved VRAM', '预留显存');
+ // Mac generation shares unified memory and has no compatibility levels.
+ compatibility.hidden = unified;
reserveLabel.firstChild.textContent = reserveSummary.textContent;
reserve.min = unified ? '1' : '0.2';
reserveAuto.checked = value?.[reserveField] == null;