Skip to content

docker : add ZenDNN Dockerfile - #23716

Merged
CISC merged 1 commit into
ggml-org:masterfrom
z-sachin:feat/add-zendnn-dockerfile
May 28, 2026
Merged

CISC merged 1 commit into
ggml-org:masterfrom
z-sachin:feat/add-zendnn-dockerfile

Conversation

@z-sachin

Copy link
Copy Markdown
Contributor

Overview

This PR adds Docker containerization support for the ZenDNN backend by introducing a dedicated Dockerfile for building and running ZenDNN-enabled workloads.

The containerized setup simplifies dependency management, improves reproducibility for benchmarking and development workflows, and provides a consistent runtime environment across AMD-based systems.

Additional information

The Docker setup is primarily intended for reproducible benchmarking, dependency isolation, and easier onboarding for ZenDNN backend development and validation.

Requirements

@z-sachin
z-sachin requested a review from ngxson as a code owner May 26, 2026 12:53
@github-actions github-actions Bot added the devops improvements to build systems and github actions label May 26, 2026
@taronaeo
taronaeo requested a review from CISC May 28, 2026 08:35

@CISC CISC left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth adding to Publish Docker image CI?

@z-sachin

Copy link
Copy Markdown
Contributor Author

Worth adding to Publish Docker image CI?

We can’t publish the image right now because we are not sure whether the default GitHub runner is an AMD machine or not. If it’s not AMD, then the ZenDNN library will not build since it only supports Zen1 to Zen5 CPUs.
The main purpose of creating the Dockerfile was so that anyone can build the image locally. But for publishing the image to a remote repository, we need a proper AMD machine for the build

@z-sachin

Copy link
Copy Markdown
Contributor Author

cc: @z-vishal

@CISC
CISC merged commit e8d2567 into ggml-org:master May 28, 2026
3 checks passed
@z-vishal

Copy link
Copy Markdown
Contributor

Thanks @z-sachin for this Dockerfile, And yes you are right, for building the ZenDNN backend image need self-hosted AMD machine, Requesting a machine for this cc: @amukho @avinashcpandey

@taronaeo

taronaeo commented May 28, 2026 •

Copy link
Copy Markdown
Member

My self-hosted runner within ggml-org is actually an AMD Ryzen 7 2700X (Zen 2 iirc). Would you want to leverage that instead?

Edit: I can't guarantee uptime though, its running as part of a homelab.

@z-vishal

Copy link
Copy Markdown
Contributor

I checked with the ZenDNN team, and they can share a Zen4 or Zen5 machine since Zen2 may not be enough for this. But appreciate the support here :)

turbo-tan pushed a commit to turbo-tan/llama.cpp-tq3 that referenced this pull request Jun 2, 2026
@z-sachin
z-sachin deleted the feat/add-zendnn-dockerfile branch July 15, 2026 12:01
zommiommy pushed a commit to zommiommy/llama.cpp that referenced this pull request Aug 18, 2026
zbrad pushed a commit to zbrad/llama.cpp that referenced this pull request Sep 10, 2026
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.

4 participants