Upload stepfun-ai_Step-Audio-EditX_0.txt with huggingface_hub
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475```CODE: # Use a pipeline as a high-level helperfrom transformers import pipeline
pipe = pipeline("text-to-speech", model="stepfun-ai/Step-Audio-EditX", trust_remote_code=True)```
ERROR: Traceback (most recent call last): File "/tmp/stepfun-ai_Step-Audio-EditX_0SyWequ.py", line 24, in <module> pipe = pipeline("text-to-speech", model="stepfun-ai/Step-Audio-EditX", trust_remote_code=True) File "/tmp/.cache/uv/environments-v2/1487291927adee22/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 1027, in pipeline framework, model = infer_framework_load_model( ~~~~~~~~~~~~~~~~~~~~~~~~~~^ adapter_path if adapter_path is not None else model, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<5 lines>... **model_kwargs, ^^^^^^^^^^^^^^^ ) ^ File "/tmp/.cache/uv/environments-v2/1487291927adee22/lib/python3.13/site-packages/transformers/pipelines/base.py", line 333, in infer_framework_load_model raise ValueError( f"Could not load model {model} with any of the following classes: {class_tuple}. See the original errors:\n\n{error}\n" )ValueError: Could not load model stepfun-ai/Step-Audio-EditX with any of the following classes: (<class 'transformers.models.auto.modeling_auto.AutoModelForTextToWaveform'>, <class 'transformers.models.auto.modeling_auto.AutoModelForTextToSpectrogram'>). See the original errors:
while loading with AutoModelForTextToWaveform, an error is thrown:Traceback (most recent call last): File "/tmp/.cache/uv/environments-v2/1487291927adee22/lib/python3.13/site-packages/transformers/pipelines/base.py", line 293, in infer_framework_load_model model = model_class.from_pretrained(model, **kwargs) File "/tmp/.cache/uv/environments-v2/1487291927adee22/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 607, in from_pretrained raise ValueError( ...<2 lines>... )ValueError: Unrecognized configuration class <class 'transformers_modules.stepfun_hyphen_ai.Step_hyphen_Audio_hyphen_EditX.90a39993d74d1d25099a4e23ec26abce3772b74d.configuration_step1.Step1Config'> for this kind of AutoModel: AutoModelForTextToWaveform.Model type should be one of BarkConfig, CsmConfig, FastSpeech2ConformerConfig, FastSpeech2ConformerWithHifiGanConfig, MusicgenConfig, MusicgenMelodyConfig, Qwen2_5OmniConfig, Qwen3OmniMoeConfig, SeamlessM4TConfig, SeamlessM4Tv2Config, VitsConfig.
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/tmp/.cache/uv/environments-v2/1487291927adee22/lib/python3.13/site-packages/transformers/pipelines/base.py", line 311, in infer_framework_load_model model = model_class.from_pretrained(model, **fp32_kwargs) File "/tmp/.cache/uv/environments-v2/1487291927adee22/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 607, in from_pretrained raise ValueError( ...<2 lines>... )ValueError: Unrecognized configuration class <class 'transformers_modules.stepfun_hyphen_ai.Step_hyphen_Audio_hyphen_EditX.90a39993d74d1d25099a4e23ec26abce3772b74d.configuration_step1.Step1Config'> for this kind of AutoModel: AutoModelForTextToWaveform.Model type should be one of BarkConfig, CsmConfig, FastSpeech2ConformerConfig, FastSpeech2ConformerWithHifiGanConfig, MusicgenConfig, MusicgenMelodyConfig, Qwen2_5OmniConfig, Qwen3OmniMoeConfig, SeamlessM4TConfig, SeamlessM4Tv2Config, VitsConfig.
while loading with AutoModelForTextToSpectrogram, an error is thrown:Traceback (most recent call last): File "/tmp/.cache/uv/environments-v2/1487291927adee22/lib/python3.13/site-packages/transformers/pipelines/base.py", line 293, in infer_framework_load_model model = model_class.from_pretrained(model, **kwargs) File "/tmp/.cache/uv/environments-v2/1487291927adee22/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 607, in from_pretrained raise ValueError( ...<2 lines>... )ValueError: Unrecognized configuration class <class 'transformers_modules.stepfun_hyphen_ai.Step_hyphen_Audio_hyphen_EditX.90a39993d74d1d25099a4e23ec26abce3772b74d.configuration_step1.Step1Config'> for this kind of AutoModel: AutoModelForTextToSpectrogram.Model type should be one of FastSpeech2ConformerConfig, SpeechT5Config.
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/tmp/.cache/uv/environments-v2/1487291927adee22/lib/python3.13/site-packages/transformers/pipelines/base.py", line 311, in infer_framework_load_model model = model_class.from_pretrained(model, **fp32_kwargs) File "/tmp/.cache/uv/environments-v2/1487291927adee22/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 607, in from_pretrained raise ValueError( ...<2 lines>... )ValueError: Unrecognized configuration class <class 'transformers_modules.stepfun_hyphen_ai.Step_hyphen_Audio_hyphen_EditX.90a39993d74d1d25099a4e23ec26abce3772b74d.configuration_step1.Step1Config'> for this kind of AutoModel: AutoModelForTextToSpectrogram.Model type should be one of FastSpeech2ConformerConfig, SpeechT5Config.
stepfun-ai_Step-Audio-EditX_0.txtAdded+75