Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Gallery model audio-cpp-sortformer-diarization fails to install: SHA mismatch, reproducible across retries

オープン 初心者向け
#11,995 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
76/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
領域
ai

調査の方向性

audio-cpp-sortformer-diarization のギャラリーエントリを見つけ、記録されている SHA と、issue に示されている一貫してダウンロードされたファイルのハッシュを比較します。POST /models/apply リクエストを再現してチェックサムのパスを検証します。インストールが完了し、/v1/audio/diarization でモデルを使用できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

LocalAI version

v4.9.0 (localai/localai:latest-gpu-nvidia-cuda-12, revision f7ad3f70eb5d8a0ddf80e08557f0d7df28cf032e)

Describe the bug

Installing the gallery model audio-cpp-sortformer-diarization always fails with
a SHA mismatch. The downloaded file is consistent across attempts, so the
checksum recorded in the gallery metadata appears to be wrong rather than the
download being corrupted.

error: SHA mismatch for file "/models/audio-cpp/sortformer-diar-4spk-v1-q8_0.gguf"
( calculated: 4fa6a3e30c4a1c6cc1da455268806edc93432ca1e1b5b6923e942be8e6e479ff
 != metadata:  84744b047296daf2177aed9dd2735497152ff83f49ec170d2a6a18cbcb93ef19 )

I retried after deleting the partial and completed file, and the calculated hash
was byte-for-byte identical the second time. That points at the metadata rather
than a transfer problem.

Because the install fails at the verification step, the model is never usable and
/v1/audio/diarization has nothing to run.

To Reproduce
  1. Install the cuda12-audio-cpp backend (this succeeds).
  2. POST /models/apply with {"id": "localai@audio-cpp-sortformer-diarization"}
  3. Poll the job. It ends with the SHA mismatch above.
  4. Delete /models/audio-cpp/sortformer-diar-4spk-v1-q8_0.gguf and repeat: the
    calculated hash is the same again.
Expected behavior

Either the gallery metadata should carry the hash of the file actually served, or
the upstream artifact should be restored to the version the metadata describes.

Additional context

Every other model I installed the same way worked, including
granite-embedding-107m-multilingual, whisper-large-turbo-q5_0,
insightface-antelopev2, kokoro, voice-detect-campplus,
voice-detect-ecapa-tdnn, voice-detect-emotion-wav2vec2 and
voice-detect-age-gender-wav2vec2. So this looks specific to the sortformer
gallery entry rather than a general problem with checksum verification.

主要言語
Go
スター
49.2k
フォーク
4.5k
平均マージ
19時間 42分
マージ済み PR(30日)
299

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mudler/LocalAI のほかの issue

mudler/LocalAI の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。