config.pbtxt 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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: "token2wav_dit"
  15. backend: "python"
  16. max_batch_size: ${triton_max_batch_size}
  17. dynamic_batching {
  18. max_queue_delay_microseconds: ${max_queue_delay_microseconds}
  19. priority_levels: 10
  20. default_priority_level: 10
  21. }
  22. parameters [
  23. {
  24. key: "model_dir",
  25. value: {string_value:"${model_dir}"}
  26. }
  27. ]
  28. input [
  29. {
  30. name: "target_speech_tokens"
  31. data_type: TYPE_INT32
  32. dims: [-1]
  33. },
  34. {
  35. name: "reference_wav"
  36. data_type: TYPE_FP32
  37. dims: [-1]
  38. },
  39. {
  40. name: "reference_wav_len"
  41. data_type: TYPE_INT32
  42. dims: [1]
  43. },
  44. {
  45. name: "finalize"
  46. data_type: TYPE_BOOL
  47. dims: [ 1 ]
  48. reshape: { shape: [ ] }
  49. optional: true
  50. }
  51. ]
  52. output [
  53. {
  54. name: "waveform"
  55. data_type: TYPE_FP32
  56. dims: [ -1 ]
  57. }
  58. ]
  59. instance_group [
  60. {
  61. count: 1
  62. kind: KIND_CPU
  63. }
  64. ]