Repository navigation
FreeVideo 0.6.8 - #1053
Merged
Merged
FreeVideo 0.6.8#1053
Conversation
…rd stay when only host... Short host memory no longer empties the card: models wholly on the card stay when only host memory is short Making room for a stage or settling after a video released every cached model when live host memory fell short, including models that hold only card memory, so the card emptied and the host got nothing back. Now a model with no host-side weights stays and the bank records why; models holding host memory are released as before, and a card that is short too still releases them.
…ly, the picture model only... Models load as FreeVideo starts on a desktop too: the kinds used lately, the picture model only into free room Only a server loaded its models at start, so a desktop left the card empty until the first request and every first video or picture paid the full load. Where an idle picture worker keeps its model (Linux and Windows unless keeping models is off), FreeVideo now loads at start the kinds of model its last operations used, the video side alone when there is no history. The picture model loads only into room that is free, never in place of the video models. Macs keep loading on first use; a server loads both sides as before.
…at started before it A video that started while no picture worker ran still left "the video started" as the reason for the next picture worker's end. That worker later ended for its own reason (another program needed the memory, an idle time), was recorded as having made room for a video, and came back on that wrong ground. The reason is now set only when a running picture worker stops for the video, and a new worker starts without an old one.
…s worker took last time and... A model comes back only when host memory holds what it needs: what its worker took last time and the floor it keeps Bringing a model back after it made room checked only a fixed host margin, not the memory the model itself takes once loaded. On a machine short of host memory the picture model loaded, left its worker below the least host memory it keeps free, let go again within seconds, and loaded again, until the hourly limit ran out. The picture worker's host memory is now read while it waits between jobs and handed on with its release (the video worker's release already carries it), and a model comes back only when free host memory holds that plus the least its worker keeps free.
…return instead of stopping... A model that made room keeps coming back: the wait doubles with each return instead of stopping after three an hour After three returns of the same model within an hour, the fourth waited until the first was an hour old, so a model that had made room three times stayed off the card for up to an hour although the room was free. Now the quiet time before a return starts at 30 seconds and doubles with each return of that model in the last hour, up to 15 minutes: a program that comes and goes still does not make it load over and over, and the model comes back.
When placing the text encoder for a picture warm-up or warming the video model failed, the log named only the error's type (for example "RuntimeError"), which left nothing to act on. It now also names where the error was raised: the file, line and function, and FreeVideo's own frame when the error came from a library. The error's text stays out of the log, since it can carry paths or prompt text.
…her releases When the video worker gave back its cached models inside a request (to make room for a stage, for example a picture's text encoding), only the worker knew: the releases listed nothing, and the card emptied without a trace. The worker now keeps a numbered list of what it gave back across requests and reports it with its status; FreeVideo reads it while the worker is held and with each status reading, and records each one once, as a trim with its reason.
… logs each hit and miss Every warm-up put only the text encoder on the card, so the first video after the start, after a return or after the creation panel still loaded the video model. The settings a loaded video model is reused by (model pack and LoRAs, size and length, the planner's options) are now kept from the last successful video, with nothing from a prompt, picture or seed, and the warm-up loads the video model with them into the resident worker where it fits beside everything on the card and in host memory. A next video with other settings loads its own as before. Each preload, hit and miss is logged with what differed.
The video model comes back after a picture took its room; where both do not fit, the one used last keeps the card A picture that needed the card gave back the video model and nothing brought it back. It now waits for room like the other room-making releases, and counts as back only once the video model itself is loaded, not only its worker. At the start the kind used last loads first and the other only into room left beside it.
…e itself, so the video... The hardware probe started from inside ComfyUI finds the engine source itself, so the video warm-up, the H3 Image encoder placement and the prompt cache no longer fail there ComfyUI loads the engine by file location and runs without PYTHONPATH; the probe child could not import it and every detect() in that process raised. The child now puts the source directory on its own path (a portable Python's ._pth ignores PYTHONPATH anyway).
… the lease they already... The warm-up and the encoder placement run the GPU kernel checks under the lease they already hold instead of being refused by it A plan made while the lease is held may need the kernel checks again (after a GPU, driver or package change). They took the lease a second time through another open file, which the caller's own hold refused, so the video warm-up and the H3 Image encoder placement failed. The caller now passes its lease descriptor down and the checks run under it.
…video or picture that... Placing the encoder beside kept video models no longer stops them: a video or picture that starts meanwhile waits for it to yield, and one place decides how long
…d compile already gave way to A compile that exited because the card was busy (BUSY_EXIT) has had its process tree ended by its supervisor, so it is forgotten at once instead of after confirming a lease that a warm-up or a kept picture model holds. A stop no longer waits up to 15 s for that lease before the foreground stops its holder.
Tutorial: batch download and lossless sound in Library & export; pictures for 16 chapters refreshed with real FreeVideo outputs in the current Edit view and library
…output check's comment says... Reverse prompt: a clip that gave one frame is read as it is, and the output check's comment says what it checks
…nto projection tiles on the... Video on 8 GB cards: attention readouts kept on the host are joined into projection tiles on the GPU, so the second pass no longer waits on the processor; output unchanged bit for bit
…a generic failure, and both... Prompt model and dubbing jobs that run out of disk say so instead of a generic failure, and both services log the cause of an unexpected failure
Editor: closing it clears the 'last edit not found' card; last_missing test checks that and knows the stub's two feature-probe 404s
…at error's own advice The engine lists the child's last error as a "Cause:" line right under the header, and the known-error match only read a bare or typed error name there, so none of the engine's own explained errors reached their advice when raised from a worker. The line now counts under the header only.
The refusal card on a Mac now reads as the one thing to do instead of a restriction; the engine's sentence and the match on it are unchanged.
… header The same line the failure card now reads: the explained sentences and the memory check no longer fall back to "did not finish" when it is there.
…and names the next step Wording for the refusal card on a Mac; the engine's sentence and the match on it are unchanged.
Background compile gives way within seconds; warm-ups plan from saved GPU kernel checks and a starting worker stops on request The background compile yields to a generation within seconds and the generation waits for the GPU lease. The video and image warm-ups plan from the saved GPU kernel checks and never run them under their own lease; without saved checks they place with the installed backends minus the known-unusable ones. A worker that is still starting stops when asked and releases its lease.
…ode version and how the... Mac: a generation refused at the start records the chip, system and code version and how the memory is split between free, cached, in use, compressed and swap
…f the card that program took A release for another program on the card is recorded with how much of the card that program took; program names and pids go only to this machine's monitor The local release record and this machine's monitor list up to three programs outside FreeVideo's process tree that came onto the card or grew (pid, name, card bytes). The saved request record and the diagnostic report keep only their card bytes, and LAN-forwarded monitor requests see only the bytes.
…art no longer waits for the... Idle encoder build stops between layers once cancelled, so a video start no longer waits for the whole build A speculative encoder build checks for foreground work before each module takes its weights. Overlapping builds register their check by thread and share one loader hook; the last build to finish removes it, so one build ending never undoes another's.
…rds people use for them... Command palette: tutorial chapters can be found by title or by the words people use for them, and open at that chapter Typing in the palette lists matching chapters in the Help group; with nothing typed it still shows the single Tutorial entry. Chinese and English chapter names and aliases are searchable in either language.
The result's menu offers the same "Upscale to W x H" rows as the library's right-click menu: one 1.5x step where this computer can make it, and the 4K size. When the 1.5x row joins an open menu, the menu is placed again so it does not cover its button.
…bels describe the function
…head bank under another... The LoRA check names step-distillation adapters stored other ways (a head bank under another name, heads flattened onto the output layer, PTD original heads, or their metadata) as acceleration LoRAs, and calls a language-model LoRA that, not Wan
…amily from NVIDIA's index... Windows on Arm gets its own pinned runtime set: the CUDA 13.4 torch family from NVIDIA's index, triton 3.8, and the newest win_arm64 wheels of three native packages; the x64 sets are unchanged
The longer setup step label does not fit a 400-pixel window on Windows, so the earlier label is kept until the step bar fits narrow windows.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
0.6.8: 0.6.8 keeps models on the graphics card more often when pictures and videos alternate, has background preparation give the card back sooner when a generation starts, lets results be upscaled from their own menu, makes tutorial chapters searchable from the command palette, and explains more failures.