Spaces:
Running on Zero
Running on Zero
Commit History
9 days ago
-
fix: the decoder choices are named by what they do: "Auto", "Steadier (diffusion decoder)" and "Sharper (standard decoder)", in the choice, its line, the Upscale lock line, the Done card and the backend's refusals; the values sent stay auto, diffusion and conv (#27)
Unverified signatureOn the Space the same seed and prompt through both decoders gave the same scene: the diffusion decoder a little softer and steadier from frame to frame (fine detail 10.3 against 11.6, shimmer 1.47 against 1.88), the standard decoder sharper frame by frame with about 28% more shimmer (evidence/space/matrix/ab_decoder). The page called the softer one "Best quality" and the sharper one "Fast". Now the choices read "Auto" (still the vendor's default), "Steadier (diffusion decoder)" ("A little softer, steadier from frame to frame; takes a few seconds longer.") and "Sharper (standard decoder)" ("Sharper frame by frame, with a little more shimmer; faster."). Auto's line is true on every machine: "Diffusion decoder on an NVIDIA GPU that can run it, standard decoder elsewhere." Off CUDA, Auto always takes the standard decoder (pipelines.StageRunner._single_stage_decoder), so the old "where this machine can run it" was untrue on a Mac, and round 4 asked for the NVIDIA wording. The Upscale line …1c8a58d
10 days ago
-
fix: everything a user reads after Generate is in the UI's words, and audio too short for the set length is refused in them
Unverified signatureThe notes above Diagnostics now state facts that change what the user got, in plain words. A silent mode says the sound the model made was left out and names the mode that keeps it (video to video names none, since it has none). Audio to audio says the sound is the model's, made from the user's, and how much it was changed; audio to video says the sound is the user's, unchanged. Lengths and the trim are said in seconds. A requested level is mentioned only when it was snapped to a different level, never as "you asked for 0.42 ... 0.42 is the nearest". The upscaled size, the decoder and the prompt sent are the run record's and are no longer repeated as notes. The decoder policy, evictions, and a track an encoder offered that the mode does not declare go to the diagnostics. The upscale phase reads "upscaling ×2", and Upscale off CUDA is refused as "Upscale ×2 needs a CUDA GPU; this machine runs on cpu." A set length longer than the audio is refused before dispatch with the longest lengt…8a7fa0c -
fix: an explicit diffusion decode, or stage 2, that the decoder cannot take is refused before dispatch
Unverified signatureBoth facts are known before a GPU is reserved: the decoder's minimum size (read from its config file, the same one the run will load) and, off CUDA, the size its CPU path can hold. prepare_request now checks them, so the user is told "refused before running, nothing was billed" (gpu_used False) and the UI's readiness check can disable Generate with the reason. auto is never refused; it falls back to conv with a note as before. The runner keeps the same checks against the loaded decoder; the two share pipelines.check_decoder_minimum and pipelines.check_cpu_decoder_size. The tiny stack used by the real-pipeline tests now has its own composite snapshot, and its runs point LTX25_MODEL_SNAPSHOT_DIR at it, so the gate reads the tiny decoder's config rather than whatever real checkpoint the HF cache holds.18a60f4 -
feat: the decoder is a per-run choice, and auto decodes with the model's diffusion decoder wherever it can run
Unverified signatureSingle-stage runs returned the pipeline's own convolutional VAE decode; the diffusion decoder, which the vendor calls the native default from LTX-2.5 on, only ever ran after stage 2. The decode policy is auto | diffusion | conv, from a new optional request field (GenerationRequest.decoder, appended last), else LTX25_DECODER, default auto: - auto is the diffusion decoder on CUDA when its kernel processor builds and the video is at least the decoder's minimum (224x224x17 for the pinned config); otherwise conv, and the run notes say why. - an explicit diffusion that cannot run raises DecoderUnavailableError (cannot load, or off CUDA beyond the CPU decoder's size limit) or DecoderTooSmallError naming the smallest request; it is never downgraded quietly. - conv stays reachable for A/B; stage 2 always finishes with the diffusion decoder; the modes that discard their video always use conv. A single-stage diffusion decode asks for latents, decodes them with the existing LTX2VideoDi…174bb90