uv add llama-cpp-python wheels fails for versions above 0.3.30
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 65/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 静か
- 技術スタック
- macos, python
- 領域
- build-system, release
調査の方向性
この issue は macOS arm64 向けの破損した wheel ファイルに関するものです。まず、https://abetlen.github.io/llama-cpp-python/whl/metal の wheel インデックスを確認します。問題のある wheel (llama_cpp_python-0.3.34-py3-none-macosx_11_0_arm64.whl) をダウンロードし、unzip -t を実行して不正なエントリを検証します。正常に動作する 0.3.30 wheel と比較します。修正には、macOS metal wheels をビルドする release pipeline が関係している可能性が高いです。
索引モデルが issue の本文から書いたものです。
説明
- OS: macOS (Darwin 25.5.0)
- Wheel index: https://abetlen.github.io/llama-cpp-python/whl/metal
- Failing wheel:
llama_cpp_python-0.3.34-py3-none-macosx_11_0_arm64.whl - Bundled file that fails to extract:
lib/libggml-base.0.16.0.dylib
$ python3 --version
Python 3.13.8
Failure Information (for bugs)
The wheel is a zip whose stored uncompressed size for lib/libggml-base.0.16.0.dylib disagrees with the actual data (got 000b08a5, expected 000b0798), so strict extractors reject it. The failure happens purely at archive extraction, before anything is imported or run, which points at the release pipeline that built or uploaded the macOS arm64 metal wheels rather than at any local setup. Running unzip -t on the downloaded wheel should surface the same bad entry.
Steps to Reproduce
- On an Apple Silicon Mac, add the metal wheel index:
https://abetlen.github.io/llama-cpp-python/whl/metal - Ask for the metal build of
0.3.34, e.g.pip install "llama-cpp-python==0.3.34" --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/metal - Installation fails while extracting
lib/libggml-base.0.16.0.dylibwith a bad-uncompressed-size error. - Pinning to
0.3.30from the same index installs and runs without issue.
pyproject.toml
[[tool.uv.index]]
name = "llama-metal"
url = "https://abetlen.github.io/llama-cpp-python/whl/metal"
explicit = true
[[tool.uv.index]]
name = "llama-cpu"
url = "https://abetlen.github.io/llama-cpp-python/whl/cpu"
explicit = true
[tool.uv.sources]
llama-cpp-python = [
{ index = "llama-metal", marker = "sys_platform == 'darwin' and platform_machine == 'arm64'" },
{ index = "llama-cpu", marker = "sys_platform != 'darwin' or platform_machine != 'arm64'" },
]
Failure Logs
× Failed to download `llama-cpp-python==0.3.34`
├─▶ Failed to extract archive: llama_cpp_python-0.3.34-py3-none-macosx_11_0_arm64.whl
╰─▶ Bad uncompressed size (got 000b08a5, expected 000b0798) for file: lib/libggml-base.0.16.0.dylib
Suggested check: re-verify the macOS arm64 metal wheels for 0.3.33 and 0.3.34 with unzip -t (or any strict zip reader) and rebuild/reupload them. The CPU wheels and 0.3.30 are unaffected.
- 主要言語
- Python
- スター
- 10.6k
- フォーク
- 1.5k
- 平均マージ
- 6時間 43分
- マージ済み PR(30日)
- 2
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
abetlen/llama-cpp-python のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
abetlen/llama-cpp-python#2371 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
abetlen/llama-cpp-python#2314 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
abetlen/llama-cpp-python#2211 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
abetlen/llama-cpp-python#2210 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
abetlen/llama-cpp-python#2145 ·
abetlen/llama-cpp-python の issue をすべて見る
似ている issue
-
[Bug] @deck.gl/arcgis dist import resolves to unpublished @deck.gl/core source path (9.3.11, 9.4.0)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
workflow: a tick's dispatch counts as 'only this step', and no review self-grants a round unattendedオープンworkflow
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
kristofdegrave/homeassistant-smart-charging#1505 ·
メンテナーはふだん 1 日以内に返信
-
metadata submission
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
canonical/content-cache-operator#163 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[submission]オープンsubmission
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
leanprover/lean-eval-submissions#1852 ·
メンテナーはふだん 1 日以内に返信