{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreigkiwda3abxtjti34s6q46v6f7c4bj7qffakccnohkn3lzzupe4uq",
"uri": "at://did:plc:pgryn3ephfd2xgft23qokfzt/app.bsky.feed.post/3mkni3s6ikcy2"
},
"path": "/t/module-torchaudio-has-no-attribute-audiometadata/175647#post_3",
"publishedAt": "2026-04-29T14:15:01.000Z",
"site": "https://discuss.huggingface.co",
"textContent": "I’ve implemented up to step 4, but then I got a couple new errors:\nFirst one was straight foward as it was the error:\n\n\n × No solution found when resolving script dependencies:\n ╰─▶ Because only brouhaha==0.9.0 is available and brouhaha==0.9.0 depends on pyannote-audio==3.3.0,\n we can conclude that all versions of brouhaha depend on pyannote-audio==3.3.0.\n And because you require pyannote-audio==3.4.0 and brouhaha, we can conclude that your\n requirements are unsatisfiable.\n\n\nBut once I fixed that(pyannote-audio==3.4.0->pyannote-audio==3.3.0 in dependencies), I got an error\n\n\n /home/rodrigo/.cache/uv/environments-v2/diaritranscribe3-3f9949c47f20e532/lib/python3.12/site-packages/pyannote/audio/core/io.py:212: UserWarning: torchaudio._backend.list_audio_backends has been deprecated. This deprecation is part of a large refactoring effort to transition TorchAudio into a maintenance phase. The decoding and encoding capabilities of PyTorch for both audio and video are being consolidated into TorchCodec. Please see https://github.com/pytorch/audio/issues/3902 for more information. It will be removed from the 2.9 release.\n torchaudio.list_audio_backends()\n Loading diarization pipeline pyannote/speaker-diarization-community-1...\n Traceback (most recent call last):\n File \"/home/user/diarization/repos/scripts/diaritranscribe3.py\", line 621, in <module>\n main()\n File \"/home/user/diarization/repos/scripts/diaritranscribe3.py\", line 589, in main\n diarization = diarize_audio(\n ^^^^^^^^^^^^^^\n File \"/home/user/diarization/repos/scripts/diaritranscribe3.py\", line 208, in diarize_audio\n pipeline = Pipeline.from_pretrained(MODEL_ID, token=tokens[\"diarization\"])\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n TypeError: Pipeline.from_pretrained() got an unexpected keyword argument 'token'\n\n\nThat seems to stick around even when I revert the changes I’ve made to diaritranscribe3.py",
"title": "Module 'torchaudio' has no attribute 'AudioMetaData'"
}