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.
Engine: the diagnostic report carries gpu_card
Bowen Xuee13a9b0382a2
diff --git a/freevideo_engine/device_index.py b/freevideo_engine/device_index.pyindex d5a014c..7dd65a7 100644--- a/freevideo_engine/device_index.py+++ b/freevideo_engine/device_index.py@@ -36,3 +36,11 @@ def card_report(hardware):except Exception:passreturn result+++def observed_card(torch):+ """The card index and visible count as the process that runs the model sees them."""+ try:+ return dict(device_index=active_index(torch), visible_device_count=torch.cuda.device_count())+ except Exception:+ return {}diff --git a/freevideo_engine/generate.py b/freevideo_engine/generate.pyindex 1e32088..3e0dfd8 100644--- a/freevideo_engine/generate.py+++ b/freevideo_engine/generate.py@@ -1190,6 +1190,7 @@ def _run(args):archive=archive, report=report, persist=persist, on_retry=retry,automatic=not args.profile or getattr(args, 'recover_placement', False),max_retries=getattr(args, 'resource_retries', 2))+ report['gpu_card'] = {**report['gpu_card'], **(report['video'].get('gpu_card') or {})}if continuation is not None:report['continuation']['audio_lead_in_samples'] = report['video'].get('continuation', {}).get('audio_lead_in_samples', 0)diff --git a/freevideo_engine/support_report.py b/freevideo_engine/support_report.pyindex 3c2d0ce..7a082c9 100644--- a/freevideo_engine/support_report.py+++ b/freevideo_engine/support_report.py@@ -249,7 +249,8 @@ def summarize(report, engine, encoding):REQUEST_FIELDS = ('seed', 'encoder_mode', 'profile', 'resource_planning', 'compatibility','reclaimable_resident_models', 'idle_resources', 'tuning', 'input_cache', 'resource_attempts','resource_prediction', 'resource_prediction_error', 'error', 'error_message', 'error_type',- 'resource_error', 'exception', 'encoding_failure', 'phase', 'continuation', 'preflight_memory')+ 'resource_error', 'exception', 'encoding_failure', 'phase', 'continuation', 'preflight_memory',+ 'gpu_card')def preview_receipts(output, read_json):diff --git a/freevideo_engine/worker.py b/freevideo_engine/worker.pyindex bb53ce9..5a365d5 100644--- a/freevideo_engine/worker.py+++ b/freevideo_engine/worker.py@@ -15,6 +15,7 @@ if __name__ == '__main__':import torch+from .device_index import observed_cardfrom .policy import memory_fractionfrom .runtime import Enginefrom .decode import decode_to_file@@ -140,6 +141,7 @@ def generate(request, resident=None):else ANCHOR_ADALN_TASK if continuation.get('anchor') else ADALN_TASK))metrics['continuation'] = summary(continuation, hide_tail_frames=hide_tail_frames)metrics['audio_context'] = continuation['audio_context']+ metrics['gpu_card'] = observed_card(torch)metrics['device_memory'] = device_memory_report(request['gpu_budget_bytes'], request.get('allocator_limit_bytes'),reserve_bytes=request.get('gpu_reserve_bytes', 0), capacity_trial=request.get('capacity_trial', False))if request.get('dynamic_gpu_budget') and metrics['device_memory'].get('windows_allocator_limit_enforced'):