Skip to content

devops: force Python 3.13 in Vulkan container#20530

Merged
CISC merged 2 commits intoggml-org:masterfrom
geraname:patch-2
Mar 14, 2026
Merged

devops: force Python 3.13 in Vulkan container#20530
CISC merged 2 commits intoggml-org:masterfrom
geraname:patch-2

Conversation

@geraname
Copy link
Copy Markdown
Contributor

@geraname geraname commented Mar 13, 2026

Forces Python 3.13 in the Vulkan container image build to support PyTorch 2.6.

Fixes #20524.

@geraname geraname requested a review from ngxson as a code owner March 13, 2026 22:30
@github-actions github-actions Bot added the devops improvements to build systems and github actions label Mar 13, 2026
@geraname geraname changed the title ci: force Python 3.13 in Vulkan container devops: force Python 3.13 in Vulkan container Mar 13, 2026
Comment thread .devops/vulkan.Dockerfile Outdated
@CISC CISC merged commit fc350fd into ggml-org:master Mar 14, 2026
2 checks passed
@geraname geraname deleted the patch-2 branch March 14, 2026 21:43
Ethan-a2 pushed a commit to Ethan-a2/llama.cpp that referenced this pull request Mar 20, 2026
* ci: force Python 3.13 in Vulkan container

* remove unnecessary `update-alternatives` line
HyperFoldUK pushed a commit to HyperFoldUK/llama.cpp that referenced this pull request Mar 24, 2026
Ubuntu 26.04 ships with Python 3.14 as the default, but torch~=2.6.0
(required by requirements-convert_hf_to_gguf.txt) has no wheel for
Python 3.14. This causes the 'full' stage pip install to fail with:
  ERROR: No matching distribution found for torch~=2.6.0

Fix: explicitly install python3.13 + python3.13-dev and register it
as the default python3 via update-alternatives, matching the fix
applied upstream in ggml-org/llama.cpp@fc350fdf (ggml-org#20530).
HyperFoldUK pushed a commit to HyperFoldUK/llama.cpp that referenced this pull request Apr 8, 2026
Two Dockerfile fixes:

1. vulkan.Dockerfile: replace apt-based python3.13/python3.13-dev
   install with uv (Astral Python manager). Ubuntu 26.04 ('resolute')
   does not ship python3.13-dev as a separate apt package, causing the
   'full' stage to fail with exit code 100 ('Unable to locate package
   python3.13-dev'). Using uv to install Python 3.13 independently of
   the system package manager resolves this.

   Also switches build-stage SSL dep from libcurl4-openssl-dev to
   libssl-dev, consistent with upstream refactor (ggml-org#18828).

2. s390x.Dockerfile: replace libcurl4-openssl-dev with libssl-dev in
   the build stage, matching upstream refactor (ggml-org#18828).

Fixes: vulkan linux/amd64 'full' stage failing with exit code 100
Refs: ggml-org#20530, ggml-org#18828
HyperFoldUK pushed a commit to HyperFoldUK/llama.cpp that referenced this pull request Apr 8, 2026
Two Dockerfile fixes:

1. vulkan.Dockerfile: replace apt-based python3.13/python3.13-dev
   install with uv (Astral Python manager). Ubuntu 26.04 ('resolute')
   does not ship python3.13-dev as a separate apt package, causing the
   'full' stage to fail with exit code 100 ('Unable to locate package
   python3.13-dev'). Using uv to install Python 3.13 independently of
   the system package manager resolves this.

   Also switches build-stage SSL dep from libcurl4-openssl-dev to
   libssl-dev, consistent with upstream refactor (ggml-org#18828).

2. s390x.Dockerfile: replace libcurl4-openssl-dev with libssl-dev in
   the build stage, matching upstream refactor (ggml-org#18828).

Fixes: vulkan linux/amd64 full stage failing with exit code 100
Refs: ggml-org#20530, ggml-org#18828
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
* ci: force Python 3.13 in Vulkan container

* remove unnecessary `update-alternatives` line
rsenthilkumar6 pushed a commit to rsenthilkumar6/llama.cpp that referenced this pull request May 1, 2026
* ci: force Python 3.13 in Vulkan container

* remove unnecessary `update-alternatives` line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devops improvements to build systems and github actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: Vulkan container image builds failing

4 participants