Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.
Python asraudiochineseemotion-recognitionfunasrmcp-servermultilingual-asropenai-compatible-apiparaformerpunctuationpytorchreal-time-asrspeaker-diarizationspeech-recognitionspeech-to-textstreaming-asrtranscriptionvllmvoice-activity-detectionwhisper-alternative
from __future__ import annotations
import copy
import sys
from pathlib import Path
import pytest
SITE_ROOT = Path(__file__).resolve().parents[1]
sys.path.insert(0, str(SITE_ROOT))
from registry import deployment_pairs, load_registry, validate_registry # noqa: E402
REGISTRY = SITE_ROOT / 'data' / 'deployments.json'
EXPECTED_IDS = {
'moss-transcribe-diarize',
'vllm',
'sensevoice-tensorrt',
'llama-cpp',
'sensevoice-native-server',
'audio-cpp',
'openai-api',
'realtime',
'containers',
'cpu-runtime',
'production',
}
@pytest.fixture
def valid_registry():
return load_registry(REGISTRY)
def test_checked_in_registry_is_valid(valid_registry):
assert validate_registry(valid_registry) == []
def test_registry_has_all_product_routes(valid_registry):
assert {item['id'] for item in valid_registry['deployments']} == EXPECTED_IDS
def test_language_pairs_have_identical_fields(valid_registry):
assert all(set(zh) == set(en) for zh, en in deployment_pairs(valid_registry))
def test_vllm_contract_tracks_native_funasr_release_and_h100_validation(valid_registry):
entry = next(item for item in valid_registry['deployments'] if item['id'] == 'vllm')
assert entry['maturity'] == 'community-verified'
assert entry['tested'] == {
'funasr': 'Official model revision a4362c943d48951f98ca2a62181cc028970270c5; not a FunASR package version',
'runtime': 'vLLM 0.27.1+cu129 / Torch 2.13.0+cu129 / Transformers 5.15.0 / CUDA 12.9 / Python 3.12.3',
'verified': '2026-09-07',
}
assert entry['models'] == ['FunAudioLLM/Fun-ASR-Nano-2512-vllm (official checkpoint)']
install = '\n'.join(entry['commands']['install'])
for marker in ('snapshot_download', 'FunAudioLLM/Fun-ASR-Nano-2512-vllm',
'a4362c943d48951f98ca2a62181cc028970270c5', '5.15.0',
'2.13.0+cu129', '0.27.1+cu129', 'local_dir=', 'cache_dir='):
assert marker in install
assert 'pip install' not in install
assert 'uv venv' not in install
launch = '\n'.join(entry['commands']['launch'])
for marker in (
'-m vllm.entrypoints.openai.api_server',
'--model "$MODEL_DIR"',
'HF_HUB_OFFLINE=1', 'TRANSFORMERS_OFFLINE=1',
'--host 127.0.0.1', '--port 57185',
'--served-model-name fun-asr-nano-official-a4362c94',
'--dtype float32',
'--gpu-memory-utilization 0.40',
'--enforce-eager',
):
assert marker in launch
assert 'allendou' not in launch
smoke = '\n'.join(entry['commands']['smoke'])
assert '/v1/audio/transcriptions' in smoke
for language in ('zh', 'en', 'ja'):
assert f'language={language}' in smoke
assert 'hotwords=开放时间,开放时间,开放时间' in smoke
evidence_urls = {item['url'] for item in entry['evidence']}
for url in (
'https://github.com/modelscope/FunASR/blob/main/docs/vllm_native_funasr_validation.md',
'https://github.com/modelscope/FunASR/blob/main/docs/vllm_official_native_validation.md',
'https://github.com/modelscope/FunASR/blob/main/docs/vllm_official_native_validation_zh.md',
'https://github.com/vllm-project/vllm/releases/tag/v0.27.1',
'https://github.com/vllm-project/vllm/pull/33247',
'https://github.com/vllm-project/vllm/pull/39674',
'https://github.com/vllm-project/vllm/pull/44215',
'https://huggingface.co/allendou/Fun-ASR-Nano-2512-vllm/tree/e718b36e2578203ec893e9b488239225f8d668e2',
):
assert url in evidence_urls
assert any(
benchmark['hardware'] == 'NVIDIA H100 80GB'
and 'two concurrent requests' in benchmark['workload']
and '1.123 s wall time' in benchmark['result']
and 'community-converted checkpoint' in benchmark['qualification']
and benchmark['source'] == 'https://github.com/modelscope/FunASR/blob/main/docs/vllm_native_funasr_validation.md'
for benchmark in entry['benchmarks']
)
limitation = entry['translations']['en']['primary_limitation'].lower()
assert 'community-converted checkpoint' in limitation
assert 'official funaudiollm/fun-asr-nano-2512-vllm' in limitation
assert 'existing environment' in limitation
assert 'not a clean installation' in limitation
assert '2026-08-13' in limitation
assert 'v0.28.0' in limitation
assert 'https://github.com/vllm-project/vllm/pull/54944' in evidence_urls
def test_moss_transcribe_diarize_contract_tracks_third_party_upstream(valid_registry):
entry = next(
item for item in valid_registry['deployments']
if item['id'] == 'moss-transcribe-diarize'
)
assert entry['maturity'] == 'community-verified'
assert entry['models'] == [
'OpenMOSS-Team/MOSS-Transcribe-Diarize (third-party Apache-2.0 model)'
]
assert entry['tested'] == {
'funasr': 'AutoModel HF + vLLM + SGLang adapters and OpenAI HTTP service; third-party model@e8681d68',
'runtime': 'Transformers 5.16.0.dev0 + Torch 2.11.0+cu130 and vLLM 0.27.1 + Torch 2.13.0+cu129 / H100 80GB',
'verified': '2026-09-01',
}
assert 'LocalAI / moss-transcribe.cpp' in entry['interfaces']
assert {'cpu', 'desktop-edge-gpu'} <= set(entry['hardware'])
runtime_paths = {path['id']: path for path in entry['runtime_paths']}
assert set(runtime_paths) == {'funasr-server', 'vllm', 'sglang-omni'}
service_commands = '\n'.join(
command
for group in ('install', 'launch', 'health', 'smoke')
for command in runtime_paths['funasr-server']['commands'][group]
)
assert 'funasr-server --model moss-transcribe-diarize' in service_commands
assert 'docker-compose.moss.yml' in service_commands
assert 'response_format=verbose_json' in service_commands
assert 'real HTTP response verified 2026-09-01' in runtime_paths['funasr-server']['tested']
assert runtime_paths['vllm']['tested'] == (
'vLLM 0.27.1 / Torch 2.13.0+cu129 / H100 80GB; FunASR adapter verified'
)
assert runtime_paths['sglang-omni']['tested'] == (
'SGLang Omni 3f819f9c / FunASR adapter contract-tested / #914 H100 upstream benchmark'
)
sglang_commands = '\n'.join(
command
for group in ('install', 'launch', 'health', 'smoke')
for command in runtime_paths['sglang-omni']['commands'][group]
)
assert 'git checkout 3f819f9cdae3d4eeec22f73306c9067a1ec2542e' in sglang_commands
assert 'sgl-omni serve' in sglang_commands
assert '--model-path .models/moss-transcribe-diarize' in sglang_commands
assert 'response_format=verbose_json' in sglang_commands
assert "payload.get('segments'" in sglang_commands
assert "from funasr import AutoModel" in sglang_commands
assert "backend='sglang'" in sglang_commands
assert "sglang_base_url='http://127.0.0.1:8898/v1'" in sglang_commands
assert 'max_new_tokens=65536' in sglang_commands
install = '\n'.join(entry['commands']['install'])
assert 'vllm[audio]' in install
assert 'vllm-0.27.1%2Bcu129' in install
assert 'bf0d52faa2a51e7a01c6856a7a8a2d1307fd0ff711415d34168a67ffac0fa47b' in install
assert 'OpenMOSS-Team/MOSS-Transcribe-Diarize' in install
assert 'e8681d68e7042738ffca8ac8212bc8fcb1131ab8' in install
launch = '\n'.join(entry['commands']['launch'])
assert 'vllm serve OpenMOSS-Team/MOSS-Transcribe-Diarize' in launch
assert '--trust-remote-code' in launch
smoke = '\n'.join(entry['commands']['smoke'])
assert '/v1/audio/transcriptions' in smoke
assert 'response_format=diarized_json' in smoke
assert "payload.get('segments'" in smoke
assert "from funasr import AutoModel" in smoke
assert "backend='vllm'" in smoke
assert "vllm_response_format='diarized_json'" in smoke
assert "result['raw_text']" in smoke
assert "result['sentence_info']" in smoke
evidence_urls = {item['url'] for item in entry['evidence']}
assert 'https://github.com/OpenMOSS/MOSS-Transcribe-Diarize' in evidence_urls
assert (
'https://github.com/OpenMOSS/MOSS-Transcribe-Diarize/commit/'
'cb765f2b0fe6f7a298aa2002e2281ae693d1f3c3'
) in evidence_urls
assert (
'https://huggingface.co/OpenMOSS-Team/MOSS-Transcribe-Diarize/tree/'
'e8681d68e7042738ffca8ac8212bc8fcb1131ab8'
) in evidence_urls
assert 'https://github.com/modelscope/FunASR/pull/3558' in evidence_urls
assert 'https://github.com/vllm-project/vllm/pull/48543' in evidence_urls
assert (
'https://github.com/vllm-project/recipes/blob/'
'd3f3136ad9d549ddf488f56c9b149ff4a92fc646/'
'models/OpenMOSS-Team/MOSS-Transcribe-Diarize.yaml'
) in evidence_urls
assert 'https://github.com/localai-org/moss-transcribe.cpp' in evidence_urls
assert 'https://github.com/mudler/LocalAI' in evidence_urls
assert 'https://github.com/sgl-project/sglang-omni/pull/914' in evidence_urls
english = entry['translations']['en']
assert 'OpenMOSS' in english['summary']
assert 'third-party' in english['summary'].lower()
assert 'FunASR AutoModel' in english['summary']
assert 'external VAD' in english['selection_reason']
assert 'FunASR AutoModel' in english['selection_reason']
assert 'FunASR AutoModel API' not in ' '.join(english['not_fit'])
assert 'sentence_info' in english['operations'][-1]
assert 'raw_text' in english['operations'][-1]
assert 'diarized_json' in english['operations'][-1]
assert 'diarized_json' in english['troubleshooting'][-1]
assert 'internal segmentation' in english['primary_limitation']
assert 'not a FunASR AutoModel backend' not in english['primary_limitation']
assert 'SGLang Omni' in english['operations'][-1]
assert 'FunASR model' in english['primary_limitation']
assert any('LocalAI' in item and 'GGUF' in item for item in english['fit'])
assert not any(
item == 'CPU, desktop-edge, or native Windows deployments'
for item in english['not_fit']
)
assert any('third-party C++' in item for item in english['operations'])
assert any(
benchmark['hardware'] == 'NVIDIA H100 80GB HBM3'
and '15.1685 s' in benchmark['audio']
and '43dccc068506439cb633b382b6b98185baa837363d08cc5f7152ca89b0fdc3c8' in benchmark['audio']
and 'S01 and S02' in benchmark['result']
and 'contract smoke' in benchmark['qualification']
for benchmark in entry['benchmarks']
)
assert any(
benchmark['runtime'] == 'SGLang Omni merge 8458f76a'
and benchmark['hardware'] == 'NVIDIA H100 80GB'
and '1088 / 1088' in benchmark['result']
and 'diarization/timestamp correctness is not evaluated' in benchmark['qualification']
and benchmark['source'] == 'https://github.com/sgl-project/sglang-omni/pull/914'
for benchmark in entry['benchmarks']
)
def test_audio_cpp_contract_tracks_mainline_nano_and_sensevoice(valid_registry):
entry = next(item for item in valid_registry['deployments'] if item['id'] == 'audio-cpp')
llama_cpp = next(item for item in valid_registry['deployments'] if item['id'] == 'llama-cpp')
assert valid_registry['verified'] == '2026-09-01'
assert entry['maturity'] == 'community-verified'
assert entry['selector_rank'] > llama_cpp['selector_rank']
assert entry['tested'] == {
'funasr': 'Fun-ASR-Nano-2512 + SenseVoice-Small',
'runtime': 'audio.cpp main@979e070f',
'verified': '2026-08-13',
}
assert entry['models'] == ['Fun-ASR-Nano-2512', 'SenseVoice-Small']
assert 'Buffered streaming CLI/SSE' in entry['interfaces']
assert any(
'git checkout 979e070fc130bd499ad3fabeefc42b3884fff23a' in command
for command in entry['commands']['install']
)
assert any(
'model_manager_v2.py install fun_asr_nano' in command
for command in entry['commands']['install']
)
assert any(
'model_manager_v2.py install sensevoice_small_q8' in command
for command in entry['commands']['install']
)
build_command = next(command for command in entry['commands']['install'] if '--model-set custom' in command)
assert build_command.startswith('bash scripts/build_linux.sh ')
assert '--models fun_asr_nano,sense_asr' in build_command
assert any('--family sense_asr' in command for command in entry['commands']['launch'])
assert any(
'--mode streaming' in command and 'audio_chunk_duration_sec=5' in command
for command in entry['commands']['launch']
)
assert any('/v1/audio/transcriptions' in command for command in entry['commands']['smoke'])
assert any('/health' in command for command in entry['commands']['health'])
assert any('1778b23a5f6a4951c788e4bb0e7baa04f20012a2' in item['url'] for item in entry['evidence'])
assert any('ce72677f84900f0dc57f498ace253bfb3c9155b6' in item['url'] for item in entry['evidence'])
assert any('/pull/219' in item['url'] for item in entry['evidence'])
assert any('/pull/221' in item['url'] for item in entry['evidence'])
assert any(
'/commit/979e070fc130bd499ad3fabeefc42b3884fff23a' in item['url']
for item in entry['evidence']
)
assert any(
'5c3fcfe748a8714216bc135476d5863084fddb72' in item['url']
for item in entry['evidence']
)
assert any(
'4dedf169f625437fb336f2959674f399819729a765e184128c0e25a6e16ff0ec'
in item['label']
for item in entry['evidence']
)
assert any(
'4dedf169f625437fb336f2959674f399819729a765e184128c0e25a6e16ff0ec'
in benchmark['result']
for benchmark in entry['benchmarks']
)
limitation = entry['translations']['en']['primary_limitation'].lower()
assert 'main' in limitation
assert 'tagged release' in limitation
assert 'candidate' not in limitation
assert 'timestamp' in limitation
def test_sensevoice_tensorrt_contract_tracks_merged_native_runtime(valid_registry):
entry = next(
item for item in valid_registry['deployments']
if item['id'] == 'sensevoice-tensorrt'
)
vllm = next(item for item in valid_registry['deployments'] if item['id'] == 'vllm')
llama_cpp = next(item for item in valid_registry['deployments'] if item['id'] == 'llama-cpp')
assert entry['maturity'] == 'production-verified'
assert vllm['selector_rank'] < entry['selector_rank'] < llama_cpp['selector_rank']
assert entry['tested'] == {
'funasr': 'main@6408aaa9',
'runtime': 'TensorRT 10.0.1 / Triton 24.05',
'verified': '2026-08-04',
}
assert entry['models'] == ['SenseVoiceSmall']
assert entry['hardware'] == ['nvidia-gpu', 'kubernetes']
assert 'Triton gRPC/HTTP' in entry['interfaces']
assert any('git checkout 6408aaa9' in command for command in entry['commands']['install'])
assert any('quantize=False' in command for command in entry['commands']['install'])
assert any(
'chn_jpn_yue_eng_ko_spectok.bpe.model' in command
and 'aa87f86064c3730d799ddf7af3c04659151102cba548bce325cf06ba4da4e6a8' in command
for command in entry['commands']['install']
)
assert any(
'build_sensevoice_tensorrt.py' in command
and '--max-batch 16' in command
and '--max-frames 4096' in command
for command in entry['commands']['launch']
)
assert any(
command.startswith('cd runtime/triton_gpu && tritonserver')
for command in entry['commands']['launch']
)
assert any('/v2/health/ready' in command for command in entry['commands']['health'])
assert any('TRANSCRIPTS' in command for command in entry['commands']['smoke'])
assert any('/pull/3463' in item['url'] for item in entry['evidence'])
assert any(
'build_sensevoice_tensorrt.py' in item['url'] for item in entry['evidence']
)
assert any(
'527,504,916 bytes' in benchmark['result']
and '100% CTC top-1 agreement' in benchmark['result']
for benchmark in entry['benchmarks']
)
limitation = entry['translations']['en']['primary_limitation'].lower()
assert 'gpu architecture' in limitation
assert 'tensorrt version' in limitation
def test_llama_cpp_contract_tracks_v026_release_assets(valid_registry):
entry = next(item for item in valid_registry['deployments'] if item['id'] == 'llama-cpp')
assert entry['tested'] == {
'funasr': 'runtime-llamacpp-v0.2.6',
'runtime': 'llama.cpp@c8d43b10',
'verified': '2026-08-30',
}
assert len(entry['downloads']) == 10
assert {item['archive']: item['sha256'] for item in entry['downloads']} == {
'funasr-llamacpp-linux-arm64.tar.gz': '7bca29cfa3c9a08e235a62212ca9e00f6656e59a8f07078966a2bfda1e5aa1f9',
'funasr-llamacpp-linux-x64.tar.gz': '779967de1c528c2be966bcc47f246e7d3e6fcdb748d9491263062f4120f35e52',
'funasr-llamacpp-linux-x64-avx2.tar.gz': 'aaebc5470f846ce915200b35d6e9f9bd0a0d3ed399d39e49bdeb7a1f1782bc70',
'funasr-llamacpp-linux-x64-vulkan.tar.gz': 'f02d41e98e9d4041f0896661007193810f025484d2175958f7c1313d5c90ec46',
'funasr-llamacpp-macos-arm64.tar.gz': 'bda59474202b887190f59d25b7b42c714469efae71276072c12fa0a38de68792',
'funasr-llamacpp-windows-x64.zip': 'f6a73a548413ba9fbaf2145263ea66ec53cbdad1fb11790dbeeee493e339492e',
'funasr-llamacpp-windows-x64-avx2.zip': '062cda8fefadd31c3e811227116daccf448a8520f4b0bb168d225c896e65ebbd',
'funasr-llamacpp-windows-x64-vulkan.zip': 'debf8007e55011cad06081e7b8a78972f1b8fe672bc324d41e650d68821f6a6a',
'funasr-llamacpp-windows-x64-cuda.zip': '148657911fb666b7af6ec43af2e23a0984e3259012b4c39f95631b717feb6840',
'funasr-llamacpp-windows-x64-cuda-blackwell.zip': 'e32961a753f40888182f352fa551159c5165a6a77718ae4ade316aedfea4b1c2',
}
assert all(item['url'].startswith(
'https://github.com/modelscope/FunASR/releases/download/runtime-llamacpp-v0.2.6/'
) for item in entry['downloads'])
assert any('actions/runs/33290555297' in item['url'] for item in entry['evidence'])
assert any('pull/3570' in item['url'] for item in entry['evidence'])
assert any(
'download-funasr-model.sh sensevoice ./funasr-gguf f16' in command
for command in entry['commands']['install']
)
assert 'sensevoice-small-f16.gguf' in entry['commands']['launch'][0]
assert 'Blackwell' in entry['translations']['en']['primary_limitation']
assert 'cuBLAS' in entry['translations']['en']['primary_limitation']
assert 'AMD' in entry['translations']['en']['primary_limitation']
assert 'RX 9070 XT' in entry['translations']['en']['primary_limitation']
assert 'Android/Mali' in entry['translations']['en']['primary_limitation']
troubleshooting = ' '.join(entry['translations']['en']['troubleshooting'])
assert 'initializing' in troubleshooting
assert 'resolving buffer type' in troubleshooting
assert 'backend ready' in troubleshooting
assert 'model ready' in troubleshooting
assert 'graph allocated' in troubleshooting
assert 'compute starting' in troubleshooting
assert any(
'F16' in benchmark['model'] and '100/100' in benchmark['result']
for benchmark in entry['benchmarks']
)
def test_sensevoice_native_server_contract_tracks_merged_runtime(valid_registry):
entry = next(
item for item in valid_registry['deployments']
if item['id'] == 'sensevoice-native-server'
)
llama_cpp = next(item for item in valid_registry['deployments'] if item['id'] == 'llama-cpp')
audio_cpp = next(item for item in valid_registry['deployments'] if item['id'] == 'audio-cpp')
assert valid_registry['verified'] == '2026-09-01'
assert entry['maturity'] == 'production-verified'
assert llama_cpp['selector_rank'] < entry['selector_rank'] < audio_cpp['selector_rank']
assert entry['tested'] == {
'funasr': 'SenseVoice main@b054623c',
'runtime': 'sensevoice-server@558bd67c',
'verified': '2026-08-13',
}
assert entry['models'] == ['SenseVoiceSmall-GGUF', 'FSMN-VAD-GGUF']
assert entry['operating_systems'] == ['Linux']
assert {
'OpenAI-compatible HTTP',
'OpenAI realtime WebSocket',
'SSE',
'SRT/VTT',
} <= set(entry['interfaces'])
assert any(
'git checkout b054623cca8f015b73ec471dce4f473ac47413da' in command
for command in entry['commands']['install']
)
assert any(
'download-funasr-model.sh sensevoice' in command
for command in entry['commands']['install']
)
launch = '\n'.join(entry['commands']['launch'])
for marker in ('sensevoice-server', '--max-connections', '--max-audio-seconds'):
assert marker in launch
smoke = '\n'.join(entry['commands']['smoke'])
for marker in ('/v1/audio/transcriptions', 'response_format=vtt', 'stream_client.py'):
assert marker in smoke
assert any('/health' in command for command in entry['commands']['health'])
assert any('/v1/models' in command for command in entry['commands']['health'])
evidence_urls = {item['url'] for item in entry['evidence']}
assert 'https://github.com/QwenAudio/SenseVoice/pull/341' in evidence_urls
assert 'https://github.com/QwenAudio/SenseVoice/actions/runs/31633730096' in evidence_urls
limitation = entry['translations']['en']['primary_limitation'].lower()
assert 'linux' in limitation
assert 'authentication' in limitation
def test_download_assets_require_https_and_sha256(valid_registry):
data = copy.deepcopy(valid_registry)
entry = next(item for item in data['deployments'] if item['id'] == 'llama-cpp')
entry['downloads'][0]['url'] = 'http://example.com/runtime.tar.gz'
entry['downloads'][1]['sha256'] = 'not-a-sha256'
errors = validate_registry(data)
assert 'llama-cpp: download URL must use https (item 0)' in errors
assert 'llama-cpp: download SHA-256 must be 64 lowercase hex characters (item 1)' in errors
def test_production_entry_requires_evidence(valid_registry):
data = copy.deepcopy(valid_registry)
entry = next(item for item in data['deployments'] if item['maturity'] == 'production-verified')
del entry['evidence']
assert validate_registry(data) == [
f"{entry['id']}: production-verified entry requires evidence"
]
def test_production_entry_requires_verification_contract(valid_registry):
data = copy.deepcopy(valid_registry)
entry = next(item for item in data['deployments'] if item['maturity'] == 'production-verified')
del entry['tested']['verified']
assert validate_registry(data) == [
f"{entry['id']}: production-verified entry requires tested.verified"
]
def test_duplicate_route_is_rejected(valid_registry):
data = copy.deepcopy(valid_registry)
data['deployments'][1]['routes']['zh'] = data['deployments'][0]['routes']['zh']
errors = validate_registry(data)
assert any('duplicate route' in error for error in errors)
def test_evidence_must_be_https(valid_registry):
data = copy.deepcopy(valid_registry)
data['deployments'][0]['evidence'][0]['url'] = 'http://example.com/evidence'
assert any('evidence URL must use https' in error for error in validate_registry(data))
def test_runtime_paths_require_unique_ids_translations_and_commands(valid_registry):
data = copy.deepcopy(valid_registry)
entry = next(
item for item in data['deployments']
if item['id'] == 'moss-transcribe-diarize'
)
entry['runtime_paths'][2]['id'] = 'vllm'
del entry['runtime_paths'][1]['translations']['en']['summary']
del entry['runtime_paths'][2]['commands']['health']
errors = validate_registry(data)
assert 'moss-transcribe-diarize: duplicate runtime path id vllm' in errors
assert (
'moss-transcribe-diarize: runtime path vllm translations.en.summary is required'
in errors
)
assert 'moss-transcribe-diarize: runtime path vllm commands.health is required' in errors
def test_benchmark_requires_reproducibility_fields(valid_registry):
data = copy.deepcopy(valid_registry)
entry = data['deployments'][0]
entry['benchmarks'] = [{
'model': 'Fun-ASR-Nano-2512',
'runtime': 'vLLM',
'hardware': 'NVIDIA GPU',
}]
errors = validate_registry(data)
assert any('benchmark 0 requires workload' in error for error in errors)