Files
PozzettiAndrea-ComfyUI-Sharp/dev/linux-cpu/index.html
T
2026-05-10 20:38:54 +00:00

1571 lines
98 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PozzettiAndrea/ComfyUI-Sharp - Test Results</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: #0f1923;
color: #e6edf3;
min-height: 100vh;
line-height: 1.6;
}
header {
background: #162033;
padding: 1.25rem 2rem;
border-bottom: 1px solid #243656;
}
body.in-iframe header {
display: none;
}
body.in-iframe .container {
padding-top: 1.25rem;
}
body.in-iframe .summary-meta {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
margin-bottom: 1rem;
}
h1 {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 0.5rem;
}
h1 a {
color: #e6edf3;
text-decoration: none;
}
h1 a:hover { color: #58a6ff; }
.meta-chips {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
align-items: center;
}
.meta-chip {
display: inline-flex;
align-items: center;
gap: 0.35rem;
padding: 0.2rem 0.6rem;
background: #1c2d44;
border: 1px solid #243656;
border-radius: 2rem;
font-size: 0.75rem;
color: #8ba3c1;
}
.meta-chip svg {
width: 12px;
height: 12px;
fill: currentColor;
flex-shrink: 0;
}
.container {
max-width: 1400px;
margin: 0 auto;
padding: 2rem;
}
/* Summary Section */
.summary {
background: #162033;
border: 1px solid #243656;
border-radius: 8px;
padding: 1.5rem;
margin-bottom: 2rem;
}
.progress-wrapper {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1rem;
}
.progress-bar {
background: #1c2d44;
border-radius: 6px;
height: 10px;
overflow: hidden;
flex: 1;
}
.progress-fill {
background: #3fb950;
height: 100%;
border-radius: 6px;
transition: width 0.3s ease;
}
.progress-fill.has-failures {
background: linear-gradient(90deg, #3fb950 0%, #3fb950 0.0%, #f85149 0.0%, #f85149 100%);
width: 100% !important;
border-radius: 6px;
}
.progress-label {
font-size: 0.85rem;
font-weight: 600;
color: #8ba3c1;
white-space: nowrap;
min-width: 3.5rem;
text-align: right;
}
.stats {
display: flex;
gap: 0.75rem;
flex-wrap: wrap;
align-items: center;
}
.stat-badge {
padding: 0.35rem 0.75rem;
border-radius: 2rem;
font-weight: 600;
font-size: 0.8rem;
}
.stat-pass {
background: rgba(63, 185, 80, 0.15);
color: #3fb950;
}
.stat-fail {
background: rgba(248, 81, 73, 0.15);
color: #f85149;
}
.stat-total {
color: #8ba3c1;
font-size: 0.85rem;
}
/* Failed Section */
.failed-section {
background: rgba(248, 81, 73, 0.08);
border: 1px solid rgba(248, 81, 73, 0.3);
border-radius: 8px;
padding: 1.25rem;
margin-bottom: 2rem;
}
.failed-section h2 {
color: #f85149;
font-size: 0.9rem;
font-weight: 600;
margin-bottom: 0.75rem;
}
.failed-item {
background: #162033;
border: 1px solid #243656;
border-radius: 6px;
padding: 1rem;
margin-bottom: 0.5rem;
}
.failed-item:last-child {
margin-bottom: 0;
}
.failed-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.5rem;
}
.failed-name {
font-weight: 600;
color: #f85149;
}
.failed-duration {
color: #8ba3c1;
font-size: 0.8rem;
}
.failed-error {
background: #0f1923;
border: 1px solid #243656;
padding: 0.75rem;
border-radius: 6px;
font-family: 'SFMono-Regular', 'Menlo', 'Monaco', monospace;
font-size: 0.8rem;
color: #d29922;
margin-bottom: 0.5rem;
}
.log-link {
color: #58a6ff;
text-decoration: none;
font-size: 0.8rem;
}
.log-link:hover {
text-decoration: underline;
}
/* Workflow Grid */
.section-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.25rem;
}
.section-title {
font-size: 0.8rem;
color: #8ba3c1;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
}
.view-controls {
display: flex;
gap: 0;
align-items: center;
border: 1px solid #243656;
border-radius: 6px;
overflow: hidden;
}
.view-btn {
background: #1c2d44;
color: #8ba3c1;
border: none;
border-right: 1px solid #243656;
padding: 0.3rem 0.75rem;
cursor: pointer;
font-size: 0.75rem;
font-weight: 500;
transition: all 0.15s;
}
.view-btn:last-child {
border-right: none;
}
.view-btn:hover {
background: #243656;
color: #e6edf3;
}
.view-btn.active {
background: #58a6ff;
color: #fff;
}
.workflow-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1rem;
}
.workflow-grid.view-list {
grid-template-columns: 1fr;
gap: 0;
}
.workflow-grid.view-list .workflow-card {
border-radius: 0;
border-bottom: 1px solid #243656;
}
.workflow-grid.view-list .workflow-card:first-child {
border-radius: 8px 8px 0 0;
}
.workflow-grid.view-list .workflow-card:last-child {
border-radius: 0 0 8px 8px;
border-bottom: none;
}
.workflow-grid.view-list .workflow-card:only-child {
border-radius: 8px;
}
.workflow-grid.view-list .workflow-screenshot {
width: 100%;
height: auto;
aspect-ratio: auto;
}
.workflow-grid.view-list .workflow-info {
border-top: 1px solid #243656;
padding: 0.75rem 1rem;
}
.workflow-grid.view-list .workflow-name {
max-width: none;
font-size: 0.9rem;
}
.workflow-card {
background: #162033;
border: 1px solid #243656;
border-radius: 8px;
overflow: hidden;
transition: transform 0.15s, border-color 0.15s;
}
.workflow-card:hover {
transform: translateY(-1px);
border-color: #4a6282;
}
.workflow-card.clickable {
cursor: pointer;
}
.workflow-card.failed {
border-color: #f85149;
}
.workflow-card.failed:hover {
border-color: #f85149;
}
.workflow-screenshot {
width: 100%;
aspect-ratio: 16/10;
object-fit: cover;
background: #0f1923;
display: block;
}
.workflow-screenshot.placeholder {
display: flex;
align-items: center;
justify-content: center;
color: #4a6282;
font-size: 0.8rem;
}
.workflow-info {
padding: 0.75rem 1rem;
border-top: 1px solid #243656;
}
.workflow-header {
display: flex;
justify-content: space-between;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.25rem;
}
.workflow-name {
font-weight: 500;
font-size: 0.85rem;
color: #e6edf3;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 65%;
}
.workflow-badge {
padding: 0.15rem 0.5rem;
border-radius: 2rem;
font-size: 0.7rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.03em;
flex-shrink: 0;
}
.workflow-badge.pass {
background: rgba(63, 185, 80, 0.15);
color: #3fb950;
}
.workflow-badge.fail {
background: rgba(248, 81, 73, 0.15);
color: #f85149;
}
.workflow-meta {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 0.75rem;
color: #4a6282;
}
/* Lightbox */
.lightbox {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(1, 4, 9, 0.9);
z-index: 1000;
justify-content: center;
align-items: flex-start;
padding: 2rem;
overflow-y: auto;
}
.lightbox.active {
display: flex;
}
.lightbox-content {
display: flex;
flex-direction: column;
max-width: 1200px;
width: 100%;
margin: auto;
}
.lightbox-content img {
max-width: 100%;
max-height: 60vh;
object-fit: contain;
border-radius: 8px;
border: 1px solid #243656;
align-self: center;
cursor: zoom-in;
}
.img-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: 1002;
background: rgba(1, 4, 9, 0.95);
overflow: auto;
align-items: center;
justify-content: center;
}
.img-overlay.active {
display: flex;
}
.img-overlay.zoomed {
align-items: flex-start;
justify-content: flex-start;
}
.img-overlay img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
cursor: zoom-in;
}
.img-overlay.zoomed img {
max-width: none;
max-height: none;
cursor: zoom-out;
}
.lightbox-close {
position: fixed;
top: 1rem;
right: 1.5rem;
font-size: 2rem;
color: #e6edf3;
cursor: pointer;
opacity: 0.6;
background: none;
border: none;
z-index: 1001;
}
.lightbox-close:hover {
opacity: 1;
}
.lightbox-nav {
position: fixed;
top: 50%;
transform: translateY(-50%);
background: rgba(22, 32, 51, 0.8);
border: 1px solid #243656;
color: #e6edf3;
font-size: 2.5rem;
width: 48px;
height: 64px;
border-radius: 8px;
cursor: pointer;
opacity: 0.6;
z-index: 1001;
display: flex;
align-items: center;
justify-content: center;
transition: opacity 0.15s;
padding: 0;
line-height: 1;
}
.lightbox-nav:hover {
opacity: 1;
}
.lightbox-nav-left { left: 1rem; }
.lightbox-nav-right { right: 1rem; }
.lightbox-info {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 1.25rem;
background: #162033;
border: 1px solid #243656;
border-radius: 8px;
margin-top: 1rem;
}
.lightbox-title {
font-size: 1rem;
font-weight: 600;
color: #e6edf3;
}
.lightbox-hardware {
display: block;
font-size: 0.75rem;
color: #8ba3c1;
margin-top: 0.25rem;
}
.lightbox-meta {
display: flex;
gap: 1rem;
align-items: center;
}
.lightbox-badge {
padding: 0.25rem 0.75rem;
border-radius: 2rem;
font-size: 0.8rem;
font-weight: 600;
text-transform: uppercase;
}
.lightbox-badge.pass {
background: rgba(63, 185, 80, 0.15);
color: #3fb950;
}
.lightbox-badge.fail {
background: rgba(248, 81, 73, 0.15);
color: #f85149;
}
.lightbox-duration {
color: #8ba3c1;
font-size: 0.85rem;
}
.lightbox-log {
background: #0f1923;
border: 1px solid #243656;
border-radius: 8px;
padding: 1rem;
margin-top: 1rem;
max-height: 300px;
overflow-y: auto;
font-family: 'SFMono-Regular', 'Menlo', 'Monaco', monospace;
font-size: 0.8rem;
line-height: 1.5;
white-space: pre-wrap;
word-break: break-all;
color: #8ba3c1;
}
.lightbox-log::-webkit-scrollbar {
width: 8px;
}
.lightbox-log::-webkit-scrollbar-track {
background: #162033;
border-radius: 4px;
}
.lightbox-log::-webkit-scrollbar-thumb {
background: #243656;
border-radius: 4px;
}
.lightbox-log::-webkit-scrollbar-thumb:hover {
background: #4a6282;
}
/* Resource Graph */
.resource-graph {
display: none;
margin-top: 1rem;
background: #162033;
border: 1px solid #243656;
border-radius: 8px;
padding: 1rem;
}
.resource-graph.active {
display: block;
}
.resource-graph-title {
font-size: 0.8rem;
color: #8ba3c1;
font-weight: 500;
margin-bottom: 0.5rem;
}
.resource-graph canvas {
width: 100%;
height: 120px;
cursor: crosshair;
}
.resource-legend {
display: flex;
gap: 1rem;
margin-top: 0.5rem;
font-size: 0.75rem;
color: #8ba3c1;
}
.resource-legend span {
display: flex;
align-items: center;
gap: 4px;
}
.resource-legend .dot {
width: 8px;
height: 8px;
border-radius: 50%;
}
.resource-legend .ram { background: #3fb950; }
.resource-legend .gpu { background: #d29922; }
/* Video Player */
.video-player {
display: none;
margin-top: 1rem;
background: #162033;
border: 1px solid #243656;
border-radius: 8px;
padding: 1rem;
}
.video-player.active {
display: block;
}
.video-controls {
display: flex;
align-items: center;
gap: 1rem;
margin-top: 0.5rem;
}
.video-play-btn {
background: #58a6ff;
color: #fff;
border: none;
padding: 0.4rem 1rem;
border-radius: 6px;
cursor: pointer;
font-size: 0.8rem;
font-weight: 500;
}
.video-play-btn:hover {
background: #79b8ff;
}
.video-frame-counter {
color: #8ba3c1;
font-size: 0.8rem;
}
.video-slider-container {
padding: 15px 0;
}
/* noUiSlider customization */
#video-slider {
height: 6px;
background: #1c2d44;
border: none;
box-shadow: none;
}
#video-slider .noUi-connect {
background: #58a6ff;
}
#video-slider .noUi-handle {
width: 16px;
height: 16px;
background: #58a6ff;
border: none;
border-radius: 50%;
box-shadow: none;
top: -5px;
right: -8px;
cursor: pointer;
}
#video-slider .noUi-handle:before,
#video-slider .noUi-handle:after {
display: none;
}
/* Pips (tick marks) */
.noUi-pips {
color: #4a6282;
}
.noUi-marker {
background: #243656;
width: 2px;
}
.noUi-marker-large {
height: 12px;
}
.noUi-value {
display: none;
}
/* Models Section */
.models-section {
margin-top: 2rem;
margin-bottom: 2rem;
}
.models-total {
font-size: 0.8rem;
color: #8ba3c1;
}
.models-folder {
background: #162033;
border: 1px solid #243656;
border-radius: 8px;
margin-bottom: 0.5rem;
overflow: hidden;
}
.models-folder-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.75rem 1rem;
cursor: pointer;
user-select: none;
list-style: none;
}
.models-folder-header::-webkit-details-marker {
display: none;
}
.models-folder-header::before {
content: '\25B6';
font-size: 0.6rem;
color: #4a6282;
margin-right: 0.5rem;
transition: transform 0.15s;
}
.models-folder[open] > .models-folder-header::before {
transform: rotate(90deg);
}
.models-folder-name {
font-family: 'SFMono-Regular', 'Menlo', 'Monaco', monospace;
font-size: 0.85rem;
font-weight: 600;
color: #58a6ff;
}
.models-folder-meta {
display: flex;
align-items: center;
gap: 0.75rem;
}
.models-folder-size {
font-size: 0.8rem;
font-weight: 600;
color: #8ba3c1;
}
.models-source-link {
font-size: 0.75rem;
color: #3fb950;
text-decoration: none;
padding: 0.15rem 0.5rem;
background: rgba(63, 185, 80, 0.1);
border: 1px solid rgba(63, 185, 80, 0.2);
border-radius: 2rem;
}
.models-source-link:hover {
background: rgba(63, 185, 80, 0.2);
text-decoration: none;
}
.models-file-list {
border-top: 1px solid #243656;
padding: 0.25rem 0;
}
.models-file {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.35rem 1rem 0.35rem 2rem;
font-size: 0.8rem;
}
.models-file:hover {
background: rgba(88, 166, 255, 0.05);
}
.models-file-path {
font-family: 'SFMono-Regular', 'Menlo', 'Monaco', monospace;
color: #8ba3c1;
word-break: break-all;
}
.models-file-size {
color: #4a6282;
white-space: nowrap;
margin-left: 1rem;
flex-shrink: 0;
}
/* Footer */
footer {
text-align: center;
padding: 2.5rem;
color: #4a6282;
font-size: 0.8rem;
}
footer a {
color: #58a6ff;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}
/* Responsive */
@media (max-width: 600px) {
.workflow-grid {
grid-template-columns: 1fr !important;
}
.workflow-grid.view-list .workflow-card {
grid-template-columns: 1fr;
}
.workflow-grid.view-list .workflow-screenshot {
width: 100%;
height: auto;
aspect-ratio: 16/10;
}
.stats {
flex-direction: column;
align-items: flex-start;
}
.section-header {
flex-direction: column;
align-items: flex-start;
gap: 0.5rem;
}
.container {
padding: 1rem;
}
}
</style>
<link href="https://cdn.jsdelivr.net/npm/nouislider@15/dist/nouislider.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/nouislider@15/dist/nouislider.min.js"></script>
</head>
<body>
<header>
<h1><a href="https://github.com/PozzettiAndrea/PozzettiAndrea/ComfyUI-Sharp">PozzettiAndrea/ComfyUI-Sharp</a> Test Results</h1>
<div class="meta-chips">
<span class="meta-chip"><svg viewBox="0 0 16 16"><path d="M8 0a8 8 0 110 16A8 8 0 018 0zm.5 4.5a.5.5 0 00-1 0v3.793L5.854 9.854a.5.5 0 10.708.708l1.853-1.854a.5.5 0 00.085-.094V4.5z"/></svg> 2026-05-10 20:38 UTC</span> <span class="meta-chip"><svg viewBox="0 0 16 16"><path d="M2.5 4a.5.5 0 100 1 .5.5 0 000-1zM4 4.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM2.5 7a.5.5 0 100 1 .5.5 0 000-1zM4 7.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 014 7.5zM2.5 10a.5.5 0 100 1 .5.5 0 000-1zM4 10.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5z"/></svg> Linux-6.17.0-1010-azure-x86_64-with-glibc2.39</span> <span class="meta-chip"><svg viewBox="0 0 16 16"><path d="M5 0a.5.5 0 01.5.5V2h1V.5a.5.5 0 011 0V2h1V.5a.5.5 0 011 0V2h.5A2.5 2.5 0 0112.5 4.5H14v1h-1.5v1H14v1h-1.5v1H14v1h-1.5A2.5 2.5 0 0110 12h-.5v1.5a.5.5 0 01-1 0V12h-1v1.5a.5.5 0 01-1 0V12H6v1.5a.5.5 0 01-1 0V12h-.5A2.5 2.5 0 012 9.5H.5v-1H2v-1H.5v-1H2v-1H.5v-1H2A2.5 2.5 0 014.5 2V.5A.5.5 0 015 0zm-.5 4A1.5 1.5 0 003 5.5v4A1.5 1.5 0 004.5 11h6a1.5 1.5 0 001.5-1.5v-4A1.5 1.5 0 0010.5 4h-6z"/></svg> AMD EPYC 9V74 80-Core Processor</span>
</div>
</header>
<div class="container">
<div class="summary">
<div class="progress-wrapper">
<div class="progress-bar">
<div class="progress-fill has-failures" style="width: 0.0%"></div>
</div>
<span class="progress-label">0.0%</span>
</div>
<div class="stats">
<span class="stat-badge stat-pass">0 passed</span>
<span class="stat-badge stat-fail">2 failed</span>
<span class="stat-total">0/2 tests</span>
</div>
</div>
<div class="section-header">
<h2 class="section-title">Workflows</h2>
<div class="view-controls">
<button class="view-btn active" onclick="setView('grid')">Grid</button>
<button class="view-btn" onclick="setView('list')">List</button>
</div>
</div>
<div class="workflow-grid" id="workflow-grid">
<div class="workflow-card clickable failed" onclick="openLightboxByName('sharp_basic')">
<div class="workflow-screenshot placeholder">No screenshot</div>
<div class="workflow-info">
<div class="workflow-header">
<span class="workflow-name" title="sharp_basic">sharp_basic</span>
<span class="workflow-badge fail">fail</span>
</div>
<div class="workflow-meta">
<span>8.65s</span>
</div>
</div>
</div>
<div class="workflow-card clickable failed" onclick="openLightboxByName('sharp_exif')">
<div class="workflow-screenshot placeholder">No screenshot</div>
<div class="workflow-info">
<div class="workflow-header">
<span class="workflow-name" title="sharp_exif">sharp_exif</span>
<span class="workflow-badge fail">fail</span>
</div>
<div class="workflow-meta">
<span>6.50s</span>
</div>
</div>
</div>
</div>
<div class="failed-section">
<h2>Failed Tests</h2>
<div class="failed-item">
<div class="failed-header">
<span class="failed-name">sharp_basic</span>
<span class="failed-duration">8.65s</span>
</div>
<div class="failed-error">Workflow execution failed: {&#x27;prompt_id&#x27;: &#x27;9c537c12-12c1-4f97-bb69-25d6d6580489&#x27;, &#x27;node_id&#x27;: &#x27;2&#x27;, &#x27;node_type&#x27;: &#x27;LoadSharpModel&#x27;, &#x27;executed&#x27;: [&#x27;1&#x27;], &#x27;exception_message&#x27;: &#x27;No module named \&#x27;psutil\&#x27;\n\nWorker traceback:\nTraceback (most recent call last):\n File &quot;/tmp/comfyui_pvenv_e2pe2jdm/persistent_worker.py&quot;, line 1762, in main\n result = method(**inputs)\n ^^^^^^^^^^^^^^^^\n File &quot;/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy_api/latest/_io.py&quot;, line 1833, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File &quot;/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/custom_nodes/ComfyUI-Sharp/nodes/load_model.py&quot;, line 170, in execute\n import comfy.model_management\n File &quot;/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy/model_management.py&quot;, line 19, in &lt;module&gt;\n import psutil\nModuleNotFoundError: No module named \&#x27;psutil\&#x27;\n\n&#x27;, &#x27;exception_type&#x27;: &#x27;comfy_env.isolation.workers.base.WorkerError&#x27;, &#x27;traceback&#x27;: [&#x27; File &quot;/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py&quot;, line 535, in execute\n output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n&#x27;, &#x27; File &quot;/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py&quot;, line 335, in get_output_data\n return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n&#x27;, &#x27; File &quot;/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py&quot;, line 309, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n&#x27;, &#x27; File &quot;/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py&quot;, line 297, in process_inputs\n result = f(**inputs)\n ^^^^^^^^^^^\n&#x27;, &#x27; File &quot;/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/.venv/lib/python3.12/site-packages/comfy_env/isolation/metadata.py&quot;, line 536, in proxy\n result = worker.call_method(\n ^^^^^^^^^^^^^^^^^^^\n&#x27;, &#x27; File &quot;/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/.venv/lib/python3.12/site-packages/comfy_env/isolation/workers/subprocess.py&quot;, line 674, in call_method\n raise WorkerError(\n&#x27;], &#x27;current_inputs&#x27;: {&#x27;precision&#x27;: [&#x27;auto&#x27;]}, &#x27;current_outputs&#x27;: [&#x27;5&#x27;, &#x27;1&#x27;, &#x27;4&#x27;, &#x27;2&#x27;], &#x27;timestamp&#x27;: 1778445502255}
Details:
Workflow: /tmp/comfy-test-run-xykvrfzi/ComfyUI-Sharp/workflows/sharp_basic.json
Node error: LoadSharpModel</div>
</div>
<div class="failed-item">
<div class="failed-header">
<span class="failed-name">sharp_exif</span>
<span class="failed-duration">6.50s</span>
</div>
<div class="failed-error">Workflow execution failed: {&#x27;prompt_id&#x27;: &#x27;407d3be3-d24a-4270-84d9-4f1e434bc990&#x27;, &#x27;node_id&#x27;: &#x27;2&#x27;, &#x27;node_type&#x27;: &#x27;LoadSharpModel&#x27;, &#x27;executed&#x27;: [&#x27;9&#x27;], &#x27;exception_message&#x27;: &#x27;No module named \&#x27;psutil\&#x27;\n\nWorker traceback:\nTraceback (most recent call last):\n File &quot;/tmp/comfyui_pvenv_e2pe2jdm/persistent_worker.py&quot;, line 1762, in main\n result = method(**inputs)\n ^^^^^^^^^^^^^^^^\n File &quot;/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy_api/latest/_io.py&quot;, line 1833, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File &quot;/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/custom_nodes/ComfyUI-Sharp/nodes/load_model.py&quot;, line 170, in execute\n import comfy.model_management\n File &quot;/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy/model_management.py&quot;, line 19, in &lt;module&gt;\n import psutil\nModuleNotFoundError: No module named \&#x27;psutil\&#x27;\n\n&#x27;, &#x27;exception_type&#x27;: &#x27;comfy_env.isolation.workers.base.WorkerError&#x27;, &#x27;traceback&#x27;: [&#x27; File &quot;/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py&quot;, line 535, in execute\n output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n&#x27;, &#x27; File &quot;/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py&quot;, line 335, in get_output_data\n return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n&#x27;, &#x27; File &quot;/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py&quot;, line 309, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n&#x27;, &#x27; File &quot;/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py&quot;, line 297, in process_inputs\n result = f(**inputs)\n ^^^^^^^^^^^\n&#x27;, &#x27; File &quot;/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/.venv/lib/python3.12/site-packages/comfy_env/isolation/metadata.py&quot;, line 536, in proxy\n result = worker.call_method(\n ^^^^^^^^^^^^^^^^^^^\n&#x27;, &#x27; File &quot;/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/.venv/lib/python3.12/site-packages/comfy_env/isolation/workers/subprocess.py&quot;, line 674, in call_method\n raise WorkerError(\n&#x27;], &#x27;current_inputs&#x27;: {&#x27;precision&#x27;: [&#x27;auto&#x27;]}, &#x27;current_outputs&#x27;: [&#x27;8&#x27;, &#x27;7&#x27;, &#x27;9&#x27;, &#x27;2&#x27;], &#x27;timestamp&#x27;: 1778445509229}
Details:
Workflow: /tmp/comfy-test-run-xykvrfzi/ComfyUI-Sharp/workflows/sharp_exif.json
Node error: LoadSharpModel</div>
</div>
</div>
</div>
<div class="lightbox" id="lightbox">
<button class="lightbox-close" onclick="closeLightbox()">&times;</button>
<button class="lightbox-nav lightbox-nav-left" onclick="navigateLightbox(-1)">&#8249;</button>
<button class="lightbox-nav lightbox-nav-right" onclick="navigateLightbox(1)">&#8250;</button>
<div class="lightbox-content">
<img id="lightbox-img" src="" alt="">
<video id="lightbox-video" controls preload="metadata" style="display:none; max-width:90vw; max-height:80vh; background:#000;"></video>
<div class="video-player" id="video-player">
<div class="video-slider-container">
<div id="video-slider"></div>
</div>
<div class="video-controls">
<span class="video-frame-counter" id="video-frame-counter">0.0s / 0.0s</span>
</div>
</div>
<div class="resource-graph" id="resource-graph">
<div class="resource-graph-title">Resource Usage</div>
<canvas id="resource-canvas"></canvas>
<div class="resource-legend">
<span><span class="dot ram"></span> RAM (GB)</span>
<span id="gpu-legend" style="display:none"><span class="dot gpu"></span> VRAM (GB)</span>
</div>
</div>
<div class="lightbox-info">
<div>
<span class="lightbox-title" id="lightbox-title"></span>
<span class="lightbox-hardware" id="lightbox-hardware"></span>
</div>
<div class="lightbox-meta">
<span class="lightbox-badge" id="lightbox-badge"></span>
<span class="lightbox-duration" id="lightbox-duration"></span>
</div>
</div>
<pre class="lightbox-log" id="lightbox-log"></pre>
</div>
</div>
<div class="img-overlay" id="img-overlay">
<img id="img-overlay-content" src="" alt="">
</div>
<footer>
Generated by <a href="https://github.com/PozzettiAndrea/comfy-test">comfy-test</a>
</footer>
<script>
function setView(mode) {
const grid = document.getElementById('workflow-grid');
grid.className = mode === 'list' ? 'workflow-grid view-list' : 'workflow-grid';
document.querySelectorAll('.view-controls .view-btn').forEach(btn => {
btn.classList.toggle('active', btn.textContent.trim().toLowerCase() === mode);
});
}
const workflowData = {"sharp_basic": {"src": "", "title": "sharp_basic", "status": "fail", "duration": "8.65", "log": "Capturing execution frames: sharp_basic.json\n Frame 1 saved (frame_000.jpg, t=0.0s)\n Validating workflow...\n [ComfyUI] === /validate endpoint called ===\n [ComfyUI] === /validate endpoint called ===\n [ComfyUI] Received JSON with keys: ['prompt']\n [ComfyUI] Received JSON with keys: ['prompt']\n [ComfyUI] Prompt has 4 nodes\n [ComfyUI] Prompt has 4 nodes\n [ComfyUI] Node 1: LoadImage\n [ComfyUI] Node 1: LoadImage\n [ComfyUI] Inputs: {\"image\": \"beach.jpg\"}\n [ComfyUI] Inputs: {\"image\": \"beach.jpg\"}\n [ComfyUI] Node 2: LoadSharpModel\n [ComfyUI] Node 2: LoadSharpModel\n [ComfyUI] Inputs: {\"precision\": \"auto\"}\n [ComfyUI] Inputs: {\"precision\": \"auto\"}\n [ComfyUI] Node 4: GeomPackPreviewGaussian\n [ComfyUI] Node 4: GeomPackPreviewGaussian\n [ComfyUI] Inputs: {\"preview_gaussian\": \"\", \"ply_path\": [\"5\", 0], \"extrinsics\": [\"5\", 1], \"intrinsics\": [\"5\", 2]}\n [ComfyUI] Inputs: {\"preview_gaussian\": \"\", \"ply_path\": [\"5\", 0], \"extrinsics\": [\"5\", 1], \"intrinsics\": [\"5\", 2]}\n [ComfyUI] Node 5: SharpPredict\n [ComfyUI] Node 5: SharpPredict\n [ComfyUI] Inputs: {\"focal_length_mm\": 30, \"output_prefix\": \"sharp\", \"model\": [\"2\", 0], \"image\": [\"1\", 0]}\n [ComfyUI] Inputs: {\"focal_length_mm\": 30, \"output_prefix\": \"sharp\", \"model\": [\"2\", 0], \"image\": [\"1\", 0]}\n [ComfyUI] Generated prompt_id: 1e61786b-32a7-4997-a0ac-d2bb357e1cd6\n [ComfyUI] Generated prompt_id: 1e61786b-32a7-4997-a0ac-d2bb357e1cd6\n Queuing workflow for execution...\n [ComfyUI] Calling execution.validate_prompt()...\n [ComfyUI] Calling execution.validate_prompt()...\n [ComfyUI] Validation result: valid=True\n [ComfyUI] Validation result: valid=True\n [ComfyUI] === Validation PASSED ===\n [ComfyUI] === Validation PASSED ===\n [ComfyUI] got prompt\n [ComfyUI] got prompt\n [ComfyUI] [comfy-env] SubprocessWorker: /home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/.ce/.pixi/envs/sharp-nodes/bin/python\n [ComfyUI] [comfy-env] SubprocessWorker: /home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/.ce/.pixi/envs/sharp-nodes/bin/python\n [ComfyUI] [comfy-env] Running LoadSharpModel: precision: 'auto'\n [ComfyUI] [comfy-env] Running LoadSharpModel: precision: 'auto'\n [ComfyUI] [comfy-env] env_vars: {'COMFYUI_BASE': '/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI'}\n [ComfyUI] [comfy-env] env_vars: {'COMFYUI_BASE': '/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI'}\n [ComfyUI] [SubprocessWorker] call_method: nodes.load_model.LoadSharpModel.EXECUTE_NORMALIZED\n [ComfyUI] [SubprocessWorker] call_method: nodes.load_model.LoadSharpModel.EXECUTE_NORMALIZED\n [ComfyUI] [ComfyUI-Sharp] python: /home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/.ce/.pixi/envs/sharp-nodes/bin/python\n [ComfyUI] [ComfyUI-Sharp] python: /home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/.ce/.pixi/envs/sharp-nodes/bin/python\n [ComfyUI] [SubprocessWorker] acquired lock, ensuring started...\n [ComfyUI] [SubprocessWorker] acquired lock, ensuring started...\n [ComfyUI] [ComfyUI-Sharp] sys_path sent to worker: ['/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI', '/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/custom_nodes/ComfyUI-Sharp', '/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/.ce/.pixi/envs/sharp-nodes/lib/python3.12/site-packages', '/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/custom_nodes/ComfyUI-Sharp']\n [ComfyUI] [ComfyUI-Sharp] sys_path sent to worker: ['/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI', '/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/custom_nodes/ComfyUI-Sharp', '/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/.ce/.pixi/envs/sharp-nodes/lib/python3.12/site-packages', '/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/custom_nodes/ComfyUI-Sharp']\n [ComfyUI] [SubprocessWorker] is_pixi=True, python=/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/.ce/.pixi/envs/sharp-nodes/bin/python\n [ComfyUI] [SubprocessWorker] is_pixi=True, python=/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/.ce/.pixi/envs/sharp-nodes/bin/python\n [ComfyUI] [SubprocessWorker] launching cmd=['/home/runner/.pixi/bin/pixi', 'run', '--as-is', '--manifest-path', '/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/.ce/pixi.toml', '-e', 'sharp-nodes', 'python', '/tmp/comfyui_pvenv_e2pe2jdm/persistent_worker.py', 'abstract://comfy_worker_6a0bf9e1372d']...\n [ComfyUI] [SubprocessWorker] launching cmd=['/home/runner/.pixi/bin/pixi', 'run', '--as-is', '--manifest-path', '/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/.ce/pixi.toml', '-e', 'sharp-nodes', 'python', '/tmp/comfyui_pvenv_e2pe2jdm/persistent_worker.py', 'abstract://comfy_worker_6a0bf9e1372d']...\n [ComfyUI] [SubprocessWorker] socket_addr=abstract://comfy_worker_6a0bf9e1372d (abstract, no filesystem path)\n [ComfyUI] [SubprocessWorker] socket_addr=abstract://comfy_worker_6a0bf9e1372d (abstract, no filesystem path)\n [ComfyUI] [worker:ComfyUI-Sharp] ERROR: Failed to import comfy_kitchen, Error: No module named 'comfy_kitchen', fp8 and fp4 support will not be available.\n [ComfyUI] [worker:ComfyUI-Sharp] ERROR: Failed to import comfy_kitchen, Error: No module named 'comfy_kitchen', fp8 and fp4 support will not be available.\n [ComfyUI] [SubprocessWorker] worker started/confirmed\n [ComfyUI] [SubprocessWorker] worker started/confirmed\n [ComfyUI] [SubprocessWorker] serializing kwargs to shm...\n [ComfyUI] [SubprocessWorker] serializing kwargs to shm...\n [ComfyUI] [SubprocessWorker] created 0 shm blocks\n [ComfyUI] [SubprocessWorker] created 0 shm blocks\n [ComfyUI] [SubprocessWorker] sending request via socket...\n [ComfyUI] [SubprocessWorker] sending request via socket...\n [ComfyUI] [SubprocessWorker] call_id=1 sending call_method\n [ComfyUI] [SubprocessWorker] call_id=1 sending call_method\n [ComfyUI] [SubprocessWorker] got response: error\n [ComfyUI] [SubprocessWorker] got response: error\n [ComfyUI] !!! Exception during processing !!! No module named 'psutil'\n [ComfyUI] !!! Exception during processing !!! No module named 'psutil'\n [ComfyUI] \n [ComfyUI] \n [ComfyUI] Worker traceback:\n [ComfyUI] Worker traceback:\n [ComfyUI] Traceback (most recent call last):\n [ComfyUI] Traceback (most recent call last):\n [ComfyUI] File \"/tmp/comfyui_pvenv_e2pe2jdm/persistent_worker.py\", line 1762, in main\n [ComfyUI] File \"/tmp/comfyui_pvenv_e2pe2jdm/persistent_worker.py\", line 1762, in main\n [ComfyUI] result = method(**inputs)\n [ComfyUI] result = method(**inputs)\n [ComfyUI] ^^^^^^^^^^^^^^^^\n [ComfyUI] ^^^^^^^^^^^^^^^^\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy_api/latest/_io.py\", line 1833, in EXECUTE_NORMALIZED\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy_api/latest/_io.py\", line 1833, in EXECUTE_NORMALIZED\n [ComfyUI] to_return = cls.execute(*args, **kwargs)\n [ComfyUI] to_return = cls.execute(*args, **kwargs)\n [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/custom_nodes/ComfyUI-Sharp/nodes/load_model.py\", line 170, in execute\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/custom_nodes/ComfyUI-Sharp/nodes/load_model.py\", line 170, in execute\n [ComfyUI] import comfy.model_management\n [ComfyUI] import comfy.model_management\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy/model_management.py\", line 19, in <module>\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy/model_management.py\", line 19, in <module>\n [ComfyUI] import psutil\n [ComfyUI] import psutil\n [ComfyUI] ModuleNotFoundError: No module named 'psutil'\n [ComfyUI] ModuleNotFoundError: No module named 'psutil'\n [ComfyUI] \n [ComfyUI] \n [ComfyUI] Traceback (most recent call last):\n [ComfyUI] Traceback (most recent call last):\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 535, in execute\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 535, in execute\n [ComfyUI] output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n [ComfyUI] output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 335, in get_output_data\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 335, in get_output_data\n [ComfyUI] return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n [ComfyUI] return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 309, in _async_map_node_over_list\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 309, in _async_map_node_over_list\n [ComfyUI] await process_inputs(input_dict, i)\n [ComfyUI] await process_inputs(input_dict, i)\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 297, in process_inputs\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 297, in process_inputs\n [ComfyUI] result = f(**inputs)\n [ComfyUI] result = f(**inputs)\n [ComfyUI] ^^^^^^^^^^^\n [ComfyUI] ^^^^^^^^^^^\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/.venv/lib/python3.12/site-packages/comfy_env/isolation/metadata.py\", line 536, in proxy\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/.venv/lib/python3.12/site-packages/comfy_env/isolation/metadata.py\", line 536, in proxy\n [ComfyUI] result = worker.call_method(\n [ComfyUI] result = worker.call_method(\n [ComfyUI] ^^^^^^^^^^^^^^^^^^^\n [ComfyUI] ^^^^^^^^^^^^^^^^^^^\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/.venv/lib/python3.12/site-packages/comfy_env/isolation/workers/subprocess.py\", line 674, in call_method\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/.venv/lib/python3.12/site-packages/comfy_env/isolation/workers/subprocess.py\", line 674, in call_method\n [ComfyUI] raise WorkerError(\n [ComfyUI] raise WorkerError(\n [ComfyUI] comfy_env.isolation.workers.base.WorkerError: No module named 'psutil'\n [ComfyUI] comfy_env.isolation.workers.base.WorkerError: No module named 'psutil'\n [ComfyUI] \n [ComfyUI] \n [ComfyUI] Worker traceback:\n [ComfyUI] Worker traceback:\n [ComfyUI] Traceback (most recent call last):\n [ComfyUI] Traceback (most recent call last):\n [ComfyUI] File \"/tmp/comfyui_pvenv_e2pe2jdm/persistent_worker.py\", line 1762, in main\n [ComfyUI] File \"/tmp/comfyui_pvenv_e2pe2jdm/persistent_worker.py\", line 1762, in main\n [ComfyUI] result = method(**inputs)\n [ComfyUI] result = method(**inputs)\n [ComfyUI] ^^^^^^^^^^^^^^^^\n [ComfyUI] ^^^^^^^^^^^^^^^^\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy_api/latest/_io.py\", line 1833, in EXECUTE_NORMALIZED\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy_api/latest/_io.py\", line 1833, in EXECUTE_NORMALIZED\n [ComfyUI] to_return = cls.execute(*args, **kwargs)\n [ComfyUI] to_return = cls.execute(*args, **kwargs)\n [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/custom_nodes/ComfyUI-Sharp/nodes/load_model.py\", line 170, in execute\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/custom_nodes/ComfyUI-Sharp/nodes/load_model.py\", line 170, in execute\n [ComfyUI] import comfy.model_management\n [ComfyUI] import comfy.model_management\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy/model_management.py\", line 19, in <module>\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy/model_management.py\", line 19, in <module>\n [ComfyUI] import psutil\n [ComfyUI] import psutil\n [ComfyUI] ModuleNotFoundError: No module named 'psutil'\n [ComfyUI] ModuleNotFoundError: No module named 'psutil'\n [ComfyUI] \n [ComfyUI] \n [ComfyUI] \n [ComfyUI] \n [ComfyUI] Prompt executed in 1.81 seconds\n [ComfyUI] Prompt executed in 1.81 seconds\n Execution complete (t=2.2s)\n Execution error: {'prompt_id': '9c537c12-12c1-4f97-bb69-25d6d6580489', 'node_id': '2', 'node_type': 'LoadSharpModel', 'executed': ['1'], 'exception_message': 'No module named \\'psutil\\'\\n\\nWorker traceback:\\nTraceback (most recent call last):\\n File \"/tmp/comfyui_pvenv_e2pe2jdm/persistent_worker.py\", line 1762, in main\\n result = method(**inputs)\\n ^^^^^^^^^^^^^^^^\\n File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy_api/latest/_io.py\", line 1833, in EXECUTE_NORMALIZED\\n to_return = cls.execute(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/custom_nodes/ComfyUI-Sharp/nodes/load_model.py\", line 170, in execute\\n import comfy.model_management\\n File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy/model_management.py\", line 19, in <module>\\n import psutil\\nModuleNotFoundError: No module named \\'psutil\\'\\n\\n', 'exception_type': 'comfy_env.isolation.workers.base.WorkerError', 'traceback': [' File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 535, in execute\\n output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n', ' File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 335, in get_output_data\\n return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n', ' File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 309, in _async_map_node_over_list\\n await process_inputs(input_dict, i)\\n', ' File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 297, in process_inputs\\n result = f(**inputs)\\n ^^^^^^^^^^^\\n', ' File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/.venv/lib/python3.12/site-packages/comfy_env/isolation/metadata.py\", line 536, in proxy\\n result = worker.call_method(\\n ^^^^^^^^^^^^^^^^^^^\\n', ' File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/.venv/lib/python3.12/site-packages/comfy_env/isolation/workers/subprocess.py\", line 674, in call_method\\n raise WorkerError(\\n'], 'current_inputs': {'precision': ['auto']}, 'current_outputs': ['5', '1', '4', '2'], 'timestamp': 1778445502255}\n Status: FAILED\n Error: Workflow execution failed: {'prompt_id': '9c537c12-12c1-4f97-bb69-25d6d6580489', 'node_id': '2', 'node_type': 'LoadSharpModel', 'executed': ['1'], 'exception_message': 'No module named \\'psutil\\'\\n\\nWorker traceback:\\nTraceback (most recent call last):\\n File \"/tmp/comfyui_pvenv_e2pe2jdm/persistent_worker.py\", line 1762, in main\\n result = method(**inputs)\\n ^^^^^^^^^^^^^^^^\\n File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy_api/latest/_io.py\", line 1833, in EXECUTE_NORMALIZED\\n to_return = cls.execute(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/custom_nodes/ComfyUI-Sharp/nodes/load_model.py\", line 170, in execute\\n import comfy.model_management\\n File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy/model_management.py\", line 19, in <module>\\n import psutil\\nModuleNotFoundError: No module named \\'psutil\\'\\n\\n', 'exception_type': 'comfy_env.isolation.workers.base.WorkerError', 'traceback': [' File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 535, in execute\\n output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n', ' File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 335, in get_output_data\\n return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n', ' File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 309, in _async_map_node_over_list\\n await process_inputs(input_dict, i)\\n', ' File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 297, in process_inputs\\n result = f(**inputs)\\n ^^^^^^^^^^^\\n', ' File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/.venv/lib/python3.12/site-packages/comfy_env/isolation/metadata.py\", line 536, in proxy\\n result = worker.call_method(\\n ^^^^^^^^^^^^^^^^^^^\\n', ' File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/.venv/lib/python3.12/site-packages/comfy_env/isolation/workers/subprocess.py\", line 674, in call_method\\n raise WorkerError(\\n'], 'current_inputs': {'precision': ['auto']}, 'current_outputs': ['5', '1', '4', '2'], 'timestamp': 1778445502255}\n Details: Workflow: /tmp/comfy-test-run-xykvrfzi/ComfyUI-Sharp/workflows/sharp_basic.json\nNode error: LoadSharpModel", "hardware": {"os": "Linux-6.17.0-1010-azure-x86_64-with-glibc2.39", "cpu": "AMD EPYC 9V74 80-Core Processor"}}, "sharp_exif": {"src": "", "title": "sharp_exif", "status": "fail", "duration": "6.50", "log": "Capturing execution frames: sharp_exif.json\n Frame 1 saved (frame_000.jpg, t=0.0s)\n Validating workflow...\n [ComfyUI] === /validate endpoint called ===\n [ComfyUI] === /validate endpoint called ===\n [ComfyUI] Received JSON with keys: ['prompt']\n [ComfyUI] Received JSON with keys: ['prompt']\n [ComfyUI] Prompt has 4 nodes\n [ComfyUI] Prompt has 4 nodes\n [ComfyUI] Node 2: LoadSharpModel\n [ComfyUI] Node 2: LoadSharpModel\n [ComfyUI] Inputs: {\"precision\": \"auto\"}\n [ComfyUI] Inputs: {\"precision\": \"auto\"}\n [ComfyUI] Node 7: SharpPredict\n [ComfyUI] Node 7: SharpPredict\n [ComfyUI] Inputs: {\"focal_length_mm\": [\"9\", 2], \"output_prefix\": \"sharp\", \"model\": [\"2\", 0], \"image\": [\"9\", 0]}\n [ComfyUI] Inputs: {\"focal_length_mm\": [\"9\", 2], \"output_prefix\": \"sharp\", \"model\": [\"2\", 0], \"image\": [\"9\", 0]}\n [ComfyUI] Node 8: GeomPackPreviewGaussian\n [ComfyUI] Node 8: GeomPackPreviewGaussian\n [ComfyUI] Inputs: {\"preview_gaussian\": \"\", \"ply_path\": [\"7\", 0], \"extrinsics\": [\"7\", 1], \"intrinsics\": [\"7\", 2]}\n [ComfyUI] Inputs: {\"preview_gaussian\": \"\", \"ply_path\": [\"7\", 0], \"extrinsics\": [\"7\", 1], \"intrinsics\": [\"7\", 2]}\n [ComfyUI] Node 9: LoadImageWithExif\n [ComfyUI] Node 9: LoadImageWithExif\n [ComfyUI] Inputs: {\"image\": \"eth3d.png\", \"default_focal_mm\": 30}\n [ComfyUI] Inputs: {\"image\": \"eth3d.png\", \"default_focal_mm\": 30}\n [ComfyUI] Generated prompt_id: c6945775-1801-447d-9acf-b90a35bae760\n [ComfyUI] Generated prompt_id: c6945775-1801-447d-9acf-b90a35bae760\n [ComfyUI] Calling execution.validate_prompt()...\n [ComfyUI] Calling execution.validate_prompt()...\n [ComfyUI] Validation result: valid=True\n [ComfyUI] Validation result: valid=True\n [ComfyUI] === Validation PASSED ===\n [ComfyUI] === Validation PASSED ===\n Queuing workflow for execution...\n [ComfyUI] got prompt\n [ComfyUI] got prompt\n [ComfyUI] [comfy-env] Running LoadImageWithExif: image: 'eth3d.png', default_focal_mm: 30.0\n [ComfyUI] [comfy-env] Running LoadImageWithExif: image: 'eth3d.png', default_focal_mm: 30.0\n [ComfyUI] [SubprocessWorker] call_method: nodes.load_image_exif.LoadImageWithExif.EXECUTE_NORMALIZED\n [ComfyUI] [SubprocessWorker] call_method: nodes.load_image_exif.LoadImageWithExif.EXECUTE_NORMALIZED\n [ComfyUI] [SubprocessWorker] acquired lock, ensuring started...\n [ComfyUI] [SubprocessWorker] acquired lock, ensuring started...\n [ComfyUI] [ComfyUI-Sharp] Health check: ping (timeout=5.0s)...\n [ComfyUI] [ComfyUI-Sharp] Health check: ping (timeout=5.0s)...\n [ComfyUI] [ComfyUI-Sharp] Health check: ok\n [ComfyUI] [ComfyUI-Sharp] Health check: ok\n [ComfyUI] [SubprocessWorker] worker started/confirmed\n [ComfyUI] [SubprocessWorker] worker started/confirmed\n [ComfyUI] [SubprocessWorker] serializing kwargs to shm...\n [ComfyUI] [SubprocessWorker] serializing kwargs to shm...\n [ComfyUI] [SubprocessWorker] created 0 shm blocks\n [ComfyUI] [SubprocessWorker] created 0 shm blocks\n [ComfyUI] [SubprocessWorker] sending request via socket...\n [ComfyUI] [SubprocessWorker] sending request via socket...\n [ComfyUI] [SubprocessWorker] call_id=2 sending call_method\n [ComfyUI] [SubprocessWorker] call_id=2 sending call_method\n [ComfyUI] [SubprocessWorker] got response: ok\n [ComfyUI] [SubprocessWorker] got response: ok\n [ComfyUI] [comfy-env] LoadImageWithExif done (0.30s): result: NodeOutput\n [ComfyUI] [comfy-env] LoadImageWithExif done (0.30s): result: NodeOutput\n [ComfyUI] [comfy-env] Running LoadSharpModel: precision: 'auto'\n [ComfyUI] [comfy-env] Running LoadSharpModel: precision: 'auto'\n [ComfyUI] [SubprocessWorker] call_method: nodes.load_model.LoadSharpModel.EXECUTE_NORMALIZED\n [ComfyUI] [SubprocessWorker] call_method: nodes.load_model.LoadSharpModel.EXECUTE_NORMALIZED\n [ComfyUI] [SubprocessWorker] acquired lock, ensuring started...\n [ComfyUI] [SubprocessWorker] acquired lock, ensuring started...\n [ComfyUI] [ComfyUI-Sharp] Health check: ping (timeout=5.0s)...\n [ComfyUI] [ComfyUI-Sharp] Health check: ping (timeout=5.0s)...\n [ComfyUI] [ComfyUI-Sharp] Health check: ok\n [ComfyUI] [ComfyUI-Sharp] Health check: ok\n [ComfyUI] [SubprocessWorker] worker started/confirmed\n [ComfyUI] [SubprocessWorker] worker started/confirmed\n [ComfyUI] [SubprocessWorker] serializing kwargs to shm...\n [ComfyUI] [SubprocessWorker] serializing kwargs to shm...\n [ComfyUI] [SubprocessWorker] created 0 shm blocks\n [ComfyUI] [SubprocessWorker] created 0 shm blocks\n [ComfyUI] [SubprocessWorker] sending request via socket...\n [ComfyUI] [SubprocessWorker] sending request via socket...\n [ComfyUI] [SubprocessWorker] call_id=3 sending call_method\n [ComfyUI] [SubprocessWorker] call_id=3 sending call_method\n [ComfyUI] [SubprocessWorker] got response: error\n [ComfyUI] [SubprocessWorker] got response: error\n [ComfyUI] !!! Exception during processing !!! No module named 'psutil'\n [ComfyUI] !!! Exception during processing !!! No module named 'psutil'\n [ComfyUI] \n [ComfyUI] \n [ComfyUI] Worker traceback:\n [ComfyUI] Worker traceback:\n [ComfyUI] Traceback (most recent call last):\n [ComfyUI] Traceback (most recent call last):\n [ComfyUI] File \"/tmp/comfyui_pvenv_e2pe2jdm/persistent_worker.py\", line 1762, in main\n [ComfyUI] File \"/tmp/comfyui_pvenv_e2pe2jdm/persistent_worker.py\", line 1762, in main\n [ComfyUI] result = method(**inputs)\n [ComfyUI] result = method(**inputs)\n [ComfyUI] ^^^^^^^^^^^^^^^^\n [ComfyUI] ^^^^^^^^^^^^^^^^\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy_api/latest/_io.py\", line 1833, in EXECUTE_NORMALIZED\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy_api/latest/_io.py\", line 1833, in EXECUTE_NORMALIZED\n [ComfyUI] to_return = cls.execute(*args, **kwargs)\n [ComfyUI] to_return = cls.execute(*args, **kwargs)\n [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/custom_nodes/ComfyUI-Sharp/nodes/load_model.py\", line 170, in execute\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/custom_nodes/ComfyUI-Sharp/nodes/load_model.py\", line 170, in execute\n [ComfyUI] import comfy.model_management\n [ComfyUI] import comfy.model_management\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy/model_management.py\", line 19, in <module>\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy/model_management.py\", line 19, in <module>\n [ComfyUI] import psutil\n [ComfyUI] import psutil\n [ComfyUI] ModuleNotFoundError: No module named 'psutil'\n [ComfyUI] ModuleNotFoundError: No module named 'psutil'\n [ComfyUI] \n [ComfyUI] \n [ComfyUI] Traceback (most recent call last):\n [ComfyUI] Traceback (most recent call last):\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 535, in execute\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 535, in execute\n [ComfyUI] output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n [ComfyUI] output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 335, in get_output_data\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 335, in get_output_data\n [ComfyUI] return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n [ComfyUI] return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 309, in _async_map_node_over_list\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 309, in _async_map_node_over_list\n [ComfyUI] await process_inputs(input_dict, i)\n [ComfyUI] await process_inputs(input_dict, i)\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 297, in process_inputs\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 297, in process_inputs\n [ComfyUI] result = f(**inputs)\n [ComfyUI] result = f(**inputs)\n [ComfyUI] ^^^^^^^^^^^\n [ComfyUI] ^^^^^^^^^^^\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/.venv/lib/python3.12/site-packages/comfy_env/isolation/metadata.py\", line 536, in proxy\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/.venv/lib/python3.12/site-packages/comfy_env/isolation/metadata.py\", line 536, in proxy\n [ComfyUI] result = worker.call_method(\n [ComfyUI] result = worker.call_method(\n [ComfyUI] ^^^^^^^^^^^^^^^^^^^\n [ComfyUI] ^^^^^^^^^^^^^^^^^^^\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/.venv/lib/python3.12/site-packages/comfy_env/isolation/workers/subprocess.py\", line 674, in call_method\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/.venv/lib/python3.12/site-packages/comfy_env/isolation/workers/subprocess.py\", line 674, in call_method\n [ComfyUI] raise WorkerError(\n [ComfyUI] raise WorkerError(\n [ComfyUI] comfy_env.isolation.workers.base.WorkerError: No module named 'psutil'\n [ComfyUI] comfy_env.isolation.workers.base.WorkerError: No module named 'psutil'\n [ComfyUI] \n [ComfyUI] \n [ComfyUI] Worker traceback:\n [ComfyUI] Worker traceback:\n [ComfyUI] Traceback (most recent call last):\n [ComfyUI] Traceback (most recent call last):\n [ComfyUI] File \"/tmp/comfyui_pvenv_e2pe2jdm/persistent_worker.py\", line 1762, in main\n [ComfyUI] File \"/tmp/comfyui_pvenv_e2pe2jdm/persistent_worker.py\", line 1762, in main\n [ComfyUI] result = method(**inputs)\n [ComfyUI] result = method(**inputs)\n [ComfyUI] ^^^^^^^^^^^^^^^^\n [ComfyUI] ^^^^^^^^^^^^^^^^\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy_api/latest/_io.py\", line 1833, in EXECUTE_NORMALIZED\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy_api/latest/_io.py\", line 1833, in EXECUTE_NORMALIZED\n [ComfyUI] to_return = cls.execute(*args, **kwargs)\n [ComfyUI] to_return = cls.execute(*args, **kwargs)\n [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/custom_nodes/ComfyUI-Sharp/nodes/load_model.py\", line 170, in execute\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/custom_nodes/ComfyUI-Sharp/nodes/load_model.py\", line 170, in execute\n [ComfyUI] import comfy.model_management\n [ComfyUI] import comfy.model_management\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy/model_management.py\", line 19, in <module>\n [ComfyUI] File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy/model_management.py\", line 19, in <module>\n [ComfyUI] import psutil\n [ComfyUI] import psutil\n [ComfyUI] ModuleNotFoundError: No module named 'psutil'\n [ComfyUI] ModuleNotFoundError: No module named 'psutil'\n [ComfyUI] \n [ComfyUI] \n [ComfyUI] \n [ComfyUI] \n [ComfyUI] Prompt executed in 0.32 seconds\n [ComfyUI] Prompt executed in 0.32 seconds\n Execution complete (t=0.6s)\n Execution error: {'prompt_id': '407d3be3-d24a-4270-84d9-4f1e434bc990', 'node_id': '2', 'node_type': 'LoadSharpModel', 'executed': ['9'], 'exception_message': 'No module named \\'psutil\\'\\n\\nWorker traceback:\\nTraceback (most recent call last):\\n File \"/tmp/comfyui_pvenv_e2pe2jdm/persistent_worker.py\", line 1762, in main\\n result = method(**inputs)\\n ^^^^^^^^^^^^^^^^\\n File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy_api/latest/_io.py\", line 1833, in EXECUTE_NORMALIZED\\n to_return = cls.execute(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/custom_nodes/ComfyUI-Sharp/nodes/load_model.py\", line 170, in execute\\n import comfy.model_management\\n File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy/model_management.py\", line 19, in <module>\\n import psutil\\nModuleNotFoundError: No module named \\'psutil\\'\\n\\n', 'exception_type': 'comfy_env.isolation.workers.base.WorkerError', 'traceback': [' File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 535, in execute\\n output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n', ' File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 335, in get_output_data\\n return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n', ' File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 309, in _async_map_node_over_list\\n await process_inputs(input_dict, i)\\n', ' File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 297, in process_inputs\\n result = f(**inputs)\\n ^^^^^^^^^^^\\n', ' File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/.venv/lib/python3.12/site-packages/comfy_env/isolation/metadata.py\", line 536, in proxy\\n result = worker.call_method(\\n ^^^^^^^^^^^^^^^^^^^\\n', ' File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/.venv/lib/python3.12/site-packages/comfy_env/isolation/workers/subprocess.py\", line 674, in call_method\\n raise WorkerError(\\n'], 'current_inputs': {'precision': ['auto']}, 'current_outputs': ['8', '7', '9', '2'], 'timestamp': 1778445509229}\n Status: FAILED\n Error: Workflow execution failed: {'prompt_id': '407d3be3-d24a-4270-84d9-4f1e434bc990', 'node_id': '2', 'node_type': 'LoadSharpModel', 'executed': ['9'], 'exception_message': 'No module named \\'psutil\\'\\n\\nWorker traceback:\\nTraceback (most recent call last):\\n File \"/tmp/comfyui_pvenv_e2pe2jdm/persistent_worker.py\", line 1762, in main\\n result = method(**inputs)\\n ^^^^^^^^^^^^^^^^\\n File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy_api/latest/_io.py\", line 1833, in EXECUTE_NORMALIZED\\n to_return = cls.execute(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/custom_nodes/ComfyUI-Sharp/nodes/load_model.py\", line 170, in execute\\n import comfy.model_management\\n File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/comfy/model_management.py\", line 19, in <module>\\n import psutil\\nModuleNotFoundError: No module named \\'psutil\\'\\n\\n', 'exception_type': 'comfy_env.isolation.workers.base.WorkerError', 'traceback': [' File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 535, in execute\\n output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n', ' File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 335, in get_output_data\\n return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n', ' File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 309, in _async_map_node_over_list\\n await process_inputs(input_dict, i)\\n', ' File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/ComfyUI/execution.py\", line 297, in process_inputs\\n result = f(**inputs)\\n ^^^^^^^^^^^\\n', ' File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/.venv/lib/python3.12/site-packages/comfy_env/isolation/metadata.py\", line 536, in proxy\\n result = worker.call_method(\\n ^^^^^^^^^^^^^^^^^^^\\n', ' File \"/home/runner/work/comfy-gpu-ci/comfy-gpu-ci/test_workspaces/Sharp-2035/.venv/lib/python3.12/site-packages/comfy_env/isolation/workers/subprocess.py\", line 674, in call_method\\n raise WorkerError(\\n'], 'current_inputs': {'precision': ['auto']}, 'current_outputs': ['8', '7', '9', '2'], 'timestamp': 1778445509229}\n Details: Workflow: /tmp/comfy-test-run-xykvrfzi/ComfyUI-Sharp/workflows/sharp_exif.json\nNode error: LoadSharpModel", "hardware": {"os": "Linux-6.17.0-1010-azure-x86_64-with-glibc2.39", "cpu": "AMD EPYC 9V74 80-Core Processor"}}};
const workflowNames = Object.keys(workflowData);
const videoData = {};
const inIframe = window !== window.top;
let currentWorkflow = null;
let playInterval = null;
let originalLogContent = '';
let currentFrameIndex = 0;
let currentFrames = [];
let currentTotalTime = 0;
function openLightboxByName(name) {
const w = workflowData[name];
if (w) openLightbox(w.src, w.title, w.status, w.duration, w.log, w.hardware);
}
function openLightbox(src, title, status, duration, logContent, hardware) {
document.getElementById('lightbox-img').src = src;
document.getElementById('lightbox-title').textContent = title;
currentWorkflow = title;
originalLogContent = logContent;
const badge = document.getElementById('lightbox-badge');
badge.textContent = status;
badge.className = 'lightbox-badge ' + status;
document.getElementById('lightbox-duration').textContent = duration + 's';
document.getElementById('lightbox-log').textContent = logContent || '(No log available)';
const hwEl = document.getElementById('lightbox-hardware');
if (hardware) {
const parts = [];
if (hardware.os) parts.push(hardware.os);
if (hardware.cpu) parts.push(hardware.cpu);
if (hardware.gpu) parts.push(hardware.gpu);
hwEl.textContent = parts.join(' | ');
} else {
hwEl.textContent = status === 'skipped' ? '(Did not run on this machine)' : '';
}
const data = videoData[title];
const videoPlayer = document.getElementById('video-player');
const lightboxImg = document.getElementById('lightbox-img');
const lightboxVideo = document.getElementById('lightbox-video');
// Reset both modes; the branch below activates one.
videoPlayer.classList.remove('active');
lightboxVideo.style.display = 'none';
lightboxVideo.removeAttribute('src');
lightboxImg.style.display = '';
if (data && data.mp4) {
// Playable mp4 (desktop runs). Show <video>, hide the
// frame-slideshow img + slider.
lightboxVideo.src = 'videos/' + encodeURIComponent(title) + '/' + data.mp4;
lightboxVideo.style.display = '';
lightboxImg.style.display = 'none';
} else if (data && data.frames && data.frames.length > 1) {
currentFrames = data.frames;
currentTotalTime = data.total_time || data.frames[data.frames.length - 1].time;
setupVideoSlider(data.frames, currentTotalTime);
updateVideoFrameByIndex(title, data.frames.length - 1);
videoPlayer.classList.add('active');
}
loadResourceGraph(title);
// Close image overlay if open
closeImgOverlay();
document.getElementById('lightbox').classList.add('active');
history.replaceState(null, '', '#' + encodeURIComponent(title));
// Notify parent frames for deep linking
if (inIframe) {
window.parent.postMessage({ type: 'comfytest-open', name: title }, '*');
}
}
function buildSliderRange(frames, totalTime) {
const range = { 'min': frames[0].time };
frames.forEach((frame, idx) => {
if (idx > 0 && idx < frames.length - 1) {
const pct = (frame.time / totalTime * 100).toFixed(1) + '%';
range[pct] = frame.time;
}
});
range['max'] = frames[frames.length - 1].time;
return range;
}
function setupVideoSlider(frames, totalTime) {
const sliderEl = document.getElementById('video-slider');
if (sliderEl.noUiSlider) {
sliderEl.noUiSlider.destroy();
}
const range = buildSliderRange(frames, totalTime);
noUiSlider.create(sliderEl, {
start: frames[frames.length - 1].time,
snap: true,
range: range,
pips: {
mode: 'range',
density: 100
}
});
sliderEl.noUiSlider.on('update', function(values) {
const time = parseFloat(values[0]);
const frameIdx = frames.findIndex(f => Math.abs(f.time - time) < 0.01);
if (frameIdx >= 0 && frameIdx !== currentFrameIndex) {
currentFrameIndex = frameIdx;
showFrame(currentWorkflow, frameIdx);
}
});
}
function showFrame(workflowName, frameIndex) {
const data = videoData[workflowName];
if (!data || !data.frames) return;
const frame = data.frames[frameIndex];
const img = document.getElementById('lightbox-img');
const isLastFrame = frameIndex === data.frames.length - 1;
if (isLastFrame && workflowData[workflowName] && workflowData[workflowName].src) {
img.src = workflowData[workflowName].src;
} else {
img.src = 'videos/' + workflowName + '/' + frame.file;
}
const counter = document.getElementById('video-frame-counter');
const totalTime = data.total_time || data.frames[data.frames.length - 1].time;
counter.textContent = frame.time.toFixed(1) + 's / ' + totalTime.toFixed(1) + 's';
const logEl = document.getElementById('lightbox-log');
if (frame.log) {
logEl.textContent = frame.log;
logEl.scrollTop = logEl.scrollHeight;
}
}
function updateVideoFrameByIndex(workflowName, frameIndex) {
currentFrameIndex = frameIndex;
showFrame(workflowName, frameIndex);
const sliderEl = document.getElementById('video-slider');
if (sliderEl.noUiSlider && currentFrames[frameIndex]) {
sliderEl.noUiSlider.set(currentFrames[frameIndex].time);
}
}
function toggleVideoPlay() {
const btn = document.getElementById('video-play-btn');
if (playInterval) {
clearInterval(playInterval);
playInterval = null;
btn.innerHTML = '&#9654; Play';
} else {
btn.innerHTML = '&#9632; Stop';
playInterval = setInterval(() => {
if (!currentFrames.length) return;
currentFrameIndex = (currentFrameIndex + 1) % currentFrames.length;
updateVideoFrameByIndex(currentWorkflow, currentFrameIndex);
}, 500);
}
}
let resourceGraphState = null;
async function loadResourceGraph(workflowName) {
const graphContainer = document.getElementById('resource-graph');
const canvas = document.getElementById('resource-canvas');
const gpuLegend = document.getElementById('gpu-legend');
resourceGraphState = null;
try {
const csvResponse = await fetch('logs/' + workflowName + '_resources.csv');
if (!csvResponse.ok) {
graphContainer.classList.remove('active');
return;
}
const text = await csvResponse.text();
const allLines = text.trim().split('\n');
let totalRamGb = 32;
if (allLines[0].startsWith('#')) {
const metaMatch = allLines[0].match(/total_ram_gb=([\d.]+)/);
if (metaMatch) {
totalRamGb = parseFloat(metaMatch[1]);
}
}
const dataLines = allLines.slice(2);
if (dataLines.length < 2) {
graphContainer.classList.remove('active');
return;
}
const data = dataLines.map(line => {
const [t, ram, vram] = line.split(',');
return {
t: parseFloat(t),
ram: parseFloat(ram),
vram: vram ? parseFloat(vram) : null
};
});
const hasVram = data.some(d => d.vram !== null);
gpuLegend.style.display = hasVram ? 'flex' : 'none';
graphContainer.classList.add('active');
await new Promise(r => setTimeout(r, 10));
const ctx = canvas.getContext('2d');
const dpr = window.devicePixelRatio || 1;
const rect = canvas.getBoundingClientRect();
canvas.width = rect.width * dpr;
canvas.height = rect.height * dpr;
ctx.scale(dpr, dpr);
const w = rect.width;
const h = rect.height;
const padding = { top: 10, right: 40, bottom: 20, left: 45 };
const graphW = w - padding.left - padding.right;
const graphH = h - padding.top - padding.bottom;
const maxRam = Math.max(...data.map(d => d.ram), 0.5);
const maxVram = hasVram ? Math.max(...data.filter(d => d.vram !== null).map(d => d.vram), 0.5) : 1;
const maxTime = data[data.length - 1].t;
resourceGraphState = { data, padding, w, h, graphW, graphH, maxRam, maxVram, maxTime, hasVram, dpr };
drawResourceGraph();
} catch (e) {
console.error('Resource graph error:', e);
graphContainer.classList.remove('active');
}
}
function drawResourceGraph(hoverX) {
if (!resourceGraphState) return;
const { data, padding, w, h, graphW, graphH, maxRam, maxVram, maxTime, hasVram, dpr } = resourceGraphState;
const canvas = document.getElementById('resource-canvas');
const ctx = canvas.getContext('2d');
ctx.setTransform(dpr, 0, 0, dpr, 0, 0);
ctx.clearRect(0, 0, w, h);
// Grid lines
ctx.strokeStyle = '#1c2d44';
ctx.lineWidth = 0.5;
for (let i = 1; i < 4; i++) {
const y = padding.top + (graphH * i / 4);
ctx.beginPath();
ctx.moveTo(padding.left, y);
ctx.lineTo(w - padding.right, y);
ctx.stroke();
}
// Axes
ctx.strokeStyle = '#243656';
ctx.lineWidth = 1;
ctx.beginPath();
ctx.moveTo(padding.left, padding.top);
ctx.lineTo(padding.left, h - padding.bottom);
ctx.lineTo(w - padding.right, h - padding.bottom);
ctx.lineTo(w - padding.right, padding.top);
ctx.stroke();
// Left axis: RAM
ctx.fillStyle = '#3fb950';
ctx.font = '9px sans-serif';
ctx.textAlign = 'right';
const ramMax = Math.ceil(maxRam * 10) / 10;
ctx.fillText(ramMax.toFixed(1) + ' GB', padding.left - 3, padding.top + 4);
ctx.fillText('0', padding.left - 3, h - padding.bottom + 4);
// Right axis: VRAM (if present)
if (hasVram) {
ctx.fillStyle = '#d29922';
ctx.textAlign = 'left';
const vramMax = Math.ceil(maxVram * 10) / 10;
ctx.fillText(vramMax.toFixed(1) + ' GB', w - padding.right + 3, padding.top + 4);
ctx.fillText('0', w - padding.right + 3, h - padding.bottom + 4);
}
// Time labels
ctx.fillStyle = '#4a6282';
ctx.textAlign = 'center';
ctx.fillText('0s', padding.left, h - padding.bottom + 12);
ctx.fillText(maxTime.toFixed(0) + 's', w - padding.right, h - padding.bottom + 12);
function drawLine(values, maxVal, color) {
if (values.every(v => v === null || isNaN(v))) return;
ctx.strokeStyle = color;
ctx.lineWidth = 1.5;
ctx.beginPath();
let started = false;
data.forEach((d, i) => {
const val = values[i];
if (val === null || isNaN(val)) return;
const x = padding.left + (d.t / maxTime) * graphW;
const y = padding.top + (1 - val / maxVal) * graphH;
if (!started) { ctx.moveTo(x, y); started = true; }
else { ctx.lineTo(x, y); }
});
ctx.stroke();
}
drawLine(data.map(d => d.ram), ramMax, '#3fb950');
if (hasVram) {
drawLine(data.map(d => d.vram), Math.ceil(maxVram * 10) / 10, '#d29922');
}
// Hover crosshair
if (hoverX !== undefined && hoverX >= padding.left && hoverX <= w - padding.right) {
const timeAtCursor = ((hoverX - padding.left) / graphW) * maxTime;
let closest = data[0], closestDist = Infinity;
for (const d of data) {
const dist = Math.abs(d.t - timeAtCursor);
if (dist < closestDist) { closestDist = dist; closest = d; }
}
const snapX = padding.left + (closest.t / maxTime) * graphW;
// Vertical line
ctx.strokeStyle = 'rgba(230,237,243,0.2)';
ctx.lineWidth = 1;
ctx.beginPath();
ctx.moveTo(snapX, padding.top);
ctx.lineTo(snapX, h - padding.bottom);
ctx.stroke();
// Readout
ctx.font = '10px sans-serif';
ctx.textAlign = 'left';
const readoutX = snapX + 6;
let readoutY = padding.top + 14;
ctx.fillStyle = '#8ba3c1';
ctx.fillText(closest.t.toFixed(1) + 's', readoutX, readoutY);
readoutY += 13;
ctx.fillStyle = '#3fb950';
ctx.fillText('RAM: ' + closest.ram.toFixed(2) + ' GB', readoutX, readoutY);
readoutY += 13;
if (hasVram && closest.vram !== null) {
ctx.fillStyle = '#d29922';
ctx.fillText('VRAM: ' + closest.vram.toFixed(2) + ' GB', readoutX, readoutY);
}
}
}
// Canvas hover handler
document.getElementById('resource-canvas').addEventListener('mousemove', function(e) {
if (!resourceGraphState) return;
const rect = this.getBoundingClientRect();
drawResourceGraph(e.clientX - rect.left);
});
document.getElementById('resource-canvas').addEventListener('mouseleave', function() {
drawResourceGraph();
});
function closeImgOverlay() {
const overlay = document.getElementById('img-overlay');
overlay.classList.remove('active', 'zoomed');
}
function closeLightbox() {
if (playInterval) {
clearInterval(playInterval);
playInterval = null;
document.getElementById('video-play-btn').innerHTML = '&#9654; Play';
}
closeImgOverlay();
document.getElementById('resource-graph').classList.remove('active');
document.getElementById('lightbox').classList.remove('active');
history.replaceState(null, '', window.location.pathname);
if (inIframe) {
window.parent.postMessage({ type: 'comfytest-close' }, '*');
}
}
document.getElementById('lightbox').onclick = (e) => {
if (e.target.id === 'lightbox') closeLightbox();
};
function navigateLightbox(delta) {
if (workflowNames.length === 0) return;
const idx = workflowNames.indexOf(currentWorkflow);
if (idx === -1) return;
const newIdx = (idx + delta + workflowNames.length) % workflowNames.length;
openLightboxByName(workflowNames[newIdx]);
}
function handleKey(key) {
const overlay = document.getElementById('img-overlay');
if (key === 'Escape') {
if (overlay.classList.contains('active')) {
closeImgOverlay();
} else {
closeLightbox();
}
return;
}
if (document.getElementById('lightbox').classList.contains('active') && !overlay.classList.contains('active')) {
if (key === 'ArrowLeft') { navigateLightbox(-1); }
if (key === 'ArrowRight') { navigateLightbox(1); }
if ((key === 'ArrowUp' || key === 'ArrowDown') && inIframe) {
window.parent.postMessage({
type: 'comfytest-platform-shift',
delta: key === 'ArrowUp' ? -1 : 1,
workflow: currentWorkflow,
}, '*');
}
}
}
document.onkeydown = (e) => {
if (['Escape', 'ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown'].includes(e.key)) {
e.preventDefault();
handleKey(e.key);
}
};
// Click lightbox image -> open in fullscreen overlay (fit mode)
document.getElementById('lightbox-img').addEventListener('click', function(e) {
e.stopPropagation();
const overlay = document.getElementById('img-overlay');
const overlayImg = document.getElementById('img-overlay-content');
overlayImg.src = this.src;
overlay.classList.add('active');
overlay.classList.remove('zoomed');
});
// Click overlay image: fit -> zoomed -> close
document.getElementById('img-overlay-content').addEventListener('click', function(e) {
e.stopPropagation();
const overlay = document.getElementById('img-overlay');
if (overlay.classList.contains('zoomed')) {
closeImgOverlay();
} else {
overlay.classList.add('zoomed');
}
});
// Click overlay background -> close overlay
document.getElementById('img-overlay').addEventListener('click', function(e) {
if (e.target === this) closeImgOverlay();
});
function openFromHash() {
const hash = decodeURIComponent(window.location.hash.slice(1));
if (hash && workflowData[hash]) {
const w = workflowData[hash];
openLightbox(w.src, w.title, w.status, w.duration, w.log, w.hardware);
}
}
window.addEventListener('hashchange', openFromHash);
window.addEventListener('load', openFromHash);
// Listen for messages from parent frames
window.addEventListener('message', function(e) {
if (!e.data || !e.data.type) return;
if (e.data.type === 'comfytest-open' && e.data.name) {
openLightboxByName(e.data.name);
}
if (e.data.type === 'comfytest-key') {
handleKey(e.data.key);
}
});
// Detect iframe: hide header and move meta chips into summary
if (inIframe) {
document.body.classList.add('in-iframe');
const chips = document.querySelector('.meta-chips');
const summary = document.querySelector('.summary');
if (chips && summary) {
const wrapper = document.createElement('div');
wrapper.className = 'summary-meta';
while (chips.firstChild) wrapper.appendChild(chips.firstChild);
summary.insertBefore(wrapper, summary.firstChild);
}
}
</script>
</body>
</html>