diff --git a/deploy/vevo2-test/README.md b/deploy/vevo2-test/README.md new file mode 100644 index 0000000..0511519 --- /dev/null +++ b/deploy/vevo2-test/README.md @@ -0,0 +1,134 @@ +# Isolated Vevo2 FM listening test (not a Deck integration) + +Official source: https://github.com/open-mmlab/Amphion +Source revision: `26f6883110181f1dbfe95c70a7c7dbaf4de5f42a`. +Public model: https://huggingface.co/RMSnow/Vevo2 +Model revision: `2674843cbaa50aa89ee7ccaf5bb15d6ccf46c6c8`. +Only FM, content-style tokenizer, vocoder and official Whisper-medium encoder +are needed. No AR/Qwen text generator. No source/weights modifications. The +`assets.json` records sizes and SHA256 of the actual public assets. Upstream +code retains its own MIT notices; preserve model metadata/licences when rebuilding. + +## Tested runtime and native prerequisites + +Tested Python3.12.3, Torch/Torchaudio2.9.1+cu128 and Torchvision0.24.1+cu128; +complete resolved Python package versions are in `requirements.lock`. +Native Debian needs an explicitly provisioned compatible Python3.12 interpreter, +its venv/pip, build-essential for PyWorld, FFmpeg and libsndfile1. These are not +assumed to come from a different model or running container. For GPU execution, +also provision a CUDA12.8-compatible NVIDIA driver; no host/driver change is +performed by these scripts. For CPU tests no GPU or CUDA device is required. +No systemd daemon or network endpoint is added: this is a foreground batch job. +Fresh native-host installation/restore has not been accepted. + +Set the explicit native test state root and user. As that unprivileged user: + +```sh +export VEVO2_TEST_ROOT=/var/lib/vevo2-test +export AMPHION_REVISION=26f6883110181f1dbfe95c70a7c7dbaf4de5f42a +export VEVO2_REVISION=2674843cbaa50aa89ee7ccaf5bb15d6ccf46c6c8 +# First create the root owned by that user, mode0700; copy the scripts there. +CUDA_VISIBLE_DEVICES='' python3.12 "$VEVO2_TEST_ROOT/prepare.py" +``` + +`prepare.py` creates its own venv and downloads pinned sources/checkpoints; +GPU is hidden throughout preparation. It now includes the three extra imports +PyWorld, Torchmetrics and ruamel.yaml which the short upstream Vevo2 requirements +file omitted but the official module imports. The original first preparation +was completed by `resume.py`; a fresh preparation includes them directly. +No patch to vendor code. For rebuilding the exact accepted dependency set, +install the three Torch packages from the official cu128 index first, then the +committed lock using that index as an extra index; run `python -m pip check`. +The initial bootstrap package list is a resolver recipe; the committed lock +records what the test actually used. + +Provide just two private WAVs under `$VEVO2_TEST_ROOT/inputs`: +`source.wav` (short spoken performance) and `anna-reference.wav` (target voice, +8s in the test). The names are test filenames, not hard-coded speaker models. +Keep source under30s; this wrapper does not offer long-form chunking. Recording +and microphone capture are not part of this standalone experiment. + +```sh +CUDA_VISIBLE_DEVICES='' "$VEVO2_TEST_ROOT/python/bin/python" \ + "$VEVO2_TEST_ROOT/run_test.py" --cpu +# Alternatively, only after the GPU is free and no production work is active: +CUDA_VISIBLE_DEVICES= "$VEVO2_TEST_ROOT/python/bin/python" \ + "$VEVO2_TEST_ROOT/run_test.py" +CUDA_VISIBLE_DEVICES='' "$VEVO2_TEST_ROOT/python/bin/python" \ + "$VEVO2_TEST_ROOT/analyse.py" +``` + +The GPU branch requires10GiB free as a conservative admission check, not a +measured peak. It has not been accepted by the CPU-only test. Do not stop +production models/requests without the normal Deck idle check/model-unload flow. + +## Inference and limitations + +Two32-step FM passes, same seed20261019: `use_pitch_shift=False` versusTrue. +Official median-F0 adjustment is applied to source chromagram features **before** +content-style tokenization and neural synthesis; only those features are shifted. +No Rubber Band/post-output pitch processing. Waveform writing uses soundfile +PCM16 with the same−25dBFS RMS normalization as the official `save_audio`, avoiding +Torchaudio's optional TorchCodec dependency. This changes serialization, not +model inference. Private recordings/results remain local; inference is offline. + +Important upstream behavior: shifts are rounded to semitones; shifts beyond±12 +are reduced modulo12 (not clamped). Very large male-to-female differences may +therefore not match the target register. The tested input yielded+12. Duration +and words are not guaranteed bit-exact; listen and compare content before +integration. Known public issues include pronunciation errors (#490) and +unreproduced examples (#484). Those reports are not proof every mode is broken. + +## Isolation, persistence, cleanup and restore + +Athena test root `/data/experiments/vevo2-20261019`, owned65534,0700. Temporary +CPU preparation containers use2CPU/8GiB/no swap; offline test2CPU/12GiB/no swap, +no network/GPU, only that root mounted. Runtime base is the existing Deck image +`athena-deck-standalone:0a107ae83542e4c5`, immutable image ID recorded in acceptance. +It supplies only the explicitly listed Python/system prerequisites; its live +Deck state, credentials, Docker socket and other models are not mounted. +No ports, production profiles, API publication, restart flags or services changed. +Temporary containers are removed after successful completion; this one test root +holds all persistent test state. No permanent second speech server. + +The existing Anna voice is copied specifically for this authorized local test, +then normalized to8s PCM; original streaming WAV header had an unknown length. +No original voice changed. Inputs, generated WAVs and private logs do not belong +in Git. They are **not automatically included in Deck backup**, since this is an +external experiment. The original saved Anna is covered by the existing Deck +voice backup. Keep private test outputs locally/encrypted if desired. Rebuild +venv from lock rather than copying between OS/interpreter versions. Check public +asset hashes against this manifest after reconstructing them. To undo this test, +remove only its stopped containers and its own root after saving wanted results; +Deck/Humaneness need no rollback because they were not modified. + +## Bounded text-conditioned FM follow-up + +The default FM model produced large ASR text differences in the first test. +One additional official checkpoint is tested: +`acoustic_modeling/fm_emilia101k_singnet7k_repa_text`. `prepare_text.py` downloads +only that checkpoint and the standard tokenizer for `microsoft/Phi-3.5-mini-instruct` +(no Phi LLM weights). Its exact tokenizer revision is recorded in `text-versions.json`. +The original official config names that tokenizer without a revision; only this +isolated cache's `refs/main` points to the pinned downloaded snapshot for offline +use. No vendor config/source modification. This checkpoint's `whisper_stats.pt` +is resolved relative to the checkpoint directory, so the runner sets that CWD. +The initial attempt with the source directory as CWD failed before inference; +only the runner working directory was corrected. + +Provide private `private-text.json` with `source` and `reference` strings matching +the two WAVs. The controlled test uses the local CPU-STT transcripts; neither +transcripts nor audio are committed. Execute preparation online and the actual +`run_text_test.py --cpu` offline under the same resource limits. The official +FM pipeline receives both original audio and the text as additional conditioning. +This is not an ASR→TTS replacement: content-style audio tokens and reference mel +features still drive conversion. Recognition errors in the supplied text can +still contaminate results. No claim that this fixes the known pronunciation issue. + +**Text variant acceptance failed:** after resolving the checkpoint-relative stats +path, current upstream `code2mel` calls `fmt_model.text_cond_emb`, but the pinned +`FlowMatchingTransformer` has no such attribute. No architecture/config patch +applied. `run_text_test.py` is retained as a reproduction, **not a working feature**. +Do not deploy the text branch from this recipe as supported production behavior. +The base FM passes ran on CPU but produced large ASR word differences; see the +maintenance acceptance report before repeating or integrating this model. diff --git a/deploy/vevo2-test/analyse.py b/deploy/vevo2-test/analyse.py new file mode 100644 index 0000000..e247539 --- /dev/null +++ b/deploy/vevo2-test/analyse.py @@ -0,0 +1,12 @@ +import os,json,sys,wave +from pathlib import Path +r=Path(os.environ.get('VEVO2_TEST_ROOT','/data'));os.environ.update(CUDA_VISIBLE_DEVICES='',NUMBA_NUM_THREADS='2',NUMBA_CACHE_DIR=str(r/'numba-cache'),OMP_NUM_THREADS='2') +import librosa,numpy as np,soundfile as sf +clips={'source':r/'inputs/source.wav','reference':r/'inputs/anna-reference.wav','without-auto':r/'outputs/without-auto.wav','auto':r/'outputs/auto.wav'};results={};envelopes={} +for label,p in clips.items(): + y,sr=librosa.load(p,sr=16000,mono=True);f,v,prob=librosa.pyin(y,sr=sr,fmin=60,fmax=650,frame_length=1024,hop_length=256) + rms=librosa.feature.rms(y=y,frame_length=1024,hop_length=256)[0];valid=v&np.isfinite(f)&(rms>max(.001,float(max(rms))*.03));n=int(sum(valid)) + info=sf.info(p);results[label]=dict(duration=info.duration,sample_rate=info.samplerate,voiced_frames=n,median_f0_hz=round(float(np.median(f[valid])),2) if n>=12 else None,peak=round(float(np.max(np.abs(y))),4),rms=round(float(np.sqrt(np.mean(y*y))),5));envelopes[label]=rms +for label in ('without-auto','auto'): + a=envelopes['source'];b=envelopes[label];n=min(len(a),len(b));results[label]['rms_envelope_correlation']=round(float(np.corrcoef(a[:n],b[:n])[0,1]),4) +(r/'audio-analysis.json').write_text(json.dumps(results,indent=2));print(json.dumps(results)) diff --git a/deploy/vevo2-test/assets-with-text.json b/deploy/vevo2-test/assets-with-text.json new file mode 100644 index 0000000..825a985 --- /dev/null +++ b/deploy/vevo2-test/assets-with-text.json @@ -0,0 +1,62 @@ +[ + { + "path": "model/vocoder/config.json", + "size": 2069, + "sha256": "a6445bcc2182c43d97491b38d79022901f02b0f9fb56aa7a51498d0da8b9767d" + }, + { + "path": "model/vocoder/model_2.safetensors", + "size": 180693296, + "sha256": "56130fd13d5fbe828e56d61edb0049d35700db0472a866b8167d1d217d2687f8" + }, + { + "path": "model/vocoder/model.safetensors", + "size": 1020206416, + "sha256": "5b5d1a46b19351c9a71bd8a5a59dd16be0be2ddefe70d3a0b4915d9a425e56d3" + }, + { + "path": "model/vocoder/model_1.safetensors", + "size": 69768280, + "sha256": "850799d78699134b969056183fc9d490c51f8d8154d0ed00fae3e738b6b30af6" + }, + { + "path": "model/acoustic_modeling/fm_emilia101k_singnet7k_repa/whisper_stats.pt", + "size": 9215, + "sha256": "6117052b3e23e9075a79cc208ecc24328ae2f71a7dd4c9793db7c90a88b4a519" + }, + { + "path": "model/acoustic_modeling/fm_emilia101k_singnet7k_repa/config.json", + "size": 2290, + "sha256": "e0ce1432ac20903ec8c65d16794e93c278a11d0a472ab0032241c20b8d07a4db" + }, + { + "path": "model/acoustic_modeling/fm_emilia101k_singnet7k_repa/model.safetensors", + "size": 1451496488, + "sha256": "ef3733b3f92cf8f38e32f6d161f58751247b199cffc15cc1562e76c1289a7186" + }, + { + "path": "model/tokenizer/contentstyle_fvq16384_12.5hz/model.safetensors", + "size": 244781696, + "sha256": "bebdcea39e2d0134dbcce193aed0e7b0d393a866346317cd196389e40e9151b0" + }, + { + "path": "whisper-cache/medium.pt", + "size": 1528008539, + "sha256": "345ae4da62f9b3d59415adc60127b97c714f32e89e936602e85993674d08dcb1" + }, + { + "path": "model/acoustic_modeling/fm_emilia101k_singnet7k_repa_text/whisper_stats.pt", + "size": 9215, + "sha256": "6117052b3e23e9075a79cc208ecc24328ae2f71a7dd4c9793db7c90a88b4a519" + }, + { + "path": "model/acoustic_modeling/fm_emilia101k_singnet7k_repa_text/config.json", + "size": 2344, + "sha256": "d43b8748285327490e521e40b4f9c28ca9ec9dcbe0ff13b82e7f0462461cd69a" + }, + { + "path": "model/acoustic_modeling/fm_emilia101k_singnet7k_repa_text/model.safetensors", + "size": 1616553544, + "sha256": "c972f24183e1347d6b767c9d2804959de0506bfcb4836992aba9cd33ce4e9ed1" + } +] \ No newline at end of file diff --git a/deploy/vevo2-test/assets.json b/deploy/vevo2-test/assets.json new file mode 100644 index 0000000..89fe3db --- /dev/null +++ b/deploy/vevo2-test/assets.json @@ -0,0 +1,47 @@ +[ + { + "path": "model/vocoder/config.json", + "size": 2069, + "sha256": "a6445bcc2182c43d97491b38d79022901f02b0f9fb56aa7a51498d0da8b9767d" + }, + { + "path": "model/vocoder/model_2.safetensors", + "size": 180693296, + "sha256": "56130fd13d5fbe828e56d61edb0049d35700db0472a866b8167d1d217d2687f8" + }, + { + "path": "model/vocoder/model.safetensors", + "size": 1020206416, + "sha256": "5b5d1a46b19351c9a71bd8a5a59dd16be0be2ddefe70d3a0b4915d9a425e56d3" + }, + { + "path": "model/vocoder/model_1.safetensors", + "size": 69768280, + "sha256": "850799d78699134b969056183fc9d490c51f8d8154d0ed00fae3e738b6b30af6" + }, + { + "path": "model/acoustic_modeling/fm_emilia101k_singnet7k_repa/whisper_stats.pt", + "size": 9215, + "sha256": "6117052b3e23e9075a79cc208ecc24328ae2f71a7dd4c9793db7c90a88b4a519" + }, + { + "path": "model/acoustic_modeling/fm_emilia101k_singnet7k_repa/config.json", + "size": 2290, + "sha256": "e0ce1432ac20903ec8c65d16794e93c278a11d0a472ab0032241c20b8d07a4db" + }, + { + "path": "model/acoustic_modeling/fm_emilia101k_singnet7k_repa/model.safetensors", + "size": 1451496488, + "sha256": "ef3733b3f92cf8f38e32f6d161f58751247b199cffc15cc1562e76c1289a7186" + }, + { + "path": "model/tokenizer/contentstyle_fvq16384_12.5hz/model.safetensors", + "size": 244781696, + "sha256": "bebdcea39e2d0134dbcce193aed0e7b0d393a866346317cd196389e40e9151b0" + }, + { + "path": "whisper-cache/medium.pt", + "size": 1528008539, + "sha256": "345ae4da62f9b3d59415adc60127b97c714f32e89e936602e85993674d08dcb1" + } +] \ No newline at end of file diff --git a/deploy/vevo2-test/prepare.py b/deploy/vevo2-test/prepare.py new file mode 100644 index 0000000..feb8ab0 --- /dev/null +++ b/deploy/vevo2-test/prepare.py @@ -0,0 +1,40 @@ +import os,json,subprocess,sys,time,urllib.request,hashlib,tarfile,shutil +from pathlib import Path +r=Path(os.environ.get('VEVO2_TEST_ROOT','/data'));os.environ.update(CUDA_VISIBLE_DEVICES='',HF_HOME=str(r/'hf-cache'),HF_HUB_DISABLE_TELEMETRY='1',HF_HUB_DISABLE_IMPLICIT_TOKEN='1',OMP_NUM_THREADS='2',PIP_DISABLE_PIP_VERSION_CHECK='1') +def status(state,phase): + p=r/'status.tmp';p.write_text(json.dumps(dict(state=state,phase=phase,time=time.time())));p.replace(r/'status.json') +def run(args): + with (r/'prepare.log').open('ab') as f:subprocess.run([str(x) for x in args],stdout=f,stderr=f,check=True) +def get(url):return json.load(urllib.request.urlopen(url,timeout=90)) +try: + status('running','Offiziellen Quellstand festhalten und laden') + rev=os.environ.get('AMPHION_REVISION') or get('https://api.github.com/repos/open-mmlab/Amphion/commits/main')['sha'] + modelrev=os.environ.get('VEVO2_REVISION') or get('https://huggingface.co/api/models/RMSnow/Vevo2')['sha'] + (r/'versions.json').write_text(json.dumps(dict(source_revision=rev,model_revision=modelrev),indent=2)) + archive=r/'source.tar.gz';urllib.request.urlretrieve('https://api.github.com/repos/open-mmlab/Amphion/tarball/'+rev,archive) + (r/'source.sha256').write_text(hashlib.sha256(archive.read_bytes()).hexdigest()) + with tarfile.open(archive) as t:t.extractall(r/'checkout',filter='data') + source=next((r/'checkout').iterdir());(r/'source-path.txt').write_text(str(source)) + status('running','Eigene Python-Umgebung ohne GPU vorbereiten') + run([sys.executable,'-m','venv',r/'python']);python=r/'python/bin/python' + run([python,'-m','pip','install','--no-cache-dir','torch==2.9.1','torchaudio==2.9.1','torchvision==0.24.1','--index-url','https://download.pytorch.org/whl/cu128']) + status('running','Vevo2-Abhängigkeiten installieren; GPU bleibt unsichtbar') + run([python,'-m','pip','install','--no-cache-dir','numpy==2.3.2','librosa==0.11.0','scipy==1.16.2','soundfile==0.13.1','transformers==4.57.1','huggingface-hub==0.36.0','safetensors==0.6.2','accelerate==1.10.1','einops==0.8.1','einx==0.3.0','omegaconf==2.3.0','PyYAML==6.0.2','ipython','tqdm','matplotlib','praat-parselmouth','torchcrepe','openai-whisper','json5','pydub','Unidecode','phonemizer','g2p-en','jieba','cn2an','sentencepiece','tensorboard','vector-quantize-pytorch','pyworld==0.3.5','torchmetrics==1.8.2','ruamel.yaml==0.18.16']) + status('running','Nur benötigte FM-Konverter-Gewichte laden; kein AR/TTS-Modell') + download="""from huggingface_hub import snapshot_download +import whisper,sys +from pathlib import Path +r=Path(sys.argv[1]);revision=sys.argv[2] +snapshot_download('RMSnow/Vevo2',revision=revision,local_dir=r/'model',allow_patterns=['acoustic_modeling/fm_emilia101k_singnet7k_repa/*','tokenizer/contentstyle_fvq16384_12.5hz/*','vocoder/*'],ignore_patterns=['*.md']) +whisper.load_model('medium',device='cpu',download_root=str(r/'whisper-cache')) +""" + run([python,'-c',download,r,modelrev]) + status('running','CPU-Importprüfung des unveränderten offiziellen Inferenzcodes') + run([python,'-c',"import sys,torch;sys.path.insert(0,sys.argv[1]);from models.svc.vevo2.vevo2_utils import Vevo2InferencePipeline;assert not torch.cuda.is_available();print('CPU_IMPORT_OK')",source]) + with (r/'requirements.lock').open('wb') as f:subprocess.run([str(python),'-m','pip','freeze'],stdout=f,check=True) + assets=[] + for folder in (r/'model',r/'whisper-cache'): + for p in folder.rglob('*'): + if p.is_file() and '.cache' not in p.parts:assets.append(dict(path=str(p.relative_to(r)),size=p.stat().st_size,sha256=hashlib.file_digest(p.open('rb'),'sha256').hexdigest())) + (r/'assets.json').write_text(json.dumps(assets,indent=2));status('ready','Laufzeit und Gewichte vorbereitet; noch kein GPU-Test gestartet') +except Exception as e:status('failed',type(e).__name__+': '+str(e)[:300]);raise diff --git a/deploy/vevo2-test/prepare_text.py b/deploy/vevo2-test/prepare_text.py new file mode 100644 index 0000000..42f5469 --- /dev/null +++ b/deploy/vevo2-test/prepare_text.py @@ -0,0 +1,18 @@ +import os,json,subprocess,sys,time +from pathlib import Path +r=Path(os.environ.get('VEVO2_TEST_ROOT','/data'));os.environ.update(CUDA_VISIBLE_DEVICES='',HF_HOME=str(r/'hf-cache'),HF_HUB_DISABLE_IMPLICIT_TOKEN='1',OMP_NUM_THREADS='2') +p=r/'text-status.json' +try: + p.write_text(json.dumps(dict(state='preparing',phase='Offizielles Text-FM und Phi-Tokenizer laden',time=time.time()))) + from huggingface_hub import snapshot_download,model_info + from transformers import AutoTokenizer + rev=json.loads((r/'versions.json').read_text())['model_revision'] + snapshot_download('RMSnow/Vevo2',revision=rev,local_dir=r/'model',allow_patterns=['acoustic_modeling/fm_emilia101k_singnet7k_repa_text/*']) + repo='microsoft/Phi-3.5-mini-instruct';t_rev=model_info(repo).sha + AutoTokenizer.from_pretrained(repo,revision=t_rev,trust_remote_code=False) + # The unmodified official config uses this repository's default revision. + # Point only this isolated offline cache's main ref at the verified snapshot. + ref=r/'hf-cache/hub/models--microsoft--Phi-3.5-mini-instruct/refs/main';ref.parent.mkdir(parents=True,exist_ok=True);ref.write_text(t_rev) + (r/'text-versions.json').write_text(json.dumps(dict(tokenizer_repo=repo,tokenizer_revision=t_rev,model_revision=rev),indent=2)) + p.write_text(json.dumps(dict(state='ready',phase='Text-FM und gepinnter Standard-Tokenizer bereit',time=time.time()))) +except Exception as e:p.write_text(json.dumps(dict(state='failed',phase=type(e).__name__+': '+str(e)[:300])));raise diff --git a/deploy/vevo2-test/requirements.lock b/deploy/vevo2-test/requirements.lock new file mode 100644 index 0000000..0f6eca0 --- /dev/null +++ b/deploy/vevo2-test/requirements.lock @@ -0,0 +1,131 @@ +absl-py==2.5.1 +accelerate==1.10.1 +antlr4-python3-runtime==4.9.3 +asttokens==3.0.2 +attrs==26.1.0 +audioread==3.1.0 +certifi==2026.10.18 +cffi==2.1.1 +charset-normalizer==3.5.2 +click==8.5.0 +cloudpickle==3.1.2 +cn2an==0.5.24 +contourpy==1.4.0 +cycler==0.12.1 +decorator==5.3.1 +defusedxml==0.7.1 +Distance==0.1.3 +dlinfo==2.0.0 +einops==0.8.1 +einx==0.3.0 +executing==2.3.0 +filelock==3.32.3 +fonttools==4.67.0 +frozendict==2.4.7 +fsspec==2026.7.0 +g2p-en==2.1.0 +grpcio==1.84.0 +hf-xet==1.7.0 +huggingface-hub==0.36.0 +idna==3.20 +inflect==7.5.0 +ipython==9.17.1 +ipython_pygments_lexers==1.1.1 +jedi==0.20.1 +jieba==0.42.1 +Jinja2==3.1.6 +joblib==1.6.0 +json5==0.17.3 +kiwisolver==1.5.1 +lazy-loader==0.6 +librosa==0.11.0 +lightning-utilities==0.15.3 +llvmlite==0.50.0 +loguru==0.7.3 +Markdown==3.11.1 +MarkupSafe==3.0.3 +matplotlib==3.11.2 +matplotlib-inline==0.2.2 +more-itertools==11.2.1 +mpmath==1.3.0 +msgpack==1.2.3 +narwhals==2.27.1 +networkx==3.6.1 +nltk==3.10.3 +numba==0.68.0 +numpy==2.3.2 +nvidia-cublas-cu12==12.8.4.1 +nvidia-cuda-cupti-cu12==12.8.90 +nvidia-cuda-nvrtc-cu12==12.8.93 +nvidia-cuda-runtime-cu12==12.8.90 +nvidia-cudnn-cu12==9.10.2.21 +nvidia-cufft-cu12==11.3.3.83 +nvidia-cufile-cu12==1.13.1.3 +nvidia-curand-cu12==10.3.9.90 +nvidia-cusolver-cu12==11.7.3.90 +nvidia-cusparse-cu12==12.5.8.93 +nvidia-cusparselt-cu12==0.7.1 +nvidia-nccl-cu12==2.27.5 +nvidia-nvjitlink-cu12==12.8.93 +nvidia-nvshmem-cu12==3.3.20 +nvidia-nvtx-cu12==12.8.90 +omegaconf==2.3.0 +openai-whisper==20250625 +packaging==26.3 +parso==0.8.7 +pexpect==4.9.0 +phonemizer==3.4.0 +pillow==12.3.0 +platformdirs==4.13.5 +pooch==1.9.0 +praat-parselmouth==0.4.7 +proces==0.1.7 +prompt_toolkit==3.0.53 +protobuf==7.36.2 +psutil==7.2.2 +ptyprocess==0.7.0 +pure_eval==0.2.4 +pycparser==3.11 +pydub==0.25.1 +Pygments==2.21.0 +pyparsing==3.3.3 +python-dateutil==2.9.0.post0 +pyworld==0.3.5 +PyYAML==6.0.2 +regex==2026.9.29 +requests==2.34.2 +resampy==0.4.3 +ruamel.yaml==0.18.16 +ruamel.yaml.clib==0.2.15 +safetensors==0.6.2 +scikit-learn==1.9.1 +scipy==1.16.2 +sentencepiece==0.2.2 +setuptools==78.1.0 +six==1.17.0 +soundfile==0.13.1 +soxr==1.1.0 +stack-data==0.6.3 +sympy==1.14.0 +tensorboard==2.21.0 +tensorboard-data-server==0.7.2 +threadpoolctl==3.7.0 +tiktoken==0.14.0 +tokenizers==0.22.2 +torch==2.9.1+cu128 +torch-einops-utils==0.1.36 +torchaudio==2.9.1+cu128 +torchcrepe==0.0.24 +torchmetrics==1.8.2 +torchvision==0.24.1+cu128 +tqdm==4.70.1 +traitlets==5.16.1 +transformers==4.57.1 +triton==3.5.1 +typeguard==4.6.0 +typing_extensions==4.16.0 +Unidecode==1.4.0 +urllib3==2.8.0 +vector-quantize-pytorch==1.31.6 +wcwidth==0.9.2 +Werkzeug==3.1.9 diff --git a/deploy/vevo2-test/resume.py b/deploy/vevo2-test/resume.py new file mode 100644 index 0000000..6b79c15 --- /dev/null +++ b/deploy/vevo2-test/resume.py @@ -0,0 +1,21 @@ +import os,sys,subprocess,json,time,hashlib +from pathlib import Path +r=Path(os.environ.get('VEVO2_TEST_ROOT','/data'));python=r/'python/bin/python' +os.environ.update(CUDA_VISIBLE_DEVICES='',HF_HOME=str(r/'hf-cache'),HF_HUB_DISABLE_IMPLICIT_TOKEN='1',HF_HUB_OFFLINE='1',TRANSFORMERS_OFFLINE='1',OMP_NUM_THREADS='2') +def status(state,phase):(r/'status.json').write_text(json.dumps(dict(state=state,phase=phase,time=time.time()))) +def run(args): + with (r/'prepare.log').open('ab') as f:subprocess.run([str(a) for a in args],stdout=f,stderr=f,check=True) +try: + status('running','Ergänzende Importe im offiziellen Vevo2-Modul bereitstellen') + run([python,'-m','pip','install','--no-cache-dir','pyworld==0.3.5','torchmetrics==1.8.2','ruamel.yaml==0.18.16']) + s=r/'checkout'/Path((r/'source-path.txt').read_text()).name + run([python,'-c',"import sys,torch;sys.path.insert(0,sys.argv[1]);from models.svc.vevo2.vevo2_utils import Vevo2InferencePipeline;assert not torch.cuda.is_available();print('CPU_IMPORT_OK')",s]) + with (r/'requirements.lock').open('wb') as f:subprocess.run([str(python),'-m','pip','freeze'],stdout=f,check=True) + assets=[] + for folder in (r/'model',r/'whisper-cache'): + for p in folder.rglob('*'): + if p.is_file() and '.cache' not in p.parts: + with p.open('rb') as f:h=hashlib.file_digest(f,'sha256').hexdigest() + assets.append(dict(path=str(p.relative_to(r)),size=p.stat().st_size,sha256=h)) + (r/'assets.json').write_text(json.dumps(assets,indent=2));status('ready','Gewichte und CPU-Import geprüft; wartet auf freien GPU-Test') +except Exception as e:status('failed',type(e).__name__+': '+str(e)[:300]);raise diff --git a/deploy/vevo2-test/run_test.py b/deploy/vevo2-test/run_test.py new file mode 100644 index 0000000..49aa840 --- /dev/null +++ b/deploy/vevo2-test/run_test.py @@ -0,0 +1,48 @@ +"""Isolated Vevo2 FM A/B test; upstream source and model are never modified.""" +import os,json,sys,time,random,traceback +from pathlib import Path +r=Path(os.environ.get('VEVO2_TEST_ROOT','/data')) +os.environ.update(HOME=str(r),HF_HOME=str(r/'hf-cache'),HF_HUB_OFFLINE='1',TRANSFORMERS_OFFLINE='1',HF_HUB_DISABLE_IMPLICIT_TOKEN='1',OMP_NUM_THREADS='4',OPENBLAS_NUM_THREADS='1',NUMBA_NUM_THREADS='2',NUMBA_CACHE_DIR=str(r/'numba-cache')) +def status(state,phase): + p=r/'test-status.tmp';p.write_text(json.dumps(dict(state=state,phase=phase,time=time.time())));p.replace(r/'test-status.json') +try: + source=r/'checkout'/Path((r/'source-path.txt').read_text()).name;sys.path.insert(0,str(source));os.chdir(source) + import torch,numpy as np,librosa,soundfile as sf + cpu='--cpu' in sys.argv + if not cpu and not torch.cuda.is_available():raise RuntimeError('A free dedicated GPU is required.') + torch.set_num_threads(2 if cpu else 4);device=torch.device('cpu' if cpu else 'cuda:0') + gpu_name='CPU' if cpu else torch.cuda.get_device_properties(0).name + if not cpu: + free,total=torch.cuda.mem_get_info() + if free<10*1024**3:raise RuntimeError('Vevo2 test requires at least10GiB free GPU memory.') + # Official Whisper lookup cache; pre-fetched under CPU-only preparation. + cache=r/'.cache';cache.mkdir(exist_ok=True) + if not (cache/'whisper').exists():(cache/'whisper').symlink_to(r/'whisper-cache',target_is_directory=True) + ckpts=source/'ckpts';ckpts.mkdir(exist_ok=True) + if not (ckpts/'Vevo2').exists():(ckpts/'Vevo2').symlink_to(r/'model',target_is_directory=True) + from models.svc.vevo2.vevo2_utils import Vevo2InferencePipeline,save_audio + status('running','Offiziellen FM-Konverter auf '+gpu_name+' laden') + start=time.monotonic();m=r/'model' + pipe=Vevo2InferencePipeline(content_style_tokenizer_ckpt_path=str(m/'tokenizer/contentstyle_fvq16384_12.5hz'),fmt_cfg_path=str(m/'acoustic_modeling/fm_emilia101k_singnet7k_repa/config.json'),fmt_ckpt_path=str(m/'acoustic_modeling/fm_emilia101k_singnet7k_repa'),vocoder_cfg_path=str(m/'vocoder/config.json'),vocoder_ckpt_path=str(m/'vocoder'),device=device) + results=dict(versions=json.loads((r/'versions.json').read_text()),gpu=gpu_name,model_load_seconds=round(time.monotonic()-start,3),flow_matching_steps=32,seed=20261019,cases=[]) + a=r/'inputs/source.wav';b=r/'inputs/anna-reference.wav';out=r/'outputs';out.mkdir(exist_ok=True) + shift=int(pipe.get_shifted_steps(str(a),str(b)));results['official_pitch_shift_semitones']=shift + for auto in (False,True): + name='auto' if auto else 'without-auto';status('running','Vevo2: '+name) + random.seed(20261019);np.random.seed(20261019);torch.manual_seed(20261019);torch.cuda.manual_seed_all(20261019) + if not cpu:torch.cuda.reset_peak_memory_stats() + start=time.monotonic() + with torch.inference_mode():audio=pipe.inference_fm(src_wav_path=str(a),timbre_ref_wav_path=str(b),use_pitch_shift=auto,flow_matching_steps=32) + if not cpu:torch.cuda.synchronize() + elapsed=time.monotonic()-start + # Same -25 dBFS RMS normalization as the official save_audio function; + # soundfile writes PCM without requiring Torchaudio's optional TorchCodec. + pcm=audio.detach().cpu().numpy().reshape(-1) + rms=float(np.sqrt(np.mean(pcm**2))) + if rms>0:pcm=pcm*(10**(-25/20)/rms) + sf.write(out/(name+'.wav'),pcm,24000,subtype='PCM_16') + y,sr=sf.read(out/(name+'.wav'));case=dict(name=name,auto_pitch=auto,seconds=round(elapsed,3),output_seconds=round(len(y)/sr,4),sample_rate=sr,peak_allocated_mib=None if cpu else round(torch.cuda.max_memory_allocated()/1024**2),peak_reserved_mib=None if cpu else round(torch.cuda.max_memory_reserved()/1024**2)) + results['cases'].append(case);(r/'results.json').write_text(json.dumps(results,indent=2)) + status('complete','Beide Vevo2-Ausgaben gespeichert; eigener Modellprozess endet') +except Exception as e: + status('failed',type(e).__name__+': '+str(e)[:400]);traceback.print_exc();sys.exit(1) diff --git a/deploy/vevo2-test/run_text_test.py b/deploy/vevo2-test/run_text_test.py new file mode 100644 index 0000000..61193c1 --- /dev/null +++ b/deploy/vevo2-test/run_text_test.py @@ -0,0 +1,51 @@ +"""Isolated Vevo2 FM A/B test; upstream source and model are never modified.""" +import os,json,sys,time,random,traceback +from pathlib import Path +r=Path(os.environ.get('VEVO2_TEST_ROOT','/data')) +os.environ.update(HOME=str(r),HF_HOME=str(r/'hf-cache'),HF_HUB_OFFLINE='1',TRANSFORMERS_OFFLINE='1',HF_HUB_DISABLE_IMPLICIT_TOKEN='1',OMP_NUM_THREADS='4',OPENBLAS_NUM_THREADS='1',NUMBA_NUM_THREADS='2',NUMBA_CACHE_DIR=str(r/'numba-cache')) +def status(state,phase): + p=r/'text-status.tmp';p.write_text(json.dumps(dict(state=state,phase=phase,time=time.time())));p.replace(r/'text-status.json') +try: + source=r/'checkout'/Path((r/'source-path.txt').read_text()).name;sys.path.insert(0,str(source));os.chdir(source) + import torch,numpy as np,librosa,soundfile as sf + cpu='--cpu' in sys.argv + if not cpu and not torch.cuda.is_available():raise RuntimeError('A free dedicated GPU is required.') + torch.set_num_threads(2 if cpu else 4);device=torch.device('cpu' if cpu else 'cuda:0') + gpu_name='CPU' if cpu else torch.cuda.get_device_properties(0).name + if not cpu: + free,total=torch.cuda.mem_get_info() + if free<10*1024**3:raise RuntimeError('Vevo2 test requires at least10GiB free GPU memory.') + # Official Whisper lookup cache; pre-fetched under CPU-only preparation. + cache=r/'.cache';cache.mkdir(exist_ok=True) + if not (cache/'whisper').exists():(cache/'whisper').symlink_to(r/'whisper-cache',target_is_directory=True) + ckpts=source/'ckpts';ckpts.mkdir(exist_ok=True) + if not (ckpts/'Vevo2').exists():(ckpts/'Vevo2').symlink_to(r/'model',target_is_directory=True) + # The text-FM config resolves whisper_stats.pt relative to its checkpoint directory. + os.chdir(r/'model/acoustic_modeling/fm_emilia101k_singnet7k_repa_text') + from models.svc.vevo2.vevo2_utils import Vevo2InferencePipeline,save_audio + status('running','Offiziellen FM-Konverter auf '+gpu_name+' laden') + start=time.monotonic();m=r/'model' + pipe=Vevo2InferencePipeline(content_style_tokenizer_ckpt_path=str(m/'tokenizer/contentstyle_fvq16384_12.5hz'),fmt_cfg_path=str(m/'acoustic_modeling/fm_emilia101k_singnet7k_repa_text/config.json'),fmt_ckpt_path=str(m/'acoustic_modeling/fm_emilia101k_singnet7k_repa_text'),vocoder_cfg_path=str(m/'vocoder/config.json'),vocoder_ckpt_path=str(m/'vocoder'),device=device) + results=dict(versions=json.loads((r/'versions.json').read_text()),gpu=gpu_name,model_load_seconds=round(time.monotonic()-start,3),flow_matching_steps=32,seed=20261019,cases=[]) + a=r/'inputs/source.wav';b=r/'inputs/anna-reference.wav';out=r/'outputs';out.mkdir(exist_ok=True) + shift=int(pipe.get_shifted_steps(str(a),str(b)));results['official_pitch_shift_semitones']=shift + text=json.loads((r/'private-text.json').read_text()) + for auto in (True,): + name='auto-text-conditioned';status('running','Vevo2: '+name) + random.seed(20261019);np.random.seed(20261019);torch.manual_seed(20261019);torch.cuda.manual_seed_all(20261019) + if not cpu:torch.cuda.reset_peak_memory_stats() + start=time.monotonic() + with torch.inference_mode():audio=pipe.inference_fm(src_wav_path=str(a),timbre_ref_wav_path=str(b),use_pitch_shift=auto,flow_matching_steps=32,src_wav_text=text['source'],timbre_ref_wav_text=text['reference']) + if not cpu:torch.cuda.synchronize() + elapsed=time.monotonic()-start + # Same -25 dBFS RMS normalization as the official save_audio function; + # soundfile writes PCM without requiring Torchaudio's optional TorchCodec. + pcm=audio.detach().cpu().numpy().reshape(-1) + rms=float(np.sqrt(np.mean(pcm**2))) + if rms>0:pcm=pcm*(10**(-25/20)/rms) + sf.write(out/(name+'.wav'),pcm,24000,subtype='PCM_16') + y,sr=sf.read(out/(name+'.wav'));case=dict(name=name,auto_pitch=auto,seconds=round(elapsed,3),output_seconds=round(len(y)/sr,4),sample_rate=sr,peak_allocated_mib=None if cpu else round(torch.cuda.max_memory_allocated()/1024**2),peak_reserved_mib=None if cpu else round(torch.cuda.max_memory_reserved()/1024**2)) + results['cases'].append(case);(r/'text-results.json').write_text(json.dumps(results,indent=2)) + status('complete','Textkonditionierte Vevo2-Ausgabe gespeichert; eigener Modellprozess endet') +except Exception as e: + status('failed',type(e).__name__+': '+str(e)[:400]);traceback.print_exc();sys.exit(1) diff --git a/deploy/vevo2-test/source.sha256 b/deploy/vevo2-test/source.sha256 new file mode 100644 index 0000000..8a3c0b2 --- /dev/null +++ b/deploy/vevo2-test/source.sha256 @@ -0,0 +1 @@ +156fd928ef6832acfe07d1894b08672d7fc9285a3d62720216296d95299ee8e5 \ No newline at end of file diff --git a/deploy/vevo2-test/text-versions.json b/deploy/vevo2-test/text-versions.json new file mode 100644 index 0000000..2395dec --- /dev/null +++ b/deploy/vevo2-test/text-versions.json @@ -0,0 +1,5 @@ +{ + "tokenizer_repo": "microsoft/Phi-3.5-mini-instruct", + "tokenizer_revision": "2fe192450127e6a83f7441aef6e3ca586c338b77", + "model_revision": "2674843cbaa50aa89ee7ccaf5bb15d6ccf46c6c8" +} \ No newline at end of file diff --git a/deploy/vevo2-test/versions.json b/deploy/vevo2-test/versions.json new file mode 100644 index 0000000..abbef18 --- /dev/null +++ b/deploy/vevo2-test/versions.json @@ -0,0 +1,4 @@ +{ + "source_revision": "26f6883110181f1dbfe95c70a7c7dbaf4de5f42a", + "model_revision": "2674843cbaa50aa89ee7ccaf5bb15d6ccf46c6c8" +} \ No newline at end of file diff --git a/docs/CURRENT_SYSTEM.md b/docs/CURRENT_SYSTEM.md index 48f2217..3a0b98f 100644 --- a/docs/CURRENT_SYSTEM.md +++ b/docs/CURRENT_SYSTEM.md @@ -1,5 +1,11 @@ # Neuer Athena-Router: aktueller Dokumentationsstand +Am 19.Oktober2026 **Vevo2 isoliert getestet, nicht produktiv übernommen**: +Grundmodell läuft offline auf Athena-CPU und trifft Annas Tonhöhenbereich, zeigt +aber starke ASR-Wortabweichungen. Offizieller Text-Modellzweig scheitert im +unveränderten Herstellercode. Bestehende Modelle/Profile/Dienste unangetastet. +[Messungen, Grenzen und reproduzierbarer Test](maintenance/2026-10-19-vevo2-test.md). + Am 19.Oktober2026 ergänzt: **automatischer Tonhöhenabgleich an die Referenz** und zusätzlicher ±12-Halbtonregler für Humaneness im Stimmatelier. CPU-DSP nach der Konvertierung, feste Ausgabedauer, Formanterhalt; keine Modelländerung. diff --git a/docs/experiments/vevo2-2026-10-19/audio-analysis.json b/docs/experiments/vevo2-2026-10-19/audio-analysis.json new file mode 100644 index 0000000..1d17944 --- /dev/null +++ b/docs/experiments/vevo2-2026-10-19/audio-analysis.json @@ -0,0 +1,36 @@ +{ + "source": { + "duration": 5.955918367346939, + "sample_rate": 22050, + "voiced_frames": 253, + "median_f0_hz": 114.58, + "peak": 1.0105, + "rms": 0.15228 + }, + "reference": { + "duration": 8.0, + "sample_rate": 24000, + "voiced_frames": 303, + "median_f0_hz": 233.17, + "peak": 0.2426, + "rms": 0.04099 + }, + "without-auto": { + "duration": 6.0, + "sample_rate": 24000, + "voiced_frames": 211, + "median_f0_hz": 234.52, + "peak": 0.4291, + "rms": 0.05593, + "rms_envelope_correlation": 0.8125 + }, + "auto": { + "duration": 6.0, + "sample_rate": 24000, + "voiced_frames": 263, + "median_f0_hz": 231.82, + "peak": 0.382, + "rms": 0.0559, + "rms_envelope_correlation": 0.7923 + } +} \ No newline at end of file diff --git a/docs/experiments/vevo2-2026-10-19/content-check.json b/docs/experiments/vevo2-2026-10-19/content-check.json new file mode 100644 index 0000000..4500923 --- /dev/null +++ b/docs/experiments/vevo2-2026-10-19/content-check.json @@ -0,0 +1,16 @@ +{ + "without-auto": { + "source_word_count": 14, + "output_word_count": 16, + "asr_word_edits": 13, + "asr_text_difference_rate": 0.9286, + "same_normalized_words": false + }, + "auto": { + "source_word_count": 14, + "output_word_count": 15, + "asr_word_edits": 7, + "asr_text_difference_rate": 0.5, + "same_normalized_words": false + } +} \ No newline at end of file diff --git a/docs/experiments/vevo2-2026-10-19/results.json b/docs/experiments/vevo2-2026-10-19/results.json new file mode 100644 index 0000000..258973a --- /dev/null +++ b/docs/experiments/vevo2-2026-10-19/results.json @@ -0,0 +1,31 @@ +{ + "versions": { + "source_revision": "26f6883110181f1dbfe95c70a7c7dbaf4de5f42a", + "model_revision": "2674843cbaa50aa89ee7ccaf5bb15d6ccf46c6c8" + }, + "gpu": "CPU", + "model_load_seconds": 15.369, + "flow_matching_steps": 32, + "seed": 20261019, + "cases": [ + { + "name": "without-auto", + "auto_pitch": false, + "seconds": 123.34, + "output_seconds": 6.0, + "sample_rate": 24000, + "peak_allocated_mib": null, + "peak_reserved_mib": null + }, + { + "name": "auto", + "auto_pitch": true, + "seconds": 129.429, + "output_seconds": 6.0, + "sample_rate": 24000, + "peak_allocated_mib": null, + "peak_reserved_mib": null + } + ], + "official_pitch_shift_semitones": 12 +} \ No newline at end of file diff --git a/docs/experiments/vevo2-2026-10-19/text-failure.json b/docs/experiments/vevo2-2026-10-19/text-failure.json new file mode 100644 index 0000000..859d6c2 --- /dev/null +++ b/docs/experiments/vevo2-2026-10-19/text-failure.json @@ -0,0 +1,5 @@ +{ + "state": "failed", + "phase": "AttributeError: 'FlowMatchingTransformer' object has no attribute 'text_cond_emb'", + "time": 1792416766.9506295 +} \ No newline at end of file diff --git a/docs/experiments/vevo2-2026-10-19/verification.json b/docs/experiments/vevo2-2026-10-19/verification.json new file mode 100644 index 0000000..ba734e3 --- /dev/null +++ b/docs/experiments/vevo2-2026-10-19/verification.json @@ -0,0 +1,5 @@ +{ + "verified_large_assets": 7, + "model_revision": "2674843cbaa50aa89ee7ccaf5bb15d6ccf46c6c8", + "whisper_checksum_verified": true +} \ No newline at end of file diff --git a/docs/maintenance/2026-10-19-vevo2-test.md b/docs/maintenance/2026-10-19-vevo2-test.md new file mode 100644 index 0000000..0dac5af --- /dev/null +++ b/docs/maintenance/2026-10-19-vevo2-test.md @@ -0,0 +1,95 @@ +# Vevo2: isolierter Hörvergleich, 19.Oktober2026 + +Auftrag: Vevo2 mit eingebauter Referenz-Tonhöhenanpassung auf Athena testen, +bevor etwas in Deck/Stimmatelier übernommen wird. Humaneness, Profile und +laufende Modellanfragen bleiben unverändert. Keine Mac-App-Änderung. + +Offizielles Amphion-Repo auf Revision26f6883110181f1dbfe95c70a7c7dbaf4de5f42a, +RMSnow/Vevo2 auf2674843cbaa50aa89ee7ccaf5bb15d6ccf46c6c8. FM-only ohne AR/Qwen- +Generator, offizielle Whisper-medium-Inhaltsmerkmale, Vocos und Content-Style- +Tokenizer. Quellen/Hashes/Lock und Native-/Restore-Rezept: +[`deploy/vevo2-test`](../../deploy/vevo2-test/README.md). + +Vorbereitung in eigener Venv und ausschließlich eigenem Zustand unter +`/data/experiments/vevo2-20261019`; keine Produktionszustände/Zugänge gemountet. +Python3.12.3, Torch/Torchaudio2.9.1+cu128, Torchvision0.24.1+cu128. Zusätzliche +Importabhängigkeiten PyWorld, Torchmetrics und ruamel.yaml mussten ergänzt +werden; kein Hersteller-Codepatch. CPU-Import danach bestanden. Sieben große +Assets einschließlich Whisper-medium gegen feste HF-LFS-/Whisper-Prüfsummen +bestätigt. Der erste Vorbereitungsfehler und die Ergänzung sind dokumentiert; +nicht als reibungslose Ein-Befehl-Installation ausgeben. + +Testbasis: bestehende tiefe eigene Testaufnahme5,9559s/22,05kHz, gespeicherte +Anna auf8s/24kHz normalisiert. Streaming-WAV-Header der Originalreferenz hatte +unbekannte Länge; tatsächliche Aufnahme per FFmpeg begrenzt. Originalstimme +unverändert. Keine privaten WAVs/Transkripte in Git. + +Die GPUs waren mit Strata belegt; reguläre Deck-Anmeldung fehlte. Deshalb +Offline-CPU-Test statt eines erzwungenen Modellwechsels:2CPU/12GiB,kein Swap, +kein Netzwerk/keine GPU, rund6,06GiB RAM während der Inferenz. Alle normalen +Dienste liefen unverändert weiter. GPU-Spitzenverbrauch wurde nicht gemessen. +Keine Behauptung, der GPU-Betrieb wäre auf Athena dadurch bereits abgenommen. +Runtime-Basisimage:athena-deck-standalone:0a107ae83542e4c5, +Image-IDsha256:8843ce74e931fecb611a5d24d40b9cfee24828a025c647f1d97bd3529f4ce9b2. + +Zwei offizielle32-Step-FM-Pässe mit gleichem Seed20261019: + +| Fall | CPU-Zeit ohne Modellladen | Ausgabe | Median-F0 | +|---|---:|---:|---:| +| Quelle | — | 5,9559s | 114,58Hz | +| Anna-Referenz | — | 8,0000s | 233,17Hz | +| Standard ohne Zusatzanpassung | 123,340s | 6,0000s | 234,52Hz | +| Offizielle automatische Anpassung(+12Halbtöne) | 129,429s | 6,0000s | 231,82Hz | + +Modellladen15,369s. Die modellinterne Synthese passt bereits ohne Zusatzschalter +ungefähr zur Zieltonhöhe. Die Automatik verändert Chromagram-Merkmale vor der +neuronalen Synthese; kein nachträglicher Rubber-Band-Filter. Dauerabweichung ++44ms, keine Zusage exakter Pausen. RMS-Hüllkurvenkorrelation0,8125 ohne bzw. +0,7923 mit Automatik; das sind technische Indikatoren, keine subjektive Qualität. + +Wichtiger negativer Befund:CPU-STT erkennt starke Wortabweichungen zur eigenen +Quelltranskription. Ohne Automatik13 Token-Edits bei14 Quellwörtern, mit Automatik7 +Edits. Keine Ground-Truth-WER; ASR kann selbst fehlerhaft sein. Der Befund ist +aber kein Beleg für erfolgreiche inhaltstreue Konvertierung. Deshalb nicht +allein wegen der passenden Tonhöhe produktiv freigeben. Public Issue490 meldet +Ausspracheprobleme:https://github.com/open-mmlab/Amphion/issues/490. + +Ein begrenzter Gegentest nutzt den offiziell bereitgestellten Text-FM-Checkpoint +mit Quelle und Referenz plus lokalen STT-Texten. Dieser beeinflusst die Wörter +zusätzlich, ersetzt nicht die Audio-zu-Audio-Merkmale durch reines TTS. +Arbeitsverzeichnis passend zur offiziellen relativen whisper_stats.pt nötig; +erster Versuch scheiterte vor Inferenz, danach nur CWD korrigiert. Kein Patch +an Gewichten/Herstellercode. Abschluss und Ergebnis werden unten nachgetragen. + +Messungen ohne private Inhalte: +[`results.json`](../experiments/vevo2-2026-10-19/results.json), +[`audio-analysis.json`](../experiments/vevo2-2026-10-19/audio-analysis.json), +[`content-check.json`](../experiments/vevo2-2026-10-19/content-check.json). + +## Abschluss: vorerst nicht zur produktiven Übernahme empfohlen + +Der zusätzliche Text-FM-Zweig scheitert nach korrigiertem Arbeitsverzeichnis +reproduzierbar am unveränderten offiziellen Code: +`AttributeError: 'FlowMatchingTransformer' object has no attribute 'text_cond_emb'`. +`vevo2_utils.py` versucht die Text-Einbettung aufzurufen, die aktuelle +`FlowMatchingTransformer`-Klasse stellt sie nicht bereit. Kein eigener Alias, +keine Ergänzung der Herstellerarchitektur und kein Gewichtsumbau vorgenommen. +Keine fertige dritte Hörprobe, keine Erfolgsaussage für diesen Modellzweig. +Fehlerstatus:`text-failure.json`; extra Checkpoint ebenfalls gegen HF-LFS-Hash +geprüft; Tokenizerrevision/Assets zusätzlich im Testrezept festgehalten. + +Ergebnis:Grundmodell technisch auf Athena CPU ausführbar, Zieltonhöhe ungefähr +erreicht, aber deutliche ASR-Wortabweichungen. Natürlicher Klang und Worttreue +sind nicht durch F0-Messung bewiesen; Nutzer erhält Original plus beide fertigen +Vevo2-Hörproben zur eigenen Beurteilung. Original für den Hörvergleich nur statisch +auf dieselbe−25dBFS-RMS-Lautstärke gebracht, weder Tonhöhe noch Zeit verändert. +Kein produktives Profil/Endpunkt/GUI angebunden. Humaneness, Strata und gespeicherte +Anna unverändert; weder Deck noch ein vorhandener Dienst neu gestartet. + +Alle fünf eigenen Vorbereitungs-/Testcontainer nach Ende entfernt (ein fehlgeschlagener +Text-Erstversuch war davor ebenfalls entfernt worden). Analysecontainer auto-entfernt. +Nur eigener persistenter Testordner bleibt, einschließlich Runtime/öffentlicher +Gewichte und privater Testergebnisse. Keine dauerhafte neue Anwendung. Der Test +lief CPU-only, kein GPU-Fit-Nachweis und keine Hochrechnung der CPU-Zeit als GPU-Zeit. +Eine spätere Wiederholung nur bei neuer relevanter Herstellerrevision oder neuem +Testziel; diesen Stand nicht erneut als ungetesteten Kandidaten installieren.