• Stefy Lanza (nextime / spora )'s avatar
    video: serve MiniMax-H3 through an isolated worker, and clone voices in the studio · 4abca4a9
    Stefy Lanza (nextime / spora ) authored
    MiniMax-H3 is a 33B flow-matching DiT that denoises video and audio in ONE packed
    sequence. diffusers ships it as Modular blocks only (MiniMaxH3ModularPipeline,
    0.40+) — there is no DiffusionPipeline half, so it fits neither
    _detect_pipeline_class() nor this venv's diffusers 0.38. It runs in an isolated
    venv, the same way pyannote, NeMo-Canary and vLLM do:
    
      tools/h3_service.py   generation inside the isolated venv (HTTP)
      codai/api/h3_worker.py venv bootstrap, process lifecycle, eviction handle
      requirements-h3.txt   the venv's pins (diffusers>=0.40, transformers 5.x)
    
    _generate_h3() adapts the request to the checkpoint's contracts instead of
    forwarding it, and reports every adaptation in the response warnings: guidance is
    baked in (negative_prompt and guidance_scale dropped), 24 fps is fixed and
    num_frames snaps up to the next 17n+5 within 5-15s, canvas axes round to 32, and
    v2v/interp are rejected. character_profiles become native ref2va references (max
    9) so H3 skips the identity-keyframe bridge; an explicit keyframe wins, since
    fl2va and ref2va are separate transformer partitions. The worker picks a workflow
    per request and never loads without one — that pulls both 61.7GB partitions.
    
    The worker registers as an evictable, VRAM-tracked model; eviction stops the
    subprocess, the only way the transformer's pages actually come back.
    
    Character studio: clone the voice off the same footage the face came from
    (/v1/audio/voices/extract) with `extract --voice`, the new `voice` subcommand or
    the UI checkbox, then `--say` a line that is lip-synced in that cloned voice.
    Co-Authored-By: 's avatarClaude Opus 5 (1M context) <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_0182DhR1eFNPQyGmDrpHbedY
    4abca4a9
Name
Last commit
Last update
..
__init__.py Loading commit data...
_film_net.py Loading commit data...
_rife_ifnet.py Loading commit data...
app.py Loading commit data...
archive.py Loading commit data...
audio_backends.py Loading commit data...
audio_clean.py Loading commit data...
audio_gen.py Loading commit data...
audio_stems.py Loading commit data...
canary_worker.py Loading commit data...
characters.py Loading commit data...
colibri_worker.py Loading commit data...
crisperwhisper_worker.py Loading commit data...
custom_pipelines.py Loading commit data...
diarization.py Loading commit data...
ds4_kv_janitor.py Loading commit data...
ds4_worker.py Loading commit data...
embeddings.py Loading commit data...
environments.py Loading commit data...
faceswap.py Loading commit data...
fastlog.py Loading commit data...
h3_worker.py Loading commit data...
hub_compat.py Loading commit data...
images.py Loading commit data...
k3_worker.py Loading commit data...
kt_worker.py Loading commit data...
lipsync.py Loading commit data...
log.py Loading commit data...
loras.py Loading commit data...
ocr.py Loading commit data...
parler_worker.py Loading commit data...
pipelines.py Loading commit data...
prompt_cache.py Loading commit data...
pyannote_worker.py Loading commit data...
ratelimit.py Loading commit data...
rerank.py Loading commit data...
runpod_client.py Loading commit data...
runpod_ledger.py Loading commit data...
runpod_worker.py Loading commit data...
spatial.py Loading commit data...
speaker_embeddings.py Loading commit data...
speaker_registry.py Loading commit data...
state.py Loading commit data...
stt_backends.py Loading commit data...
text.py Loading commit data...
transcriptions.py Loading commit data...
tts.py Loading commit data...
tts_backends.py Loading commit data...
urlutils.py Loading commit data...
video.py Loading commit data...
vllm_worker.py Loading commit data...
voice_clone.py Loading commit data...
voice_convert.py Loading commit data...
vpr_salad_server.py Loading commit data...