Fix the issue that csm model cannot work with pipeline mode. (#39349)
* Fix the issue that csm model cannot work with pipeline mode.
Signed-off-by: yuanwu <yuan.wu@intel.com>
* Remove batching inference
Signed-off-by: yuanwu <yuan.wu@intel.com>
* csm output is list of tensor
Signed-off-by: yuanwu <yuan.wu@intel.com>
* Update src/transformers/pipelines/text_to_audio.py
Co-authored-by: eustlb <94853470+eustlb@users.noreply.github.com>
* Use different waveform key for different model
Signed-off-by: yuanwu <yuan.wu@intel.com>
* Fix make style errors
Signed-off-by: yuanwu <yuan.wu@intel.com>
* Add csm tests
Signed-off-by: yuanwu <yuanwu@habana.ai>
* Update src/transformers/models/auto/tokenization_auto.py
---------
Signed-off-by: yuanwu <yuan.wu@intel.com>
Signed-off-by: yuanwu <yuanwu@habana.ai>
Co-authored-by: eustlb <94853470+eustlb@users.noreply.github.com>