Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
30ac9b1
Engine comments: keep the reasons, drop who and when
KBRASK Nov 27, 2026
56ee10f
Launcher: when ComfyUI ends with a Windows crash status, the report a…
KBRASK Nov 27, 2026
5b8b0f3
Mac: the prompt model runs on the Apple GPU when its memory fits, and…
KBRASK Nov 27, 2026
869d46c
Launcher status card: on narrow windows the icon moves above the titl…
KBRASK Nov 27, 2026
c9d8d48
Launcher: the setup and start steps read as what they do, such as Pre…
KBRASK Nov 27, 2026
e30e355
Time left during the second pass: a 1.5x plan's steps are estimated f…
KBRASK Nov 27, 2026
f61399a
Editor: Escape in the text typed on the picture, or on the delete-imp…
KBRASK Nov 27, 2026
7c28202
Editor library: read the creations again on coming back, and keep pag…
KBRASK Nov 27, 2026
e78cbed
Edit view: coming back from any view shows it as it was left
KBRASK Nov 27, 2026
3c5fa97
Interface language Spanish: the launcher's ready sentence and the nam…
KBRASK Nov 27, 2026
13d2827
Interface language Brazilian Portuguese: the launcher's ready sentenc…
KBRASK Nov 27, 2026
097e7f2
Edit view: the notice for changes saved as a copy says the edit was c…
KBRASK Nov 27, 2026
3250693
Editor: the opening zoom and Fit all measure the time area beside the…
KBRASK Nov 27, 2026
5a9d256
Page text: names are held together where they are shown, the language…
KBRASK Nov 27, 2026
a54fecb
The reload an update makes keeps the workflow in front and a prompt n…
KBRASK Nov 27, 2026
704bf33
Creations names the edits that keep a creation from being deleted, an…
KBRASK Nov 27, 2026
a8af4bc
Offline packages: the guide names each package by its file name on th…
KBRASK Nov 27, 2026
67cddc2
Interface language Spanish: the notice that a newer version of the ed…
KBRASK Nov 27, 2026
b5fce6a
Interface language Brazilian Portuguese: the notice that a newer vers…
KBRASK Nov 27, 2026
6f4bb3e
Interface language Spanish: the setup step names read as what the ste…
KBRASK Nov 27, 2026
ca1d04b
Downloads: Windows curl that cannot learn a certificate's revocation …
KBRASK Nov 27, 2026
cb27435
Traditional Chinese: a name quoted in a sentence reads as that entry …
KBRASK Nov 27, 2026
45eae40
Interface words: "cannot be undone", choose "Retry", the separation's…
KBRASK Nov 27, 2026
e949cd1
Interface language Spanish: the sentences of the reload that follows …
KBRASK Nov 27, 2026
cc07028
Interface language Brazilian Portuguese: the sentences of the reload …
KBRASK Nov 27, 2026
f249bbe
Community results: add RTX Spark and M1 Max runs at 1344 by 768
KBRASK Nov 27, 2026
d1287df
Page check: the scripts that keep the workflow across an update's rel…
KBRASK Nov 27, 2026
1ddc550
Launcher: no Report a problem for a computer FreeVideo cannot run on,…
KBRASK Nov 27, 2026
3c13e62
Image view: a failed model download is said whole with its report button
KBRASK Nov 27, 2026
3897a82
Settings: delete an image model without closing FreeVideo
KBRASK Nov 27, 2026
1bf021e
Interface language Spanish: the notices of a delete that keeps creati…
KBRASK Nov 27, 2026
42ae147
Interface language Brazilian Portuguese: the notices of a delete that…
KBRASK Nov 27, 2026
4304221
French interface text: the launcher's step names and ready sentence f…
KBRASK Nov 27, 2026
6fd9a16
German interface text: the launcher's step names and ready sentence f…
KBRASK Nov 27, 2026
303626a
Interface language Spanish: deleting an image model in Settings, its …
KBRASK Nov 27, 2026
d81009d
Interface language Brazilian Portuguese: deleting an image model in S…
KBRASK Nov 27, 2026
5405aa0
Chinese interface text in written wording for failures and status, wi…
KBRASK Nov 27, 2026
07b9b86
Editor delete: a known cause has no "Report a problem", and the notic…
KBRASK Nov 27, 2026
7f399c8
Prompt enhancement: while a task runs, the Rewrite key waits and says…
KBRASK Nov 27, 2026
fccca89
Queued rewrites: a queued video that asked for a rewrite is rewritten…
KBRASK Nov 27, 2026
0bda5b1
Failure dialog: where the dialog has no "Report a problem" button, it…
KBRASK Nov 27, 2026
faa8be1
Setup: an isolated Python whose python.exe is gone or does not answer…
KBRASK Nov 27, 2026
ca76028
Page check: when FreeVideo's workflow opens without its generate node…
KBRASK Nov 27, 2026
82ef9be
Setup: a dependency folder FreeVideo did not download says so, names …
KBRASK Nov 27, 2026
3cbcc86
Russian interface text: web/locales/ru.json
KBRASK Nov 27, 2026
dd71425
Ukrainian interface text: web/locales/uk.json
KBRASK Nov 27, 2026
9639a13
Turkish interface text: web/locales/tr.json
KBRASK Nov 27, 2026
ff36c2a
Indonesian interface text: web/locales/id.json
KBRASK Nov 27, 2026
35b75fe
Count the prompt rewrite in the time beside Generate
KBRASK Nov 27, 2026
c62f8fb
Decode estimate: this machine's runs at the same frame size, and the …
KBRASK Nov 27, 2026
47a868c
Compatibility notice: a reply that is not JSON is said plainly
KBRASK Nov 27, 2026
81ed6a5
Quick 1.5x upscale by the small frame-wise model, and about how long …
KBRASK Nov 27, 2026
d8a27c3
Save as character: an image in the image view or Creations opens the …
KBRASK Nov 27, 2026
c4ab68e
Git downloads: our own source addresses are not rewritten by this com…
KBRASK Nov 27, 2026
134d643
Mac: a later sampling pass gets one Torch attention retry of its own …
KBRASK Nov 27, 2026
f212b04
Create panel: a work picked in the right column while a video is made…
KBRASK Nov 27, 2026
8c651f2
Encoding a prompt counts the card memory that the resident worker's i…
KBRASK Nov 27, 2026
c67a8f5
Git downloads on Windows: a source whose certificate revocation statu…
KBRASK Nov 27, 2026
20e0054
Release notes for 0.6.15
KBRASK Nov 27, 2026
db565cf
Download failures: say where the current connection's proxy came from…
KBRASK Nov 27, 2026
c5c618d
Release notes for 0.6.15: the proxy messages, and the memory line say…
KBRASK Nov 27, 2026
bc96404
Create: the compare slider's divider follows the drag and the arrow keys
KBRASK Nov 27, 2026
7488209
Release notes for 0.6.15: the compare divider in the Create panel
KBRASK Nov 27, 2026
5705543
Upscales: a finished 4K or quick upscale says so, so Creations, its t…
KBRASK Nov 27, 2026
ae8f4a1
Release notes for 0.6.15: finished upscales are listed again
KBRASK Nov 27, 2026
412d1f6
Interface languages Spanish, Brazilian Portuguese, French and German:…
KBRASK Nov 27, 2026
000b927
Setup on Windows on Arm: check only the Visual C++ libraries ARM64 Py…
KBRASK Nov 27, 2026
7cf704a
Release notes for 0.6.15: Windows on Arm setup and repair pass the Vi…
KBRASK Nov 27, 2026
4001c84
Prompt rewrite estimate: a scene the rewrite cannot read adds no time…
KBRASK Nov 27, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_launcher.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Installation or launcher / 安装或启动器
description: Help with installation, updates or startup / 安装、更新或启动问题
body:
- type: markdown
attributes:
value: |
If the launcher shows "No NVIDIA graphics card was found" or "This graphics card is not supported", this computer cannot run FreeVideo, and a report cannot change this. FreeVideo requires an NVIDIA RTX 30 series or newer graphics card, or a Mac with Apple silicon.
如果启动器显示“未找到 NVIDIA 显卡”或“这张显卡不受支持”,说明这台电脑无法运行 FreeVideo,提交问题也无法改变这一点。FreeVideo 需要 NVIDIA RTX 30 系列或更新的显卡,或 Apple 芯片的 Mac。
- type: input
id: version
attributes:
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@
| <a href="https://github.com/FlashML-org/FreeVideo/releases/latest/download/FreeVideo.exe"><b>Windows</b></a> | <a href="https://github.com/FlashML-org/FreeVideo/releases/latest/download/FreeVideo-Mac-arm64.dmg"><b>macOS</b></a> | <a href="https://github.com/FlashML-org/FreeVideo/releases/latest/download/FreeVideo-Linux-x86_64.AppImage"><b>Linux</b></a> | <a href="docs/community-results.md"><b>Community Results</b></a> | <a href="https://freevideo-community.pages.dev/#gallery"><b>Gallery</b></a> | <a href="https://discord.gg/MsA277cJzZ"><b>Discord</b></a> | <a href="https://freevideo-community.pages.dev/qq"><b>QQ Group</b></a> | <a href="https://freevideo-community.pages.dev/wechat"><b>WeChat Group</b></a> |
</p>

<p align="center">Requirements: an NVIDIA RTX 30 series or newer graphics card (professional cards of the same generation included; 8 GB of graphics memory or more recommended) and 16 GB of memory, or a Mac with Apple silicon (preview). GTX 10, GTX 16 and RTX 20 series cards and AMD or Intel graphics cannot run FreeVideo.</p>

<p align="center">English · <a href="README.zh-CN.md">中文</a></p>

Make videos on the computer you already own. Powered by [Video DeltaNet (VDN)](https://openvdn.github.io/), FreeVideo runs MiniMax H3 in as little as 8 GB of VRAM and 16 GB of RAM on NVIDIA graphics cards with compute capability 8.0 or higher (such as the RTX 30 series or newer, professional cards included), with acceleration adapted to your&nbsp;hardware. Apple silicon Macs run a preview.
Make videos on the computer you already own. Powered by [Video DeltaNet (VDN)](https://openvdn.github.io/), FreeVideo runs MiniMax H3 on NVIDIA graphics cards with compute capability 8.0 or higher (such as the RTX 30 series or newer, professional cards of the same generation included), with 8 GB of VRAM or more recommended and 16 GB of RAM, and with acceleration adapted to your&nbsp;hardware. Apple silicon Macs run a preview.

https://github.com/user-attachments/assets/ecda7d0d-7fbe-4e0c-8c29-8f3315bafc15

Expand All @@ -37,14 +39,16 @@ FreeVideo is a local inference engine for MiniMax H3 on consumer GPUs, built on
It coordinates VRAM, system memory and disk, adapting weight placement, compute precision and attention kernels to the available hardware. FreeVideo runs as a ComfyUI plugin, with launchers for Windows, macOS and Linux. Its core features include:

- **Hardware-adaptive execution**: Chooses the weight format for each GPU, int8 on GeForce RTX 30, 40 and 50 series cards and other Ampere cards, and FP8 on workstation and datacenter cards of newer architectures, and automatically probes the available attention kernels.
- **Low-memory inference**: Weight streaming, asynchronous prefetching and chunked computation keep peak memory low, enabling inference with as little as 8 GB of VRAM and 16 GB of RAM.
- **Low-memory inference**: Weight streaming, asynchronous prefetching and chunked computation keep peak memory low; 8 GB of VRAM or more and 16 GB of RAM are recommended.
- **Multimodal inputs**: Text prompts, first and last frames, and image, video and audio references.
- **Community LoRAs**: Use MiniMax H3 LoRAs in your workflow. See [examples](docs/LoRA.md).
- **ComfyUI integration**: A dedicated creative workspace inside ComfyUI that supports two-pass sampling and batch generation and keeps a history of past creations. For finer control, switch to the node view to add LoRAs or customize the workflow.
- **One-click deployment**: The Windows, Mac and Linux launchers set up ComfyUI, the runtime environment and the models, reuse existing models, and support offline installation.

## Getting Started

Requirements: an NVIDIA RTX 30 series or newer graphics card (professional cards of the same generation included; 8 GB of graphics memory or more recommended) and 16 GB of memory, or a Mac with Apple silicon (preview). GTX 10, GTX 16 and RTX 20 series cards and AMD or Intel graphics cannot run FreeVideo.

### Windows

1. [Download FreeVideo.exe](https://github.com/FlashML-org/FreeVideo/releases/latest/download/FreeVideo.exe) and run it.
Expand Down
8 changes: 6 additions & 2 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@
| <a href="https://github.com/FlashML-org/FreeVideo/releases/latest/download/FreeVideo.exe"><b>Windows</b></a> | <a href="https://github.com/FlashML-org/FreeVideo/releases/latest/download/FreeVideo-Mac-arm64.dmg"><b>macOS</b></a> | <a href="https://github.com/FlashML-org/FreeVideo/releases/latest/download/FreeVideo-Linux-x86_64.AppImage"><b>Linux</b></a> | <a href="docs/zh-CN/community-results.md"><b>社区实测</b></a> | <a href="https://freevideo-community.pages.dev/#gallery"><b>作品展示</b></a> | <a href="https://discord.gg/MsA277cJzZ"><b>Discord</b></a> | <a href="https://freevideo-community.pages.dev/qq"><b>QQ 群</b></a> | <a href="https://freevideo-community.pages.dev/wechat"><b>微信群</b></a> |
</p>

<p align="center">系统要求:NVIDIA RTX 30 系列或更新的显卡(含同代专业卡,建议显存 8 GB 以上)和 16 GB 内存,或 Apple 芯片的 Mac(预览版)。GTX 10、GTX 16、RTX 20 系列以及 AMD、Intel 显卡无法运行 FreeVideo。</p>

<p align="center"><a href="README.md">English</a> · 中文</p>

FreeVideo 由 [Video DeltaNet(VDN)](https://openvdn.github.io/) 驱动,让 MiniMax H3 能够在计算能力 8.0 及以上的 NVIDIA 显卡(如 RTX 30 系列及更新,包括专业卡)上本地运行,最低只需 8GB 显存和 16GB 内存,并会根据硬件配置自动选择合适的加速路径。Apple 芯片 Mac 为预览版。
FreeVideo 由 [Video DeltaNet(VDN)](https://openvdn.github.io/) 驱动,让 MiniMax H3 能够在计算能力 8.0 及以上的 NVIDIA 显卡(如 RTX 30 系列及更新,含同代专业卡)上本地运行,建议显存 8 GB 以上、内存 16 GB,并会根据硬件配置自动选择合适的加速路径。Apple 芯片 Mac 为预览版。

https://github.com/user-attachments/assets/ecda7d0d-7fbe-4e0c-8c29-8f3315bafc15

Expand All @@ -37,14 +39,16 @@ FreeVideo 是面向消费级显卡的 MiniMax H3 本地推理引擎,基于 [Op
它统一调度显存、内存与磁盘,并根据硬件条件调整权重放置、计算精度和注意力内核。FreeVideo 以 ComfyUI 插件形式提供,配备 Windows、macOS 和 Linux 启动器。主要特性包括:

- **硬件自适应**:针对不同显卡选择权重格式(GeForce RTX 30、40、50 系列和其他 Ampere 架构的显卡用 int8,更新架构的专业卡和数据中心卡用 FP8),并自动探测可用的注意力内核,无需手动配置。
- **低显存推理**:通过权重流式加载、异步预取与分块计算降低峰值显存,最低只需 8GB 显存和 16GB 内存。
- **低显存推理**:通过权重流式加载、异步预取与分块计算降低峰值显存,建议显存 8 GB 以上、内存 16 GB。
- **多模态输入**:支持文本、首帧、尾帧,以及图像、视频、音频参考输入。
- **社区 LoRA**:支持在工作流中使用 MiniMax H3 社区 LoRA。[查看效果对比](docs/LoRA.zh-CN.md)。
- **ComfyUI 集成**:在 ComfyUI 中提供专门的创作面板,支持二次采样和批量生成,并可浏览历史作品;需要更精细的控制时,可切换到节点视图,接入 LoRA 或自定义工作流。
- **一键部署**:Windows、Mac 和 Linux 启动器自动完成 ComfyUI、运行环境与模型的部署,可复用已有模型,并支持离线安装。

## 开始使用

系统要求:NVIDIA RTX 30 系列或更新的显卡(含同代专业卡,建议显存 8 GB 以上)和 16 GB 内存,或 Apple 芯片的 Mac(预览版)。GTX 10、GTX 16、RTX 20 系列以及 AMD、Intel 显卡无法运行 FreeVideo。

### Windows

1. [下载 FreeVideo.exe](https://github.com/FlashML-org/FreeVideo/releases/latest/download/FreeVideo.exe) 并运行。
Expand Down
2 changes: 2 additions & 0 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ async def comfy_entrypoint():
launcher_routes()
from .freevideo_engine.comfy_updates import register as update_routes
update_routes()
from .freevideo_engine.reload_keep import register as reload_keep_routes
reload_keep_routes()
from .freevideo_engine.comfy_library import register as library_routes
library_routes()
from .freevideo_engine.comfy_editor import register as editor_routes
Expand Down
4 changes: 4 additions & 0 deletions docs/community-results.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ Thanks to the community members who sent diagnostic reports. FreeVideo already r
| M4&nbsp;Max | Unified | 128&nbsp;GB | 1344×768 | 10.1&nbsp;s | Light | 0.5.4 | 3399&nbsp;s | 0.5.4 | Already&nbsp;optimal |
| RTX&nbsp;Spark&nbsp;N1X | 110&nbsp;GB | 32&nbsp;GB | 832×640 | 15.1&nbsp;s | Light | 0.6.12 | 1298&nbsp;s | 0.6.12 | GPU&nbsp;shared¹⁶ |
| RTX&nbsp;Spark&nbsp;N1X | 110&nbsp;GB | 32&nbsp;GB | 1920×1088 | 15.1&nbsp;s | Medium | 0.6.12 | 4400&nbsp;s¹² | 0.6.12 | Power&nbsp;limited¹⁷ |
| RTX&nbsp;Spark&nbsp;N1X | 110&nbsp;GB | 32&nbsp;GB | 1344×768 | 7.3&nbsp;s | Medium | 0.6.13 | 639&nbsp;s¹² | 0.6.14 | 627&nbsp;s&nbsp;(−12&nbsp;s) |
| RTX&nbsp;Spark&nbsp;N1X | 110&nbsp;GB | 32&nbsp;GB | 1344×768 | 10.1&nbsp;s | Medium | 0.6.13 | 728&nbsp;s | 0.6.14 | 715&nbsp;s&nbsp;(−13&nbsp;s) |
| M1&nbsp;Max | Unified | 32&nbsp;GB | 1344×768 | 10.1&nbsp;s | High | 0.5.3 | 27578&nbsp;s¹² | 0.5.3 | Already&nbsp;optimal¹⁸ |

- Time: end to end, from submission until the video is saved.
- After: the estimated time, derived from the report's stage times and from complete planned runs on our test machines (RTX 3090 and RTX 5060 Ti on Windows, RTX PRO 6000 on Linux) under the reporting machine's VRAM and RAM limits, not from reruns on that machine.
Expand All @@ -173,3 +176,4 @@ Thanks to the community members who sent diagnostic reports. FreeVideo already r
- ¹⁵ The video model is read from the drive again at every step, at about 110 MB/s on this machine; the graphics card was busy for about 9–13% of the first pass and 36% of the second pass.
- ¹⁶ GPU shared: another program was using about 40% of the graphics card during the first nine of the eleven steps, which took 103–128 s each against about 55 s once it stopped. With the card free, the same request is estimated at about 830 s.
- ¹⁷ Power-limited: the system's power limit lowered the graphics card's clock as the run went on, from about 1943 MHz at 49 W in the first step to about 1285 MHz at 23 W in the ninth and about 995 MHz while decoding. Without this slowdown, the same request is estimated at about 2500 s.
- ¹⁸ From 0.6.14 this machine can use the Fast level, estimated at about 5700 s.
2 changes: 1 addition & 1 deletion docs/execution-planning.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ Windows, 1344 × 768, 10 seconds, two-pass sampling:
| GeForce RTX 5090 | 32 GB + 64 GB | 122 s |
| GeForce RTX 5060 Ti | 16 GB + 32 GB | 486 s |
| GeForce RTX 4060 Ti | 16 GB + 32 GB | 558 s |
| GeForce RTX 4060 Ti (community report, [#22](https://github.com/FlashML-org/FreeVideo/issues/22)) | 8 GB + 64 GB | 603 s |
| GeForce RTX 4060 Ti (community report) | 8 GB + 64 GB | 603 s |
4 changes: 4 additions & 0 deletions docs/zh-CN/community-results.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@
| M4&nbsp;Max | 统⁠一⁠内⁠存 | 128&nbsp;GB | 1344×768 | 10.1&nbsp;s | 轻⁠量 | 0.5.4 | 3399&nbsp;s | 0.5.4 | 已⁠是⁠最⁠优 |
| RTX&nbsp;Spark&nbsp;N1X | 110&nbsp;GB | 32&nbsp;GB | 832×640 | 15.1&nbsp;s | 轻⁠量 | 0.6.12 | 1298&nbsp;s | 0.6.12 | 显⁠卡⁠被⁠占⁠用¹⁶ |
| RTX&nbsp;Spark&nbsp;N1X | 110&nbsp;GB | 32&nbsp;GB | 1920×1088 | 15.1&nbsp;s | 标⁠准 | 0.6.12 | 4400&nbsp;s¹² | 0.6.12 | 功⁠耗⁠受⁠限¹⁷ |
| RTX&nbsp;Spark&nbsp;N1X | 110&nbsp;GB | 32&nbsp;GB | 1344×768 | 7.3&nbsp;s | 标⁠准 | 0.6.13 | 639&nbsp;s¹² | 0.6.14 | 627&nbsp;s&nbsp;(−12&nbsp;s) |
| RTX&nbsp;Spark&nbsp;N1X | 110&nbsp;GB | 32&nbsp;GB | 1344×768 | 10.1&nbsp;s | 标⁠准 | 0.6.13 | 728&nbsp;s | 0.6.14 | 715&nbsp;s&nbsp;(−13&nbsp;s) |
| M1&nbsp;Max | 统⁠一⁠内⁠存 | 32&nbsp;GB | 1344×768 | 10.1&nbsp;s | 精⁠细 | 0.5.3 | 27578&nbsp;s¹² | 0.5.3 | 已⁠是⁠最⁠优¹⁸ |

- 用时:从提交到视频保存完成的端到端用时。
- 优化后:预估用时,根据报告中的分段用时,结合测试机(Windows RTX 3090 和 RTX 5060 Ti、Linux RTX PRO 6000)在报告机器的显存和内存上限下运行完整规划的实测推算,不是在报告机器上重跑。
Expand All @@ -173,3 +176,4 @@
- ¹⁵ 视频模型每一步都要从硬盘重新读取,这台机器上读取速度约 110 MB/s;显卡在第一遍约 9–13% 的时间在工作,第二遍约 36%。
- ¹⁶ 显卡被占用:11 步中的前 9 步里,另有程序占用了约 40% 的显卡,这些步每步 103–128 秒,占用消失后每步约 55 秒;显卡空出来时,同样的请求估计约需 830 秒。
- ¹⁷ 功耗受限:运行中系统的功耗上限让显卡频率越来越低,从第 1 步约 1943 MHz、49 W 降到第 9 步约 1285 MHz、23 W,解码时约 995 MHz;不降频时,同样的请求估计约需 2500 秒。
- ¹⁸ 0.6.14 起这台机器可以使用极速档,估计约 5700 秒。
2 changes: 1 addition & 1 deletion docs/zh-CN/execution-planning.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ Windows,1344 × 768、10 秒、二次采样:
| GeForce RTX 5090 | 32GB + 64GB | 122 秒 |
| GeForce RTX 5060 Ti | 16GB + 32GB | 486 秒 |
| GeForce RTX 4060 Ti | 16GB + 32GB | 558 秒 |
| GeForce RTX 4060 Ti(社区实测,[#22](https://github.com/FlashML-org/FreeVideo/issues/22)) | 8GB + 64GB | 603 秒 |
| GeForce RTX 4060 Ti(社区实测) | 8GB + 64GB | 603 秒 |
30 changes: 25 additions & 5 deletions freevideo.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,20 @@ try {
-ProxyRoutes $proxyRoutes -OfficialOnly:$officialOnly
$env:UV_PYTHON_INSTALL_DIR = Join-Path $bootstrapRoot 'python'
$env:UV_NO_CONFIG = '1'
# Isolated Python: begin (scripts/test_windows_python_recover.ps1 runs this part with stand-ins for uv and Python)
# An isolated Python already here whose python.exe is gone or does not answer (security software): uv still
# calls it installed, and every step after fails on it. It is installed again, once: before the download when
# it is found broken, or after it when it breaks at once. managed_python.py keeps the same rules for setup.
$pythonReinstall = @()
if (Get-ChildItem -LiteralPath $env:UV_PYTHON_INSTALL_DIR -Directory -Filter ('cpython-' + $versions.python + '-*') -ErrorAction SilentlyContinue) {
$pythonState = Get-FreeVideoManagedPythonProblem -Uv $uv -Version $versions.python -LogPath $bootstrapLog
if ($pythonState.Kind) {
Write-FreeVideoPythonReinstall -State $pythonState -LogPath $bootstrapLog
$pythonReinstall = @('--reinstall')
}
}
# The download below runs a second time only to install a Python that broke at once again.
foreach ($pythonRound in @(1, 2)) {
$installed = $false
# Python sources: begin (scripts/test_windows_python_sources.ps1 runs this block with a stand-in for uv)
# The GitHub mirror (ghfast) refuses the Python runtime files (403), so it is not a Python source:
Expand Down Expand Up @@ -147,15 +161,15 @@ try {
$pythonLabel = "Install Python $($versions.python), attempt $attempt ($proxyRoute connection)"
if ($profile.Mode -eq 'patient') { $pythonLabel += ", $($profile.Mode)" }
$pythonExit = Invoke-FreeVideoBootstrapCommand -Executable $uv `
-Arguments @('python', 'install', '--no-bin', '--no-registry', '--no-progress', '--color', 'never', $versions.python) `
-Arguments (@('python', 'install', '--no-bin', '--no-registry', '--no-progress', '--color', 'never', $versions.python) + $pythonReinstall) `
-LogPath $bootstrapLog -Label $pythonLabel `
-Direct:($proxyRoute -eq 'direct') -OutputTail ([ref]$pythonOutput)
if ($pythonExit -ne 0 -and (Test-FreeVideoCertificateFailure $pythonOutput)) {
$originalOutput = $pythonOutput
$originalExit = $pythonExit
$retryOutput = ''
$retryExit = Invoke-FreeVideoBootstrapCommand -Executable $uv `
-Arguments @('--native-tls', 'python', 'install', '--no-bin', '--no-registry', '--no-progress', '--color', 'never', $versions.python) `
-Arguments (@('--native-tls', 'python', 'install', '--no-bin', '--no-registry', '--no-progress', '--color', 'never', $versions.python) + $pythonReinstall) `
-LogPath $bootstrapLog -Label ($pythonLabel + ', system certificates') `
-Direct:($proxyRoute -eq 'direct') -OutputTail ([ref]$retryOutput)
if ($retryExit -eq 0) {
Expand All @@ -176,7 +190,7 @@ try {
Start-Sleep -Seconds $wait
$pythonOutput = ''
$pythonExit = Invoke-FreeVideoBootstrapCommand -Executable $uv `
-Arguments @('python', 'install', '--no-bin', '--no-registry', '--no-progress', '--color', 'never', $versions.python) `
-Arguments (@('python', 'install', '--no-bin', '--no-registry', '--no-progress', '--color', 'never', $versions.python) + $pythonReinstall) `
-LogPath $bootstrapLog -Label ($pythonLabel + ", again after $wait s") `
-Direct:($proxyRoute -eq 'direct') -OutputTail ([ref]$pythonOutput)
$blocked = $null
Expand Down Expand Up @@ -224,8 +238,14 @@ try {
throw "Python installation failed (uv exit $($lead.Exit)).$leadDetail Check your network or connection mode in Downloads. See $bootstrapLog and retry."
}
# Python sources: end
$freevideoPython = (& $uv python find --managed-python $versions.python | Select-Object -Last 1).Trim()
if ($LASTEXITCODE -ne 0 -or -not (Test-Path -LiteralPath $freevideoPython)) { throw "Python was installed but could not be found (uv exit $LASTEXITCODE). See $bootstrapLog, then run the same command again." }
$pythonState = Get-FreeVideoManagedPythonProblem -Uv $uv -Version $versions.python -LogPath $bootstrapLog
if (-not $pythonState.Kind) { break }
if ($pythonReinstall.Count) { throw (Get-FreeVideoManagedPythonMessage -State $pythonState -LogPath $bootstrapLog) }
Write-FreeVideoPythonReinstall -State $pythonState -LogPath $bootstrapLog
$pythonReinstall = @('--reinstall')
}
$freevideoPython = $pythonState.Path
# Isolated Python: end
} finally {
if ($patientDownloadNotice -and $env:FREEVIDEO_UI_EVENTS -eq '1') {
Write-Host '{"event":"freevideo_ui","kind":"progress","key":"download-patient-python","label":"Download","detail":"","state":"complete"}'
Expand Down
2 changes: 1 addition & 1 deletion freevideo_engine/agent/builtin_director.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def plan(story, *, ask, shots=(3, 8)):
prompt += '\ndrama.check problems: ' + _dump(error.problems)
continue
return candidate
return Problem('plan_failed', '没能把故事排成合格剧本,请补充镜头内容后再试。')
return Problem('plan_failed', '未能把故事排成合格剧本,请补充镜头内容后再试。')


def _selectable(shot):
Expand Down
Loading