Build failure: unable to download model_quantized.onnx from Hugging Face
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- csharp, huggingface
調査の方向性
samples/ExampleBlazorApp で dotnet build を実行して失敗を再現し、SmartComponents.LocalEmbeddings.targets の 39 行目を調査して、Hugging Face モデルの URL を確認します。model_quantized.onnx が利用可能かどうかを確認し、target またはパッケージのドキュメントを更新する必要があるかどうかを判断します。報告された Windows 環境でサンプルが正常にビルドできれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Build failure: unable to download model_quantized.onnx from Hugging Face
Repository: dotnet-smartcomponents/smartcomponents
Environment
- OS: Windows
- Project: samples/ExampleBlazorApp
- Package: SmartComponents.LocalEmbeddings 0.1.0-preview10145
Observed behavior
When running dotnet build the build fails while attempting to download a model from Hugging Face. The error indicates the SSL connection could not be established and the transport connection was closed by the remote host.
Error (excerpt)
Restore complete (0.5s)
ExampleBlazorApp net8.0 failed with 1 error(s) (0.2s)
C:\Users\MPhil\.nuget\packages\smartcomponents.localembeddings\0.1.0-preview10145\build\SmartComponents.LocalEmbeddings.targets(39,9): error MSB3923: Failed to download file "https://huggingface.co/SmartComponents/bge-micro-v2/resolve/72908b7/onnx/model_quantized.onnx". The SSL connection could not be established, see inner exception. ---> Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.. ---> An existing connection was forcibly closed by the remote host.
Build failed with 1 error(s) in 0.9s
Steps to reproduce
- Clone the repository.
- Open
samples/ExampleBlazorApp. - Run
dotnet build. - Observe the error shown above during restore/build.
Hypothesis
The file onnx/model_quantized.onnx at the URL above may have been moved, removed, or the Hugging Face path changed. As a result the build-target that attempts to download the file fails with an SSL/connection error.
Suggested next steps / possible fixes
- Verify whether the model exists at the Hugging Face URL and update the URL in the NuGet package/targets if it changed.
- Consider bundling a tested model asset with the package or providing a more reliable host or retry/backoff logic in
SmartComponents.LocalEmbeddings.targets. - If the model was intentionally removed, update package documentation and targets to reflect the new location or provide guidance for users to obtain the model manually.
Additional context
- Reported by user when building locally on Windows (exact output included above).
- 主要言語
- C#
- スター
- 510
- フォーク
- 61
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dotnet/smartcomponents のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
dotnet/smartcomponents#50 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
dotnet/smartcomponents#49 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 42/100
dotnet/smartcomponents#48 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
dotnet/smartcomponents#47 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
dotnet/smartcomponents#46 ·
dotnet/smartcomponents の issue をすべて見る
似ている issue
-
[Doc Gap] Document new --enable-public-network-access breaking change for azurebackup vault createオープンcopilot documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
area-dashboard
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
0 - Backlog Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
BrighterCommand/Brighter#4539 ·
メンテナーはふだん 1 日以内に返信
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
area-networking
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
dotnet/aspnetcore#69671 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信