You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 19, 2025. It is now read-only.
# Add and prepare Intel Graphics driver index. This is dependent on being able to pass your GPU with a working driver on the host side where the image will run.
39
-
# hadolint ignore=DL4006
40
-
RUN wget --progress=dot:giga -qO - https://repositories.intel.com/graphics/intel-graphics.key | \
# Add and prepare Intel Graphics driver index. This is dependent on being able to pass your GPU with a working driver on the host side where the image will run.
30
+
# hadolint ignore=DL4006
31
+
# Install the Intel graphics GPG public key
32
+
RUN wget --progress=dot:giga -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \
33
+
| gpg --dearmor | tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null && \
34
+
echo 'deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main' \
35
+
| tee /etc/apt/sources.list.d/oneAPI.list
36
+
RUN wget --progress=dot:giga -qO - https://repositories.intel.com/gpu/intel-graphics.key | \
# Getting the latest versions of Intel's Compute Runtime and associated packages on Github and installing it will update everything we installed before.
135
-
RUN mkdir neo
136
-
WORKDIR /neo
137
-
RUN wget --progress=dot:giga https://github.com/intel/intel-graphics-compiler/releases/download/v2.5.6/intel-igc-core-2_2.5.6+18417_amd64.deb && \
# Remove linux-libc-dev for security reasons without disturbing anything else.
156
-
RUN dpkg -r --force-depends linux-libc-dev
157
-
158
83
# Copy the startup script to the /bin/ folder and make executable.
159
84
COPY startup.sh /bin/
160
85
RUN chmod 755 /bin/startup.sh
161
86
162
87
# Volumes that can be used by the image when making containers.
163
-
VOLUME [ "/deps" ]
88
+
VOLUME [ "/deps2" ]
164
89
VOLUME [ "/ComfyUI" ]
165
90
VOLUME [ "/models" ]
166
91
VOLUME [ "/root/.cache/huggingface" ]
167
92
168
-
# Setup location of Python virtual environment and make sure LD_PRELOAD contains the path of the allocator chosen.
169
-
ENV VENVDir=/deps/venv
170
-
ENV LD_PRELOAD=${ALLOCATOR_LD_PRELOAD}
93
+
# Setup location of Python virtual environment
94
+
ENV VENVDir=/deps2/venv
171
95
172
96
# Enable Level Zero system management
173
97
# See https://spec.oneapi.io/level-zero/latest/sysman/PROG.html
@@ -178,11 +102,10 @@ ENV ZES_ENABLE_SYSMAN=1
178
102
ENV NEOReadDebugKeys=1
179
103
ENV ClDeviceGlobalMemSizeAvailablePercent=100
180
104
181
-
# Enable double precision emulation. Turned on by default to enable torch.compile to work for various kernels. Turn this off if you need to enable attention
182
-
# slicing to address the 4GB single allocation limit with Intel Xe GPUs and lower and don't use torch.compile.
105
+
# Enable double precision emulation. Turned off by default to enable attention slicing to address the 4GB single allocation limit with Intel Xe GPUs and lower.
183
106
# See https://github.com/intel/compute-runtime/blob/master/opencl/doc/FAQ.md#feature-double-precision-emulation-fp64
184
-
ENV OverrideDefaultFP64Settings=1
185
-
ENV IGC_EnableDPEmulation=1
107
+
#ENV OverrideDefaultFP64Settings=1
108
+
#ENV IGC_EnableDPEmulation=1
186
109
187
110
# Enable SYCL variables for cache reuse and single threaded mode.
188
111
# See https://github.com/intel/llvm/blob/sycl/sycl/doc/EnvironmentVariables.md
# Setting to turn on for Intel Xe GPUs that do not have XMX cores which include any iGPUs from Intel Ice Lake to Meteor Lake.
193
116
#ENV BIGDL_LLM_XMX_DISABLED=1
117
+
194
118
# Linux only setting that speeds up compute workload submissions allowing them to run concurrently on a single hardware queue. Turned off by default since
195
119
# this was only introduced recently with the Xe graphics driver you need to turn on by default manually and development focus has been on using this feature
196
120
# with Data Center GPU Max Series. Only also seems to benefit LLMs mostly when Intel encourages turning it on on Intel Arc cards. Also need kernel 6.2 or up.
197
121
# See https://www.intel.com/content/www/us/en/developer/articles/guide/level-zero-immediate-command-lists.html
# Only use if something with Intel's low level libraries aren't working, see https://github.com/intel/xetla/tree/main for more details on what this affects.
200
-
#ENV USE_XETLA=OFF
201
-
202
-
# Set variable for better training performance in case.
203
-
# See https://github.com/intel/intel-extension-for-pytorch/issues/296#issuecomment-1461118993
204
-
ENV IPEX_XPU_ONEDNN_LAYOUT=1
205
123
206
124
# Set to false if CPU is to be used to launch ComfyUI. XPU is default.
207
125
ARG UseXPU=true
@@ -217,7 +135,7 @@ ENV UseIPEXRUN=${UseIPEXRUN}
217
135
ARG IPEXRUNArgs=""
218
136
ENV IPEXRUNArgs=${IPEXRUNArgs}
219
137
220
-
# Pass in ComfyUI arguments as an environment variable so it can be used in startup.sh which passes it on.
138
+
# Pass in ComfyUI arguments as an environment variable so it can be used in startup_nightly.sh which passes it on.
# Launch ComfyUI based on whether ipexrun is set to be used or not. Explicit string splitting is done by the shell here so shellcheck warning is ignored.
0 commit comments