Skip to content

Commit 445aab1

Browse files
committed
Merge branch 'iqX_k-cpu+metal+cuda' into iqX_k-cpu+metal+cuda+vulkan
2 parents 0178a0d + eddd18c commit 445aab1

528 files changed

Lines changed: 49700 additions & 24919 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.devops/cann.Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ ENTRYPOINT ["/app/tools.sh"]
145145
# ==============================================================================
146146
FROM base AS light
147147

148-
COPY --from=build /app/full/llama /app/full/llama-cli /app/full/llama-completion /app
148+
COPY --from=build /app/full/llama /app/full/llama-cli /app/full/llama-completion /app/
149149

150150
ENTRYPOINT [ "/app/llama-cli" ]
151151

@@ -157,7 +157,7 @@ FROM base AS server
157157
ENV LLAMA_ARG_HOST=0.0.0.0
158158
ENV LLAMA_ARG_PORT=8080
159159

160-
COPY --from=build /app/full/llama /app/full/llama-server /app
160+
COPY --from=build /app/full/llama /app/full/llama-server /app/
161161

162162
HEALTHCHECK --interval=5m CMD [ "curl", "-f", "http://localhost:8080/health" ]
163163

‎.devops/cpu.Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ ENTRYPOINT ["/app/tools.sh"]
104104
### Light, CLI only
105105
FROM base AS light
106106

107-
COPY --from=build /app/full/llama /app/full/llama-cli /app/full/llama-completion /app
107+
COPY --from=build /app/full/llama /app/full/llama-cli /app/full/llama-completion /app/
108108

109109
WORKDIR /app
110110

@@ -116,7 +116,7 @@ FROM base AS server
116116
ENV LLAMA_ARG_HOST=0.0.0.0
117117
ENV LLAMA_ARG_PORT=8080
118118

119-
COPY --from=build /app/full/llama /app/full/llama-server /app
119+
COPY --from=build /app/full/llama /app/full/llama-server /app/
120120

121121
WORKDIR /app
122122

‎.devops/cuda.Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ ENTRYPOINT ["/app/tools.sh"]
113113
### Light, CLI only
114114
FROM base AS light
115115

116-
COPY --from=build /app/full/llama /app/full/llama-cli /app/full/llama-completion /app
116+
COPY --from=build /app/full/llama /app/full/llama-cli /app/full/llama-completion /app/
117117

118118
WORKDIR /app
119119

@@ -125,7 +125,7 @@ FROM base AS server
125125
ENV LLAMA_ARG_HOST=0.0.0.0
126126
ENV LLAMA_ARG_PORT=8080
127127

128-
COPY --from=build /app/full/llama /app/full/llama-server /app
128+
COPY --from=build /app/full/llama /app/full/llama-server /app/
129129

130130
WORKDIR /app
131131

‎.devops/intel.Dockerfile‎

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,12 @@ RUN npm ci
1919
COPY tools/ui/ ./
2020
RUN LLAMA_BUILD_NUMBER="$APP_VERSION" npm run build
2121

22-
FROM docker.io/intel/oneapi-toolkit:$ONEAPI_VERSION AS build
22+
FROM docker.io/intel/deep-learning-essentials:$ONEAPI_VERSION AS build
23+
24+
RUN echo "Download oneDNN installation package" && \
25+
wget https://registrationcenter-download.intel.com/akdlm/IRC_NAS/94c3dbac-0852-45be-a57d-21c204cada3e/intel-onednn-2026.0.2.46_offline.sh -O intel-onednn_offline.sh && \
26+
echo "Install oneDNN components" && \
27+
bash intel-onednn_offline.sh -s -a --silent --eula accept
2328

2429
ARG GGML_SYCL_F16=ON
2530
ARG LEVEL_ZERO_VERSION=1.28.2
@@ -45,7 +50,7 @@ RUN if [ "${GGML_SYCL_F16}" = "ON" ]; then \
4550
fi && \
4651
echo "Building with dynamic libs" && \
4752
cmake -B build -DGGML_NATIVE=OFF -DGGML_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DGGML_BACKEND_DL=ON -DGGML_CPU_ALL_VARIANTS=ON -DLLAMA_BUILD_TESTS=OFF ${OPT_SYCL_F16} && \
48-
cmake --build build --config Release -j$(nproc)
53+
cmake --build build --config Release -j$((($(nproc)+1)/2))
4954

5055
RUN mkdir -p /app/lib && \
5156
find build -name "*.so*" -exec cp -P {} /app/lib \;
@@ -102,7 +107,7 @@ RUN mkdir /tmp/neo/ && cd /tmp/neo/ \
102107
&& dpkg --install *.deb
103108

104109
RUN apt-get update \
105-
&& apt-get install -y libgomp1 curl ffmpeg \
110+
&& apt-get install -y libgomp1 curl ffmpeg openssl libssl-dev \
106111
&& apt autoremove -y \
107112
&& apt clean -y \
108113
&& rm -rf /tmp/* /var/tmp/* \
@@ -141,7 +146,7 @@ ENTRYPOINT ["/app/tools.sh"]
141146
FROM base AS light
142147

143148
COPY --from=build /app/lib/ /app
144-
COPY --from=build /app/full/llama /app/full/llama-cli /app/full/llama-completion /app
149+
COPY --from=build /app/full/llama /app/full/llama-cli /app/full/llama-completion /app/
145150

146151
WORKDIR /app
147152

@@ -154,7 +159,7 @@ ENV LLAMA_ARG_HOST=0.0.0.0
154159
ENV LLAMA_ARG_PORT=8080
155160

156161
COPY --from=build /app/lib/ /app
157-
COPY --from=build /app/full/llama /app/full/llama-server /app
162+
COPY --from=build /app/full/llama /app/full/llama-server /app/
158163

159164
WORKDIR /app
160165

‎.devops/musa.Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ ENTRYPOINT ["/app/tools.sh"]
120120
### Light, CLI only
121121
FROM base AS light
122122

123-
COPY --from=build /app/full/llama /app/full/llama-cli /app/full/llama-completion /app
123+
COPY --from=build /app/full/llama /app/full/llama-cli /app/full/llama-completion /app/
124124

125125
WORKDIR /app
126126

@@ -132,7 +132,7 @@ FROM base AS server
132132
ENV LLAMA_ARG_HOST=0.0.0.0
133133
ENV LLAMA_ARG_PORT=8080
134134

135-
COPY --from=build /app/full/llama /app/full/llama-server /app
135+
COPY --from=build /app/full/llama /app/full/llama-server /app/
136136

137137
WORKDIR /app
138138

‎.devops/rocm.Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ ENTRYPOINT ["/app/tools.sh"]
126126
### Light, CLI only
127127
FROM base AS light
128128

129-
COPY --from=build /app/full/llama /app/full/llama-cli /app/full/llama-completion /app
129+
COPY --from=build /app/full/llama /app/full/llama-cli /app/full/llama-completion /app/
130130

131131
WORKDIR /app
132132

@@ -138,7 +138,7 @@ FROM base AS server
138138
ENV LLAMA_ARG_HOST=0.0.0.0
139139
ENV LLAMA_ARG_PORT=8080
140140

141-
COPY --from=build /app/full/llama /app/full/llama-server /app
141+
COPY --from=build /app/full/llama /app/full/llama-server /app/
142142

143143
WORKDIR /app
144144

‎.devops/vulkan.Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ ENTRYPOINT ["/app/tools.sh"]
107107
### Light, CLI only
108108
FROM base AS light
109109

110-
COPY --from=build /app/full/llama /app/full/llama-cli /app/full/llama-completion /app
110+
COPY --from=build /app/full/llama /app/full/llama-cli /app/full/llama-completion /app/
111111

112112
WORKDIR /app
113113

@@ -119,7 +119,7 @@ FROM base AS server
119119
ENV LLAMA_ARG_HOST=0.0.0.0
120120
ENV LLAMA_ARG_PORT=8080
121121

122-
COPY --from=build /app/full/llama /app/full/llama-server /app
122+
COPY --from=build /app/full/llama /app/full/llama-server /app/
123123

124124
WORKDIR /app
125125

‎.devops/zendnn.Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ ENTRYPOINT ["/app/tools.sh"]
9797
### Light, CLI only
9898
FROM base AS light
9999

100-
COPY --from=build /app/full/llama /app/full/llama-cli /app/full/llama-completion /app
100+
COPY --from=build /app/full/llama /app/full/llama-cli /app/full/llama-completion /app/
101101

102102
WORKDIR /app
103103

@@ -109,7 +109,7 @@ FROM base AS server
109109
ENV LLAMA_ARG_HOST=0.0.0.0
110110
ENV LLAMA_ARG_PORT=8080
111111

112-
COPY --from=build /app/full/llama /app/full/llama-server /app
112+
COPY --from=build /app/full/llama /app/full/llama-server /app/
113113

114114
WORKDIR /app
115115

‎.github/workflows/build-apple.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
cd build
106106
# Metal Paravirtual devices are difficult to support -> disable
107107
# ref: https://github.com/ggml-org/llama.cpp/pull/19802#issuecomment-4013704023
108-
ctest -L main -E "test-llama-archs|test-save-load-state|test-recurrent-state-rollback" --verbose --timeout 900
108+
ctest -L main -E "test-llama-archs|test-llama-context" --verbose --timeout 900
109109
110110
macos-latest-x64:
111111
runs-on: macos-15-intel

‎.github/workflows/build-cache.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
runs-on: ubuntu-24.04
4545

4646
env:
47-
# Sync versions in build-openvino.yml, build-self-hosted.yml, release.yml, build-cache.yml, .devops/openvino.Dockerfile
47+
# Sync versions in build-openvino.yml, ci-self-hosted-openvino.yml, release.yml, release-publish.yml, build-cache.yml, .devops/openvino.Dockerfile, docs/backend/OPENVINO.md
4848
OPENVINO_VERSION_MAJOR: "2026.4.1"
4949
OPENVINO_VERSION_FULL: "2026.4.1.22982.07f9c262b05"
5050

@@ -72,7 +72,7 @@ jobs:
7272
runs-on: windows-2022
7373

7474
env:
75-
# Sync versions in build.yml, build-self-hosted.yml, release.yml, build-cache.yml, .devops/openvino.Dockerfile
75+
# Sync versions in build-openvino.yml, ci-self-hosted-openvino.yml, release.yml, release-publish.yml, build-cache.yml, .devops/openvino.Dockerfile, docs/backend/OPENVINO.md
7676
OPENVINO_VERSION_MAJOR: "2026.4.1"
7777
OPENVINO_VERSION_FULL: "2026.4.1.22982.07f9c262b05"
7878

0 commit comments

Comments
 (0)