notifications
This commit is contained in:
1 parent
431174cd19
commit
b3a963a9ab
2 files changed
+23
-8
No files matched your search
@@ -12,7 +12,7 @@ output "Samsung Electric Company S22R35x H4TR604392" {
|
||||
position x=106 y=0
|
||||
}
|
||||
|
||||
output "BOE 0x0BCA Unknown" {
|
||||
output "eDP-1" {
|
||||
mode "2256x1504@59.999"
|
||||
scale 1
|
||||
position x=859 y=1080
|
||||
@@ -37,6 +37,12 @@ output "PNP(GWD) ARZOPA \\x15\\xd9F\\x1675US0000" {
|
||||
position x=2860 y=1080
|
||||
}
|
||||
|
||||
output "DP-2" {
|
||||
mode "1920x1080@60.000"
|
||||
scale 1
|
||||
position x=3115 y=1504
|
||||
}
|
||||
|
||||
output "Dell Inc. DELL SE3223Q 1WDWKK3" {
|
||||
scale 2
|
||||
position x=4780 y=0
|
||||
|
||||
@@ -115,13 +115,22 @@ in
|
||||
# Note: init.sh is located next to the Dockerfile, so it is automatically
|
||||
# included in the Docker build context and no explicit copy step is needed.
|
||||
if ! ${pkgs.docker}/bin/docker image inspect ${fullImageName} > /dev/null 2>&1 || ${lib.boolToString cfg.rocm.rebuildImage}; then
|
||||
echo "Building ComfyUI ROCm Docker image..."
|
||||
${pkgs.docker}/bin/docker build \
|
||||
-t ${fullImageName} \
|
||||
--build-arg COMFYUI_COMMIT=${cfg.rocm.comfyuiCommit} \
|
||||
--build-arg HSA_OVERRIDE_GFX_VERSION=${cfg.rocm.hsaOverrideGfxVersion} \
|
||||
-f ${containerfile} \
|
||||
$(dirname "${containerinitsh}")
|
||||
# Create a temp build context with both files co-located
|
||||
BUILDCTX=$(mktemp -d)
|
||||
cp ${containerfile} "$BUILDCTX/rocm.Containerfile"
|
||||
cp ${containerinitsh} "$BUILDCTX/init.sh"
|
||||
chmod +x "$BUILDCTX/init.sh"
|
||||
|
||||
echo "Building ComfyUI ROCm Docker image..."
|
||||
${pkgs.docker}/bin/docker build \
|
||||
-t ${fullImageName} \
|
||||
--build-arg COMFYUI_COMMIT=${cfg.rocm.comfyuiCommit} \
|
||||
--build-arg HSA_OVERRIDE_GFX_VERSION=${cfg.rocm.hsaOverrideGfxVersion} \
|
||||
-f "$BUILDCTX/rocm.Containerfile" \
|
||||
"$BUILDCTX"
|
||||
|
||||
rm -rf "$BUILDCTX"
|
||||
|
||||
else
|
||||
echo "ComfyUI ROCm Docker image already exists, skipping build."
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user