Compare commits

...

3 Commits

Author SHA1 Message Date
Hunter Senft-Grupp
5bbd5103cd fix: default frontend preview variant to cpu
Frontend previews don't need GPU resources. Default to cpu variant
and only use gpu when the preview-gpu label is explicitly added.
2026-03-10 14:53:54 -04:00
Hunter Senft-Grupp
a3d47fed8c test: change title to Preview v2 for update timing 2026-03-10 13:58:14 -04:00
Hunter Senft-Grupp
eda40b02c4 test: change page title for preview env smoke test 2026-03-10 13:36:25 -04:00
2 changed files with 5 additions and 5 deletions

View File

@@ -55,13 +55,13 @@ jobs:
REF="${PR_HEAD_SHA}"
BRANCH="${PR_HEAD_REF}"
# Derive variant from labels
VARIANT="gpu"
# Derive variant from labels (default to cpu for frontend-only previews)
VARIANT="cpu"
if [ "${ACTION}" = "labeled" ]; then
[ "${LABEL_NAME}" = "preview-cpu" ] && VARIANT="cpu"
[ "${LABEL_NAME}" = "preview-gpu" ] && VARIANT="gpu"
else
# synchronize — check existing labels on the PR
echo "${PR_LABELS}" | grep -q '"preview-cpu"' && VARIANT="cpu"
echo "${PR_LABELS}" | grep -q '"preview-gpu"' && VARIANT="gpu"
fi
else
REF="${GITHUB_SHA}"

View File

@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>ComfyUI</title>
<title>ComfyUI (Preview v2)</title>
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, user-scalable=no"