Skip to main content

← All model recipe tasks

bark model family

Tasks

Supported architectures and task heads

The Hugging Face values below are copied from checkpoint metadata at the recorded revision. The TRTMC task contract comes from the exact E2E recipe. Architecture identity selects or describes a source graph; it does not imply that TRTMC reproduces every Hugging Face head with the same model_type. For example, an encoder recipe may consume the base model and intentionally return hidden states instead of the checkpoint's pretraining or classification logits.

HF model_typeHF architecture / pipeline classTRTMC task contractExact recipe profiles
barkBarkModel
Source: config.architectures
Metadata: config.json at 70a8a7d34168
text_to_audio
bark-large
bark-large-tp4
bark-small
bark-small-fp32-l0
bark-small-tp4

Declared recipes

Each row comes from a model-owned E2E manifest. It declares a test recipe; it is not a live pass receipt for every hardware target.

RecipeExact Hugging Face checkpointTaskBuild configurationDeclared E2E casesManifest
bark-largesuno/barkfp32; single devicebark-largetests/e2e/models/bark/manifests/bark-large.json
bark-large-tp4suno/barkfamily default; TP4bark-large-tp4tests/e2e/models/bark/manifests/bark-large-tp4.json
bark-smallsuno/bark-smallfp16; single devicebark-small, bark-small-tts-probe01, bark-small-tts-probe02tests/e2e/models/bark/manifests/bark-small.json
bark-small-fp32-l0suno/bark-smallfp32; single devicebark-small-fp32-l0tests/e2e/models/bark/manifests/bark-small-fp32-l0.json
bark-small-tp4suno/bark-smallfamily default; TP4bark-small-tp4tests/e2e/models/bark/manifests/bark-small-tp4.json

Family-owned configuration

These keys are extracted from the family's registered config schema. Pass one key per repeatable --set namespace.field=value argument. Build-time keys belong on trtmc build; session keys belong on the family's inference command.

audio_bark

Schema sources: python/tensorrt_model_connect/families/bark/runtime_config_schema.py
src/runtime/models/bark/config_schema.cpp

--set keyTypeDefaultCLI surfaceAllowed configuration layers
audio_bark.dump_pathstring""runtimePlatform Profile, Session Request
audio_bark.fine_temperaturefloat0.5runtimePlatform Profile, Session Request
audio_bark.greedyboolfalseruntimePlatform Profile, Session Request
audio_bark.seedint64-1runtimePlatform Profile, Session Request
trtmc generate-audio <bundle.bundle> <task-inputs> --set audio_bark.dump_path=<value>

The registry rejects unknown namespaces and fields. A --config file can set the same keys in JSON or YAML form.

Family-specific CLI contracts

Inputs and options below are filtered by the declared E2E task and the methods and configuration fields used by that family's native runtime implementation. The global CLI parser accepts a wider union of flags; flags absent here are not declared for this family.

trtmc generate-audio

Generate audio from a text prompt.

Declared recipes: bark-large, bark-large-tp4, bark-small, bark-small-fp32-l0, bark-small-tp4

trtmc generate-audio <bundle.bundle> --prompt "<text>" --output <output.wav>
Supported input or optionRequirementRuntime behavior
--prompt <TEXT>RequiredText input for audio generation.
--output <PATH>OptionalOutput WAV path.
--max-new-tokens <N>OptionalLimit the number of generated tokens or audio frames.
Code basis

Runtime provider: bark

  • include/trtmc/pipeline.h
  • src/cli/main.cpp
  • src/runtime/models/bark/pipeline.cpp
  • tests/e2e/models/bark/manifests/bark-large-tp4.json
  • tests/e2e/models/bark/manifests/bark-large.json
  • tests/e2e/models/bark/manifests/bark-small-fp32-l0.json
  • tests/e2e/models/bark/manifests/bark-small-tp4.json
  • tests/e2e/models/bark/manifests/bark-small.json

Bundle lifecycle commands

These commands apply to every declared recipe in this family; they do not add task inputs or model capabilities.

trtmc build

Build one exact checkpoint into a TensorRT-Model-Connect bundle.

trtmc build <hf-id> --output <bundle.bundle>

trtmc inspect

Inspect bundle metadata, runtime identity, and packaged sections.

trtmc inspect <bundle.bundle>

See the CLI Reference for all options and limitations.