config.pbtxt 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. name: "audio_tokenizer"
  15. backend: "python"
  16. max_batch_size: ${triton_max_batch_size}
  17. dynamic_batching {
  18. max_queue_delay_microseconds: ${max_queue_delay_microseconds}
  19. }
  20. parameters [
  21. {
  22. key: "model_dir",
  23. value: {string_value:"${model_dir}"}
  24. }
  25. ]
  26. input [
  27. {
  28. name: "reference_wav"
  29. data_type: TYPE_FP32
  30. dims: [-1]
  31. },
  32. {
  33. name: "reference_wav_len"
  34. data_type: TYPE_INT32
  35. dims: [1]
  36. }
  37. ]
  38. output [
  39. {
  40. name: "prompt_speech_tokens"
  41. data_type: TYPE_INT32
  42. dims: [-1]
  43. }
  44. ]
  45. instance_group [
  46. {
  47. count: 1
  48. kind: KIND_CPU
  49. }
  50. ]