GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — siphon.cpp/siphon-desktop-v3.html at main · Manohar20006/siphon.cpp Expand file tree/ Copy pathsiphon-desktop-v3.htmlMore file actions 125 lines (125 loc) · 46.1 KB / Copy pathsiphon-desktop-v3.htmlFile metadata and controls125 lines (125 loc) · 46.1 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta name="color-scheme" content="dark"> <title>Siphon Studio — Flow Chamber</title> <style> :root{ --void:#07070d;--shell:#0b0a13;--panel:#11101d;--panel-2:#151226; --line:#ffffff12;--line-strong:#b992ff30;--text:#f1edff;--muted:#9b95b2;--dim:#655f78; --purple:#9764ff;--purple-hi:#c5a5ff;--purple-low:#55308f;--yellow:#f0b94d; --blue:#37bdff;--green:#3fe5a2;--red:#ff5877;--cyan:#68d7f0; --font:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif; --mono:'SFMono-Regular',Consolas,'Liberation Mono',monospace;--gap:13px;--radius:12px; } *{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden}body{background:var(--void);color:var(--text);font:12px/1.35 var(--font)} button,select,input{font:inherit;color:inherit}button,select{cursor:pointer}button{border:1px solid #ffffff18;background:#ffffff06;border-radius:6px;padding:7px 10px;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}button:hover{background:#9968ff1a;border-color:#a879ff70}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--blue);outline-offset:2px}button.primary{background:linear-gradient(135deg,#a676ff,#7340eb);border-color:#c7a4ff62;box-shadow:0 5px 20px #6233d638;font-weight:600}button.primary:hover{filter:brightness(1.12)}svg{display:block}button svg,.nav-button svg{width:16px;height:16px}h1,h2,h3,p{margin:0}h1{font-size:16px;font-weight:580}h2{font-size:13px;font-weight:600}h3{font-size:11px;font-weight:600}.row{display:flex;align-items:center;gap:8px;min-width:0}.between{justify-content:space-between}.mono{font-family:var(--mono);font-variant-numeric:tabular-nums}.muted{color:var(--muted)}.dim{color:var(--dim)}.purple{color:var(--purple-hi)}.yellow{color:var(--yellow)}.green{color:var(--green)}.red{color:var(--red)}.blue{color:var(--blue)}.led{display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor;box-shadow:0 0 8px currentColor}.eyebrow{font:9px var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.badge{display:inline-flex;align-items:center;gap:6px;padding:4px 7px;border:1px solid #9b71ff2b;border-radius:5px;background:#8351d50c;font:9px var(--mono);color:var(--purple-hi);white-space:nowrap}.badge.live{color:var(--green);border-color:#42dda32b;background:#42dda309}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important} #stage{position:absolute;inset:0;transform-origin:top left;background:radial-gradient(ellipse at 64% -20%,#58299631,transparent 57%),linear-gradient(135deg,#090812,#07070d 72%);display:grid;grid-template-rows:38px minmax(0,1fr) 22px;width:100%;height:100%} .titlebar{display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid var(--line);background:#0b0913;font:9px var(--mono);color:var(--muted)}.titlebar .brand{font:12px var(--font);font-weight:600;color:var(--text)}.app-logo{width:22px;height:22px;display:grid;place-items:center;border-radius:6px;background:linear-gradient(135deg,#b786ff,#6d36e1);box-shadow:0 0 16px #8b54f340}.app-logo svg{width:15px;height:15px}.title-center{display:flex;align-items:center;gap:12px}.title-center i{height:11px;border-left:1px solid #ffffff1a}.prototype{color:#a88bd6;letter-spacing:.07em} .shell{display:grid;grid-template-columns:70px minmax(0,1fr);min-height:0}.rail{border-right:1px solid var(--line);background:linear-gradient(180deg,#0f0c19,#090810);display:flex;flex-direction:column;align-items:center;padding:17px 9px 11px;gap:20px;min-height:0}.rail-mark{width:36px;height:43px;color:var(--purple-hi)}.rail nav{display:flex;flex-direction:column;gap:8px;width:100%}.nav-button{position:relative;border:0;background:transparent;color:var(--muted);width:100%;height:42px;padding:0}.nav-button:hover{color:var(--text);background:#ffffff06}.nav-button.selected{color:var(--purple-hi);background:linear-gradient(90deg,#9b69ff20,#9b69ff08);box-shadow:inset 2px 0 var(--purple)}.nav-button .tip{display:none;position:absolute;left:53px;z-index:30;padding:6px 8px;background:#1c172b;border:1px solid #aa83ff40;border-radius:5px;color:var(--text);font:10px var(--font);box-shadow:0 8px 25px #0008;white-space:nowrap}.nav-button:hover .tip{display:block}.rail-status{margin-top:auto;width:34px;height:34px;border-radius:50%;border:1px solid #46e2a32c;background:#3fe5a20a;display:grid;place-items:center;color:var(--green)}.rail-version{font:8px var(--mono);color:var(--dim)} .main{min-height:0;min-width:0;padding:0 17px 11px;display:grid;grid-template-rows:53px minmax(0,1fr)}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.toolbar-left{display:flex;align-items:center;gap:11px}.toolbar-left>span{color:var(--dim);font:9px var(--mono)}.model-select{max-width:270px;background:#121020;border:1px solid #aa7fff30;border-radius:6px;padding:7px 9px;font-size:10px}.model-select option{background:#151124}.toolbar-actions{display:flex;align-items:center;gap:7px}.toolbar-actions button{font-size:10px}.dashboard{min-height:0;min-width:0;display:grid;grid-template-rows:minmax(126px,.68fr) minmax(310px,1.75fr) minmax(175px,1fr);gap:var(--gap)} .card{position:relative;min-height:0;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(145deg,#151225e8,#0f0e19f2);box-shadow:0 7px 25px #0000001f}.card:before{content:'';position:absolute;left:12%;right:12%;top:0;height:1px;background:linear-gradient(90deg,transparent,#b992ff42,transparent);pointer-events:none}.metric-grid{display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr;gap:var(--gap);min-height:0}.metric{padding:16px 17px 13px;display:flex;flex-direction:column;justify-content:space-between;gap:5px}.metric.hero{background:radial-gradient(ellipse at 0 0,#8045e53d,transparent 88%),linear-gradient(145deg,#1c1433,#12101f);border-color:#aa7cff39}.metric:after{content:'';position:absolute;right:-18px;top:-45px;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,#9161f417,transparent 69%);pointer-events:none}.metric-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.metric-name{font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:600}.metric-icon{width:23px;height:23px;display:grid;place-items:center;border-radius:6px;background:#9d70ff13;color:var(--purple-hi)}.metric-icon svg{width:14px;height:14px}.metric-value{display:flex;align-items:baseline;gap:7px}.metric-value strong{font-size:clamp(27px,2.3vw,40px);line-height:1;font-weight:540;letter-spacing:-1.3px;font-variant-numeric:tabular-nums;white-space:nowrap}.metric-value span{font-size:10px;color:var(--muted);white-space:nowrap}.metric-sub{display:flex;align-items:center;justify-content:space-between;gap:5px;font:9px var(--mono);color:var(--muted);white-space:nowrap}.metric-sub b{font-weight:500;color:var(--text)}.metric-foot{display:flex;align-items:center;justify-content:space-between;gap:6px;padding-top:6px;border-top:1px solid #ffffff09;color:var(--dim);font:8px var(--mono);white-space:nowrap}.spark{height:25px;min-height:10px;max-height:43px;width:100%;flex:1}.seg-meter{height:5px;display:flex;gap:2px;background:#090813;border-radius:4px;overflow:hidden}.seg-meter i{height:100%;display:block}.seg-meter .dense{width:35%;background:#57476f}.seg-meter .kv{width:10%;background:#8674a5}.seg-meter .experts{width:46%;background:linear-gradient(90deg,#7541db,#af7eff)}.seg-meter .free{flex:1;background:#262032}.bars{height:24px;max-height:39px;min-height:12px;display:flex;align-items:flex-end;gap:3px;flex:1}.bars i{flex:1;min-width:0;border-radius:2px 2px 0 0;background:linear-gradient(#af87ff,#6944a36e)}.queue{height:24px;max-height:39px;min-height:12px;display:grid;grid-template-columns:repeat(16,1fr);grid-template-rows:1fr 1fr;gap:3px;flex:1}.queue i{background:#272135;border-radius:2px}.queue i.busy{background:#7d51bf;box-shadow:0 0 5px #9267dc42} .content-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:var(--gap);min-height:0}.panel{padding:15px 16px;display:flex;flex-direction:column;gap:10px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:24px;flex-shrink:0}.panel-title{display:flex;align-items:center;gap:8px}.panel-title svg{width:16px;height:16px;color:var(--purple-hi)}.panel-title p{font:8px var(--mono);color:var(--dim);margin-top:1px}.request-meta{display:flex;align-items:center;gap:13px;font:9px var(--mono);color:var(--muted)}.request-meta b{font-weight:500;color:var(--text)} .chamber{background:radial-gradient(ellipse at 72% 50%,#6b3cbe1f,transparent 44%),linear-gradient(160deg,#0d0b17,#0a0912);border:1px solid #a47dff1d;border-radius:9px;min-height:0;flex:1;display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:13px;padding:13px}.source-lanes{display:grid;grid-template-rows:repeat(3,1fr);gap:8px;min-height:0}.lane{position:relative;min-width:0;border:1px solid #a273ff27;border-radius:7px;background:linear-gradient(90deg,#7d4ad51a,#141022 70%);display:grid;grid-template-columns:130px minmax(0,1fr) 90px;align-items:center;gap:9px;padding:8px 10px;overflow:hidden}.lane.ram-lane{border-color:#f0b94d27;background:linear-gradient(90deg,#a9782215,#141022 70%)}.lane.ssd-lane{border-color:#68729025;background:linear-gradient(90deg,#26334a1d,#12101d 70%)}.lane:after{content:'';position:absolute;right:-7px;top:50%;width:16px;border-top:1px solid var(--purple);opacity:.7}.lane.ram-lane:after{border-color:var(--yellow)}.lane.ssd-lane:after{border-color:var(--blue)}.lane-name{display:flex;align-items:center;gap:8px;min-width:0}.lane-code{width:28px;height:28px;border-radius:6px;display:grid;place-items:center;border:1px solid #af83ff3b;color:var(--purple-hi);font:9px var(--mono);flex-shrink:0}.ram-lane .lane-code{color:var(--yellow);border-color:#f0b94d3b}.ssd-lane .lane-code{color:var(--blue);border-color:#55c8ff32}.lane-name h3{white-space:nowrap}.lane-name p{font:8px var(--mono);color:var(--dim);white-space:nowrap}.experts{display:flex;align-items:center;gap:5px;min-width:0;overflow:hidden}.expert-pill{min-width:38px;padding:5px 6px;border-radius:5px;border:1px solid #ae7fff40;background:#8653df20;color:#d4baff;font:9px var(--mono);text-align:center}.expert-pill.ram{color:#ffe0a0;background:#b7801b20;border-color:#f0b94d4a}.expert-pill.ssd{color:#b4e9ff;background:#27789b1a;border-color:#55c9ff3e}.expert-pill.in-flight{color:#ffd0d8;background:#ff486b20;border-color:#ff587780;box-shadow:0 0 10px #ff58771f}.expert-pill.arrived{color:#b6ffdd;background:#29d78d18;border-color:#3fe5a255;box-shadow:0 0 9px #3fe5a214}.lane-stat{text-align:right;font:9px var(--mono);color:var(--muted);white-space:nowrap}.lane-stat strong{display:block;font-size:16px;font-weight:520;color:var(--purple-hi)}.ram-lane .lane-stat strong{color:var(--yellow)}.ssd-lane .lane-stat strong{color:#bdeaff} .gpu-core{border:1px solid #ae84ff3a;border-radius:8px;background:radial-gradient(circle,#773bc23c,#211331 58%,#100d1b 59%);display:flex;align-items:center;justify-content:center;text-align:center;position:relative;overflow:hidden;min-height:0}.gpu-core:before,.gpu-core:after{content:'';position:absolute;border:1px solid #a96fff33;border-radius:50%;width:91px;height:91px}.gpu-core:after{width:68px;height:68px;border-color:#38bdff3d}.core-content{position:relative;z-index:1}.core-content svg{width:21px;height:21px;margin:0 auto 7px;color:var(--purple-hi)}.core-content strong{display:block;font-size:24px;font-weight:520;line-height:1}.core-content span{display:block;font:8px var(--mono);color:var(--muted);margin-top:4px}.core-content .core-state{color:var(--green);margin-top:10px}.chamber-foot{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;flex-shrink:0}.progress-track{height:4px;background:#251e32;border-radius:5px;overflow:hidden}.progress-track i{display:block;height:100%;background:linear-gradient(90deg,var(--purple),var(--blue));width:0}.chamber-caption{font:8px var(--mono);color:var(--muted);white-space:nowrap} .telemetry{background:radial-gradient(ellipse at 100% 0,#5b309c1f,transparent 65%),linear-gradient(145deg,#151225,#0f0e1a)}.telemetry-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:1fr 1fr 1fr;gap:8px;min-height:0;flex:1}.telemetry-cell{position:relative;grid-column:span 2;min-width:0;min-height:0;border:1px solid #a37bff1b;border-radius:7px;background:linear-gradient(145deg,#1a152b99,#0f0e19);padding:10px;display:flex;flex-direction:column;justify-content:space-between;gap:4px}.telemetry-cell.wide{grid-column:span 3}.telemetry-cell.featured{border-color:#a67cff35;background:radial-gradient(ellipse at 0 0,#7441ca26,transparent 88%),#151023}.telemetry-label{font:8px var(--mono);letter-spacing:.06em;color:var(--muted);text-transform:uppercase}.telemetry-value{font-size:clamp(17px,1.6vw,27px);font-weight:520;letter-spacing:-.6px;font-variant-numeric:tabular-nums;white-space:nowrap}.telemetry-value small{font:9px var(--mono);color:var(--muted);letter-spacing:0}.telemetry-foot{display:flex;align-items:center;justify-content:space-between;gap:4px;font:8px var(--mono);color:var(--dim)}.micro{height:3px;background:#2b2439;border-radius:3px;overflow:hidden;margin-top:3px}.micro i{display:block;height:100%;background:var(--purple);width:84%}.telemetry-cell.l2 .micro i{background:var(--yellow);width:13%}.telemetry-cell.draft .micro i{background:var(--green);width:84%} .bottom-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:var(--gap);min-height:0}.trace{padding:13px 16px;display:flex;flex-direction:column;gap:8px}.trace-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.trace-board{display:grid;grid-template-columns:repeat(12,1fr);gap:6px;min-height:0;flex:1}.trace-column{display:flex;flex-direction:column;justify-content:flex-end;gap:2px;min-width:0}.trace-bar{display:flex;flex-direction:column-reverse;min-height:30px;flex:1;border-radius:4px;overflow:hidden;background:#201b2b}.trace-bar i{display:block;width:100%}.trace-bar .l1{background:var(--purple)}.trace-bar .l2{background:var(--yellow)}.trace-bar .ssd{background:#516079}.trace-column span{text-align:center;font:7px var(--mono);color:var(--dim)}.trace-column.current span{color:var(--blue)}.trace-column.current .trace-bar{outline:1px solid #38bdff70;box-shadow:0 0 9px #38bdff1b}.trace-legend{display:flex;align-items:center;gap:12px;font:8px var(--mono);color:var(--muted)}.trace-legend i{width:6px;height:6px;border-radius:1px;display:inline-block;margin-right:4px} .controls-panel{padding:13px 16px;display:flex;flex-direction:column;gap:9px}.budget-row{display:grid;grid-template-columns:82px minmax(0,1fr) 78px;align-items:center;gap:9px;font-size:9px;color:var(--muted)}.budget-row input{width:100%;height:11px;accent-color:var(--purple)}.budget-row.ram input{accent-color:var(--yellow)}.budget-row output{font:9px var(--mono);text-align:right;color:var(--purple-hi);white-space:nowrap}.budget-row.ram output{color:var(--yellow)}.control-divider{height:1px;background:var(--line)}.engine-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;min-height:0;flex:1}.fact{background:#0e0c18;border:1px solid #ffffff0d;border-radius:6px;padding:8px;display:flex;flex-direction:column;justify-content:center}.fact span{font:8px var(--mono);color:var(--dim)}.fact strong{font:11px var(--mono);font-weight:500;color:var(--text);margin-top:3px;white-space:nowrap}.control-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;font:8px var(--mono);color:var(--dim)} .footer{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:0 12px;border-top:1px solid var(--line);background:#090710;color:var(--dim);font:8px var(--mono)}.footer .row{gap:13px}.footer-event{max-width:55%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.playback{background:#140f20;border:1px solid #956eff24;border-radius:4px;font:8px var(--mono);height:17px;padding:0 4px}.playback option{background:#151022}.toast{position:absolute;bottom:32px;left:50%;transform:translateX(-50%);z-index:50;padding:9px 14px;border:1px solid #a783ff55;border-radius:7px;background:#1f162f;box-shadow:0 12px 34px #0009;font-size:10px}.other-view{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border:1px solid var(--line);border-radius:var(--radius);background:radial-gradient(ellipse,#6437ae20,transparent 66%)}.other-view svg{width:34px;height:34px;color:var(--purple)}.other-view h2{font-size:21px}.other-view p{font-size:11px;color:var(--muted);max-width:360px;text-align:center}.model-buttons{display:flex;gap:8px}.logs{max-height:55%;max-width:85%;overflow:auto;white-space:pre-wrap;font:10px/1.7 var(--mono);color:var(--purple-hi)} @media(min-width:1700px) and (min-height:1000px){:root{--gap:17px;--radius:14px}.shell{grid-template-columns:82px minmax(0,1fr)}.main{padding:0 24px 17px;grid-template-rows:67px minmax(0,1fr)}.dashboard{grid-template-rows:minmax(155px,.68fr) minmax(390px,1.75fr) minmax(215px,1fr)}.metric{padding:22px}.metric-name{font-size:11px}.metric-sub{font-size:11px}.metric-foot{font-size:9px}.metric-icon{width:29px;height:29px}.panel{padding:21px;gap:14px}.panel-title h2{font-size:16px}.panel-title p{font-size:9px}.badge{font-size:10px}.chamber{padding:18px;gap:18px;grid-template-columns:minmax(0,1fr) 155px}.lane{padding:11px 13px;grid-template-columns:170px minmax(0,1fr) 110px}.lane-code{width:34px;height:34px}.lane-name h3{font-size:13px}.lane-name p,.lane-stat{font-size:10px}.lane-stat strong{font-size:21px}.expert-pill{padding:7px 8px;font-size:10px;min-width:45px}.gpu-core:before{width:120px;height:120px}.gpu-core:after{width:88px;height:88px}.core-content strong{font-size:31px}.core-content span{font-size:10px}.telemetry-grid{gap:11px}.telemetry-cell{padding:14px}.telemetry-label{font-size:10px}.telemetry-value small{font-size:10px}.telemetry-foot{font-size:9px}.trace,.controls-panel{padding:18px 21px;gap:12px}.budget-row{grid-template-columns:110px minmax(0,1fr) 100px;font-size:11px}.budget-row output{font-size:10px}.fact{padding:11px}.fact span{font-size:9px}.fact strong{font-size:13px}.trace-legend{font-size:9px}.titlebar{padding:0 20px}} @media(max-width:1400px){:root{--gap:9px;--radius:9px}.shell{grid-template-columns:57px minmax(0,1fr)}.rail{padding:13px 6px}.rail-mark{width:28px;height:35px}.main{padding:0 10px 8px;grid-template-rows:45px minmax(0,1fr)}.dashboard{grid-template-rows:minmax(112px,.66fr) minmax(270px,1.7fr) minmax(155px,1fr)}.metric{padding:11px 12px 9px}.metric-value strong{font-size:27px}.metric-value span{font-size:9px}.metric-sub{font-size:8px}.metric-foot{font-size:7px}.panel{padding:11px 12px;gap:7px}.panel-title h2{font-size:11px}.panel-title p{display:none}.chamber{padding:8px;gap:8px;grid-template-columns:minmax(0,1fr) 90px}.lane{padding:6px 7px;grid-template-columns:105px minmax(0,1fr) 67px;gap:5px}.lane-code{width:23px;height:23px}.lane-name h3{font-size:9px}.lane-name p{font-size:7px}.expert-pill{min-width:31px;padding:4px;font-size:7px}.lane-stat{font-size:7px}.lane-stat strong{font-size:13px}.gpu-core:before{width:67px;height:67px}.gpu-core:after{width:49px;height:49px}.core-content strong{font-size:18px}.core-content span{font-size:7px}.telemetry-grid{gap:5px}.telemetry-cell{padding:7px}.telemetry-label{font-size:7px}.telemetry-value{font-size:17px}.telemetry-value small,.telemetry-foot{font-size:7px}.trace,.controls-panel{padding:9px 11px;gap:6px}.budget-row{grid-template-columns:70px minmax(0,1fr) 65px;gap:6px;font-size:8px}.budget-row output{font-size:8px}.fact{padding:5px}.fact span{font-size:7px}.fact strong{font-size:9px}.trace-board{gap:3px}.trace-legend{font-size:7px}.toolbar-actions button{font-size:8px;padding:6px 8px}.model-select{font-size:9px}.title-center{font-size:8px}} @media(max-height:800px){#stage{grid-template-rows:31px minmax(0,1fr) 18px}.main{grid-template-rows:42px minmax(0,1fr)}.dashboard{grid-template-rows:minmax(105px,.64fr) minmax(255px,1.65fr) minmax(145px,.93fr)}.rail{gap:13px;padding-top:11px}.nav-button{height:36px}.metric{gap:3px}.metric-head{min-height:15px}.metric-icon{width:18px;height:18px}.metric-icon svg{width:11px;height:11px}.metric-value strong{font-size:25px}.metric-foot{padding-top:3px}.spark{height:19px}.bars,.queue{height:17px}.panel{gap:6px}.panel-head{min-height:18px}.lane{padding-top:4px;padding-bottom:4px}.lane-code{width:21px;height:21px}.lane-name p{display:none}.chamber-foot{display:none}.telemetry-cell{gap:2px}.micro{margin-top:1px}.budget-row input{height:8px}.engine-facts{gap:4px}.fact{padding:4px}.control-divider{display:none}.titlebar{font-size:8px}} @media(max-width:1080px){.title-center span:nth-of-type(2),.title-center i:nth-of-type(2){display:none}.metric-value strong{font-size:23px}.lane{grid-template-columns:88px minmax(0,1fr) 57px}.lane-code{display:none}.content-grid{grid-template-columns:1.4fr 1fr}} .metric-value>strong>span{font-size:inherit;color:inherit;white-space:inherit} .metric:after{right:0;width:102px} </style> </head> <body> <svg class="sr" aria-hidden="true"><defs> <symbol id="i-logo" viewBox="0 0 24 24"><path d="M19 4H9a5 5 0 0 0 0 10h6a3 3 0 0 1 0 6H5M15 1v6M9 17v6"/></symbol> <symbol id="i-grid" viewBox="0 0 24 24"><rect x="3" y="3" width="7" height="7" rx="1"/><rect x="14" y="3" width="7" height="7" rx="1"/><rect x="3" y="14" width="7" height="7" rx="1"/><rect x="14" y="14" width="7" height="7" rx="1"/></symbol> <symbol id="i-chat" viewBox="0 0 24 24"><path d="M5 4h14a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H8l-5 3V6a2 2 0 0 1 2-2Z"/><path d="M7 9h10M7 13h6"/></symbol> <symbol id="i-layers" viewBox="0 0 24 24"><path d="m12 3 10 5-10 5L2 8l10-5Zm-9 9 9 5 9-5M3 16l9 5 9-5"/></symbol> <symbol id="i-tune" viewBox="0 0 24 24"><path d="M4 7h6m6 0h4M4 17h2m6 0h8"/><circle cx="13" cy="7" r="3"/><circle cx="9" cy="17" r="3"/></symbol> <symbol id="i-chip" viewBox="0 0 24 24"><rect x="5" y="5" width="14" height="14" rx="2"/><rect x="9" y="9" width="6" height="6" rx="1"/><path d="M9 1v4m6-4v4M9 19v4m6-4v4M1 9h4m-4 6h4m14-6h4m-4 6h4"/></symbol> <symbol id="i-drive" viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="16" rx="3"/><path d="M3 14h18M7 17h.01M11 17h.01"/></symbol> <symbol id="i-bolt" viewBox="0 0 24 24"><path d="m13 2-9 12h7l-1 8L21 9h-8l1-7Z"/></symbol> <symbol id="i-flow" viewBox="0 0 24 24"><path d="M4 4h6v6H4zM14 14h6v6h-6zM7 10v7h7M10 7h7v7"/></symbol> <symbol id="i-term" viewBox="0 0 24 24"><path d="m4 6 6 6-6 6m9 0h7"/></symbol> </defs></svg> <div id="stage"> <header class="titlebar"><div class="row"><span class="app-logo"><svg fill="none" stroke="currentColor" stroke-width="1.8"><use href="#i-logo"/></svg></span><span class="brand">Siphon Studio</span></div><div class="title-center"><span class="green"><i class="led"></i> <span id="engineState">Engine active</span></span><i></i><span>CUDA · MoE runtime</span><i></i><span>127.0.0.1:8090</span></div><span class="prototype">SIMULATED PROTOTYPE</span></header> <div class="shell"> <aside class="rail" aria-label="Navigation"><svg class="rail-mark" fill="none" stroke="currentColor" stroke-width="1.8" viewBox="0 0 24 24"><use href="#i-logo"/></svg><nav><button class="nav-button selected" data-view="overview" aria-label="Overview"><svg fill="none" stroke="currentColor" stroke-width="1.5"><use href="#i-grid"/></svg><span class="tip">Overview</span></button><button class="nav-button" data-view="chat" aria-label="Chat playground"><svg fill="none" stroke="currentColor" stroke-width="1.5"><use href="#i-chat"/></svg><span class="tip">Chat playground</span></button><button class="nav-button" data-view="models" aria-label="Model profiles"><svg fill="none" stroke="currentColor" stroke-width="1.5"><use href="#i-layers"/></svg><span class="tip">Model profiles</span></button><button class="nav-button" data-view="tuning" aria-label="Engine configuration"><svg fill="none" stroke="currentColor" stroke-width="1.5"><use href="#i-tune"/></svg><span class="tip">Engine configuration</span></button><button class="nav-button" data-view="logs" aria-label="Engine logs"><svg fill="none" stroke="currentColor" stroke-width="1.5"><use href="#i-term"/></svg><span class="tip">Engine logs</span></button></nav><span class="rail-status" title="Local runtime healthy"><i class="led"></i></span><span class="rail-version">v0.4</span></aside> <main class="main"><header class="toolbar"><div class="toolbar-left"><h1 id="viewTitle">Engine overview</h1><span>/</span><label for="model" class="sr">Model profile</label><select id="model" class="model-select"><option value="qwen">Qwen3.6 · 35B-A3B</option><option value="kat">KAT-Coder · 35B</option><option value="next">Qwen3-Coder-Next · 80B</option></select></div><div class="toolbar-actions"><span class="badge live"><i class="led"></i><span id="requestBadge">REQUEST 0927</span></span><button id="newRequest">New request</button><button class="primary" id="playPause">Ⅱ Pause simulation</button></div></header> <div class="dashboard" id="overviewView"> <section class="metric-grid" aria-label="Primary metrics"> <article class="card metric hero"><div class="metric-head"><span class="metric-name">Decode / prefill</span><span class="metric-icon"><svg fill="none" stroke="currentColor" stroke-width="1.7"><use href="#i-bolt"/></svg></span></div><div class="metric-value"><strong id="decode">20.3</strong><span>tok/s decode</span></div><svg class="spark" viewBox="0 0 300 40" preserveAspectRatio="none" role="img" aria-label="Simulated decode throughput"><defs><linearGradient id="sparkFill" x2="0" y2="1"><stop stop-color="#a875ff" stop-opacity=".4"/><stop offset="1" stop-color="#a875ff" stop-opacity="0"/></linearGradient></defs><path d="M0 13H300M0 32H300" stroke="#be9bff16" stroke-dasharray="2 4"/><path id="sparkArea" fill="url(#sparkFill)"/><path id="sparkLine" fill="none" stroke="#c29bff" stroke-width="1.7" vector-effect="non-scaling-stroke"/></svg><div class="metric-sub"><span>Prefill <b id="prefill">29.4</b> tok/s</span><span class="purple" id="specState">MTP active</span></div><div class="metric-foot"><span>Generation throughput</span><span id="tokenTotalTop">1,284 tokens</span></div></article> <article class="card metric"><div class="metric-head"><span class="metric-name">GPU / VRAM</span><span class="metric-icon"><svg fill="none" stroke="currentColor" stroke-width="1.6"><use href="#i-chip"/></svg></span></div><div class="metric-value"><strong><span id="gpuUtil">47</span>%</strong><span>GPU utilization</span></div><div class="metric-sub"><span>VRAM</span><span><b id="vramUsed">5.4</b> / 6.0 GiB</span></div><div class="seg-meter"><i class="dense" id="denseSeg"></i><i class="kv" id="kvSeg"></i><i class="experts" id="expertSeg"></i><i class="free"></i></div><div class="metric-sub"><span>L1 experts <b id="l1Mib">2,800 MiB</b></span><span class="purple" id="vramFree">0.6G free</span></div><div class="metric-foot"><span>Dense · KV · experts</span><span>48°C</span></div></article> <article class="card metric"><div class="metric-head"><span class="metric-name">CPU / RAM</span><span class="metric-icon"><svg fill="none" stroke="currentColor" stroke-width="1.6"><use href="#i-chip"/></svg></span></div><div class="metric-value"><strong><span id="cpuUtil">12</span>%</strong><span>CPU utilization</span></div><div class="metric-sub"><span>RAM</span><span><b id="ramUsed">11.5</b> / 16.0 GiB</span></div><div class="bars" id="cpuBars" aria-label="Simulated CPU thread activity"></div><div class="metric-sub"><span>Pinned <b id="pinnedRam">8.0 GiB</b></span><span class="yellow" id="ramFree">4.5G free</span></div><div class="metric-foot"><span>System · pinned cache</span><span>24 threads</span></div></article> <article class="card metric"><div class="metric-head"><span class="metric-name">GDS / NVMe</span><span class="metric-icon"><svg fill="none" stroke="currentColor" stroke-width="1.6"><use href="#i-drive"/></svg></span></div><div class="metric-value"><strong id="gds">2.84</strong><span>GB/s direct</span></div><div class="metric-sub"><span>SSD → VRAM</span><span class="green">cuFile active</span></div><div class="queue" id="queue" aria-label="Simulated GDS queue depth"></div><div class="metric-sub"><span><b id="workers">20</b> read workers</span><span>QD <b>32</b></span></div><div class="metric-foot"><span>PCIe 4.0 ×4</span><span>NVMe 39°C</span></div></article> </section> <section class="content-grid"> <article class="card panel"><div class="panel-head"><div class="panel-title"><svg fill="none" stroke="currentColor" stroke-width="1.6"><use href="#i-flow"/></svg><div><h2>Siphon flow chamber</h2><p>EXPERT ROUTING · REQUEST LEVEL</p></div></div><div class="request-meta"><span>Token <b id="tokenId">1,284</b></span><span>Top-K <b id="topK">8</b></span><span class="blue"><i class="led"></i> <span id="requestPhase">ROUTING</span></span></div></div> <div class="chamber"><div class="source-lanes"><div class="lane"><div class="lane-name"><span class="lane-code">L1</span><div><h3>VRAM residents</h3><p>Immediate GPU access</p></div></div><div class="experts" id="l1Experts"></div><div class="lane-stat"><strong id="l1Routed">5</strong>selected</div></div><div class="lane ram-lane"><div class="lane-name"><span class="lane-code">L2</span><div><h3>RAM cache misses</h3><p>DMA copy into VRAM</p></div></div><div class="experts" id="l2Experts"></div><div class="lane-stat"><strong id="l2Routed">2</strong>transfers</div></div><div class="lane ssd-lane"><div class="lane-name"><span class="lane-code">SSD</span><div><h3>Cold expert misses</h3><p>cuFile direct streaming</p></div></div><div class="experts" id="ssdExperts"></div><div class="lane-stat"><strong id="ssdRouted">1</strong>transfer</div></div></div><div class="gpu-core"><div class="core-content"><svg fill="none" stroke="currentColor" stroke-width="1.6"><use href="#i-chip"/></svg><strong id="readyCount">5/8</strong><span>EXPERTS READY</span><span class="core-state" id="coreState">WAITING</span></div></div></div> <div class="chamber-foot"><div class="progress-track"><i id="requestProgress"></i></div><span class="chamber-caption" id="chamberCaption">Resolving selected experts across memory tiers</span></div></article> <article class="card panel telemetry"><div class="panel-head"><div class="panel-title"><svg fill="none" stroke="currentColor" stroke-width="1.6"><use href="#i-grid"/></svg><div><h2>Request telemetry</h2><p>LAST COMPLETED REQUEST</p></div></div><span class="badge" id="telemetryRequest">#0926</span></div><div class="telemetry-grid"> <div class="telemetry-cell featured"><span class="telemetry-label">L1 cache hit rate</span><div class="telemetry-value purple" id="l1Hit">84.2%</div><div><div class="telemetry-foot"><span>VRAM resident</span><span id="l1HitCount">1,246 hits</span></div><div class="micro"><i id="l1Micro"></i></div></div></div> <div class="telemetry-cell l2"><span class="telemetry-label">L2 cache hit rate</span><div class="telemetry-value yellow" id="l2Hit">13.5%</div><div><div class="telemetry-foot"><span>Pinned RAM</span><span id="l2HitCount">200 hits</span></div><div class="micro"><i id="l2Micro"></i></div></div></div> <div class="telemetry-cell draft"><span class="telemetry-label">Draft acceptance</span><div class="telemetry-value green" id="draft">84.0%</div><div><div class="telemetry-foot"><span id="draftMode">MTP</span><span id="draftTokens">142 / 169</span></div><div class="micro"><i id="draftMicro"></i></div></div></div> <div class="telemetry-cell wide"><span class="telemetry-label">RAM → VRAM speed</span><div class="telemetry-value" id="ramVram">4.21 <small>GB/s</small></div><div class="telemetry-foot"><span>PCIe DMA</span><span>pinned copies</span></div></div> <div class="telemetry-cell wide"><span class="telemetry-label">Streamed data / request</span><div class="telemetry-value blue" id="streamedRequest">184.3 <small>MiB</small></div><div class="telemetry-foot"><span>NVMe → GPU</span><span id="coldExperts">101 experts</span></div></div> <div class="telemetry-cell wide"><span class="telemetry-label">Decode calls / request</span><div class="telemetry-value" id="decodeCalls">91</div><div class="telemetry-foot"><span>generation steps</span><span id="outputTokens">200 tokens</span></div></div> <div class="telemetry-cell wide"><span class="telemetry-label">Prefill calls / request</span><div class="telemetry-value" id="prefillCalls">24</div><div class="telemetry-foot"><span>prompt batches</span><span id="promptTokens">687 tokens</span></div></div> </div></article> </section> <section class="bottom-grid"> <article class="card trace"><div class="trace-head"><div class="panel-title"><svg fill="none" stroke="currentColor" stroke-width="1.5"><use href="#i-layers"/></svg><div><h2>Recent request cache composition</h2><p>TWELVE REQUEST WINDOW</p></div></div><div class="trace-legend"><span><i style="background:var(--purple)"></i>L1</span><span><i style="background:var(--yellow)"></i>L2</span><span><i style="background:#516079"></i>SSD</span></div></div><div class="trace-board" id="traceBoard"></div></article> <article class="card controls-panel"><div class="panel-head"><div class="panel-title"><svg fill="none" stroke="currentColor" stroke-width="1.5"><use href="#i-tune"/></svg><div><h2>Runtime envelope</h2><p>MEMORY BUDGET · NEXT RESTART</p></div></div><button class="primary" id="apply">Apply & restart</button></div><div class="budget-row"><label for="vram">L1 cache</label><input id="vram" type="range" min="1024" max="3008" step="16" value="2800"><output id="vramOut" for="vram">2,800 MiB</output></div><div class="budget-row ram"><label for="ram">L2 cache</label><input id="ram" type="range" min="2048" max="10240" step="512" value="8192"><output id="ramOut" for="ram">8,192 MiB</output></div><div class="control-divider"></div><div class="engine-facts"><div class="fact"><span>CONTEXT</span><strong id="contextFact">32,768 tok</strong></div><div class="fact"><span>GDS WORKERS</span><strong id="workersFact">20 threads</strong></div><div class="fact"><span>MODEL SIZE</span><strong id="modelSize">22.7 GB</strong></div></div><div class="control-foot"><span id="controlStatus">Applied · simulated configuration</span><span>Changes require restart</span></div></article> </section> </div> <section id="otherView" class="other-view" hidden><svg id="otherIcon" fill="none" stroke="currentColor" stroke-width="1.5"><use href="#i-chat"/></svg><h2 id="otherTitle">Chat playground</h2><p id="otherText">Chat has its own tab. This concept focuses on the desktop engine dashboard.</p><div class="model-buttons" id="modelButtons" hidden></div><pre class="logs" id="logView" hidden></pre><button class="primary" data-view="overview">Return to dashboard</button></section> </main> </div> <footer class="footer"><div class="row"><span class="green"><i class="led"></i> <span id="footerStatus">Simulation live</span></span><label class="sr" for="playback">Simulation speed</label><select id="playback" class="playback"><option value="1">1× request flow</option><option value="0.35">0.35× inspect</option></select><span id="requestTiming">1.8 s / request</span></div><span class="footer-event" id="footerEvent">Synthetic telemetry · no engine connected</span></footer> <div class="toast" id="toast" role="status" hidden></div> </div> <script> 'use strict'; const $=id=>document.getElementById(id); const models={ qwen:{name:'Qwen3.6 · 35B-A3B',decode:20.3,prefill:29.4,draft:84,size:22.7,k:8,experts:256,vram:2800,ram:8192,context:32768,workers:20}, kat:{name:'KAT-Coder · 35B',decode:15.3,prefill:30.2,draft:66.7,size:22.7,k:8,experts:256,vram:2496,ram:8192,context:32768,workers:20}, next:{name:'Qwen3-Coder-Next · 80B',decode:6.4,prefill:8.2,draft:null,size:47,k:6,experts:512,vram:2816,ram:4096,context:32768,workers:20} }; let model=models.qwen,request=927,token=1284,playing=true,rate=1,requestElapsed=0,last=null,phase=0,current=null,history=[],trace=[],logs=[],activeView='overview',toastTimer; let config={vram:model.vram,ram:model.ram,context:model.context,workers:model.workers}; const requestDuration=1800; function seeded(seed){let s=seed>>>0;return()=>{s=(Math.imul(s,1664525)+1013904223)>>>0;return s/4294967296}} function pickExperts(count,seed){const rnd=seeded(seed),ids=new Set();while(ids.size<count)ids.add(Math.floor(rnd()*model.experts));return[...ids]} function makeRequest(){const rnd=seeded(request*977+(model.k*61));const l2=model.k===6?1:1+Math.floor(rnd()*2),ssd=rnd()>.24?1:0,l1=model.k-l2-ssd,ids=pickExperts(model.k,request*83);const entries=ids.map((id,i)=>({id,source:i<l1?'l1':i<l1+l2?'l2':'ssd',arrived:i<l1}));return{entries,l1,l2,ssd,decodeCalls:82+Math.floor(rnd()*20),prefillCalls:18+Math.floor(rnd()*11),streamed:(ssd*(82+rnd()*120)),ramSpeed:3.9+rnd()*.55,l1Rate:81+rnd()*5,l2Rate:11+rnd()*4,draft:model.draft===null?null:model.draft-1+rnd()*2,prompt:560+Math.floor(rnd()*250),output:180+Math.floor(rnd()*50)}} function startRequest(){requestElapsed=0;phase=0;current=makeRequest();$('requestBadge').textContent='REQUEST '+String(request).padStart(4,'0');$('tokenId').textContent=token.toLocaleString('en-US');renderFlow();log('Request #'+request+' started · '+current.l1+' L1 hits · '+(current.l2+current.ssd)+' cache misses')} function pill(entry){const span=document.createElement('span');span.className='expert-pill '+entry.source+(entry.source!=='l1'?(entry.arrived?' arrived':' in-flight'):'');span.textContent='#'+String(entry.id).padStart(3,'0');return span} function renderLane(id,source){const container=$(id);container.replaceChildren();for(const entry of current.entries.filter(e=>e.source===source))container.append(pill(entry))} function renderFlow(){const p=requestElapsed/requestDuration;const ramDone=p>=.34,ssdDone=p>=.62;current.entries.forEach(e=>{if(e.source==='l2'&&ramDone)e.arrived=true;if(e.source==='ssd'&&ssdDone)e.arrived=true});renderLane('l1Experts','l1');renderLane('l2Experts','l2');renderLane('ssdExperts','ssd');$('l1Routed').textContent=current.l1;$('l2Routed').textContent=current.l2;$('ssdRouted').textContent=current.ssd;$('topK').textContent=model.k;const ready=current.entries.filter(e=>e.arrived).length;$('readyCount').textContent=ready+'/'+model.k;$('requestProgress').style.width=Math.min(100,p*100)+'%';$('requestPhase').textContent=p<.34?'L2 TRANSFER':p<.62&¤t.ssd?'SSD TRANSFER':p<.82?'GPU COMPUTE':'COMPLETE';$('coreState').textContent=ready<model.k?'WAITING':p<.82?'COMPUTING':'COMPLETE';$('coreState').className='core-state '+(ready<model.k?'red':'green');$('chamberCaption').textContent=ready<model.k?`${model.k-ready} experts moving into VRAM`:`All ${model.k} selected experts available in VRAM`} function completeRequest(){const c=current;trace.push({id:request,l1:c.l1/model.k*100,l2:c.l2/model.k*100,ssd:c.ssd/model.k*100});if(trace.length>12)trace.shift();$('telemetryRequest').textContent='#'+String(request).padStart(4,'0');$('l1Hit').textContent=c.l1Rate.toFixed(1)+'%';$('l2Hit').textContent=c.l2Rate.toFixed(1)+'%';$('draft').textContent=c.draft===null?'N/A':c.draft.toFixed(1)+'%';$('draftMode').textContent=c.draft===null?'No MTP head':'MTP';$('draftTokens').textContent=c.draft===null?'disabled':Math.round(c.output*c.draft/100)+' / '+c.output;$('l1Micro').style.width=c.l1Rate+'%';$('l2Micro').style.width=c.l2Rate+'%';$('draftMicro').style.width=(c.draft||0)+'%';$('l1HitCount').textContent=Math.round(c.decodeCalls*model.k*c.l1Rate/100).toLocaleString()+' hits';$('l2HitCount').textContent=Math.round(c.decodeCalls*model.k*c.l2Rate/100).toLocaleString()+' hits';$('ramVram').innerHTML=c.ramSpeed.toFixed(2)+' <small>GB/s</small>';$('streamedRequest').innerHTML=c.streamed.toFixed(1)+' <small>MiB</small>';$('coldExperts').textContent=Math.round(c.streamed/1.82)+' experts';$('decodeCalls').textContent=c.decodeCalls;$('prefillCalls').textContent=c.prefillCalls;$('outputTokens').textContent=c.output+' tokens';$('promptTokens').textContent=c.prompt+' tokens';token+=c.output;request++;renderTrace();startRequest()} function renderTrace(){const board=$('traceBoard');board.replaceChildren();for(const t of trace){const col=document.createElement('div');col.className='trace-column'+(t===trace.at(-1)?' current':'');col.innerHTML=`<div class="trace-bar"><i class="l1" style="height:${t.l1}%"></i><i class="l2" style="height:${t.l2}%"></i><i class="ssd" style="height:${t.ssd}%"></i></div><span>${String(t.id).slice(-2)}</span>`;board.append(col)}while(board.children.length<12){const col=document.createElement('div');col.className='trace-column';col.innerHTML='<div class="trace-bar"></div><span>—</span>';board.prepend(col)}} function renderTop(now){const wave=Math.sin(now/570),gpu=Math.round(46+wave*9),cpu=Math.round(12+Math.sin(now/840)*5);$('gpuUtil').textContent=gpu;$('cpuUtil').textContent=cpu;$('decode').textContent=(model.decode+wave*.35).toFixed(1);$('gds').textContent=(2.78+Math.abs(Math.sin(now/410))*.17).toFixed(2);const sample=model.decode+wave*.35;history.push(sample);if(history.length>52)history.shift();const pts=history.map((v,i)=>`${i*300/(history.length-1)},${38-v/(model.decode*1.3)*34}`);$('sparkLine').setAttribute('d','M'+pts.join(' L'));$('sparkArea').setAttribute('d','M0 40 L'+pts.join(' L')+' L300 40Z');[...$('cpuBars').children].forEach((b,i)=>b.style.height=22+Math.abs(Math.sin(i*1.7+now/390))*72+'%');[...$('queue').children].forEach((q,i)=>q.classList.toggle('busy',(i+Math.floor(now/180))%9<4));$('tokenTotalTop').textContent=token.toLocaleString()+' tokens'} function modelUi(){const kv=.18+config.context/65536*.34,used=2.4+kv+config.vram/1024;$('prefill').textContent=model.prefill.toFixed(1);$('specState').textContent=model.draft===null?'No speculation':'MTP active';$('vramUsed').textContent=used.toFixed(1);$('vramFree').textContent=(6-used).toFixed(1)+'G free';$('l1Mib').textContent=config.vram.toLocaleString()+' MiB';$('denseSeg').style.width=2.4/6*100+'%';$('kvSeg').style.width=kv/6*100+'%';$('expertSeg').style.width=config.vram/1024/6*100+'%';$('ramUsed').textContent=(3.5+config.ram/1024).toFixed(1);$('pinnedRam').textContent=(config.ram/1024).toFixed(1)+' GiB';$('ramFree').textContent=(12.5-config.ram/1024).toFixed(1)+'G free';$('workers').textContent=config.workers;$('workersFact').textContent=config.workers+' threads';$('contextFact').textContent=config.context.toLocaleString()+' tok';$('modelSize').textContent=model.size.toFixed(1)+' GB';$('vram').value=config.vram;$('ram').value=config.ram;fields()} function fields(){for(const id of ['vram','ram'])$(id+'Out').textContent=Number($(id).value).toLocaleString()+' MiB';const dirty=Number($('vram').value)!==config.vram||Number($('ram').value)!==config.ram;$('controlStatus').textContent=dirty?'Pending restart':'Applied · simulated configuration'} function reset(){request=915;token=1284;trace=[];history=Array.from({length:52},(_,i)=>model.decode*(.91+.07*Math.sin(i*.25)));modelUi();renderTrace();startRequest();playing=true;last=null;updateControls();for(let i=0;i<12;i++){requestElapsed=requestDuration;completeRequest()}} function updateControls(){$('playPause').textContent=playing?'Ⅱ Pause simulation':'▶ Resume simulation';$('engineState').textContent=playing?'Engine active':'Engine paused';$('footerStatus').textContent=playing?'Simulation live':'Simulation paused'} function log(message){logs.push(new Date().toLocaleTimeString('en-GB')+' '+message);if(logs.length>30)logs.shift();$('footerEvent').textContent=message} function toast(message){$('toast').textContent=message;$('toast').hidden=false;clearTimeout(toastTimer);toastTimer=setTimeout(()=>$('toast').hidden=true,2800)} $('playPause').addEventListener('click',()=>{playing=!playing;last=null;updateControls()});$('newRequest').addEventListener('click',()=>{requestElapsed=requestDuration;completeRequest();toast('Advanced to a new simulated request.')});$('playback').addEventListener('change',()=>{rate=Number($('playback').value);last=null;$('requestTiming').textContent=(requestDuration/rate/1000).toFixed(1)+' s / request'}); $('model').addEventListener('change',()=>{model=models[$('model').value];config={...config,vram:model.vram,ram:model.ram,context:model.context,workers:model.workers};reset();log(model.name+' selected · simulated runtime reset')});$('vram').addEventListener('input',fields);$('ram').addEventListener('input',fields);$('apply').addEventListener('click',()=>{config.vram=Number($('vram').value);config.ram=Number($('ram').value);modelUi();reset();log('Simulated memory envelope applied');toast('Applied to the simulated engine.')}); function showView(view){activeView=view;$('overviewView').hidden=view!=='overview';$('otherView').hidden=view==='overview';document.querySelectorAll('.nav-button').forEach(b=>b.classList.toggle('selected',b.dataset.view===view));const title={overview:'Engine overview',chat:'Chat playground',models:'Model profiles',tuning:'Engine configuration',logs:'Engine logs'}[view];$('viewTitle').textContent=title;if(view!=='overview'){$('otherTitle').textContent=title;$('otherIcon').querySelector('use').setAttribute('href',view==='chat'?'#i-chat':view==='models'?'#i-layers':view==='tuning'?'#i-tune':'#i-term');$('otherText').textContent=view==='chat'?'Chat lives in its own desktop tab. This concept focuses on the engine dashboard.':view==='models'?'Choose a simulated model profile. Dashboard values and Top-K update together.':view==='tuning'?'Detailed engine configuration will use this separate workspace. The overview keeps only the two memory budgets.':'Events from the simulated request flow.';$('modelButtons').hidden=view!=='models';$('logView').hidden=view!=='logs';$('logView').textContent=logs.join('\n')}last=null} document.querySelectorAll('[data-view]').forEach(b=>b.addEventListener('click',()=>showView(b.dataset.view)));Object.entries(models).forEach(([key,m])=>{const b=document.createElement('button');b.textContent=m.name;b.addEventListener('click',()=>{$('model').value=key;$('model').dispatchEvent(new Event('change'));showView('overview')});$('modelButtons').append(b)}); function fit(){const w=innerWidth,h=innerHeight,scale=Math.min(1,w/1000,h/650);$('stage').style.width=w/scale+'px';$('stage').style.height=h/scale+'px';$('stage').style.transform=`scale(${scale})`} for(let i=0;i<24;i++)$('cpuBars').append(document.createElement('i'));for(let i=0;i<32;i++)$('queue').append(document.createElement('i'));window.addEventListener('resize',fit);fit();reset();log('Synthetic request telemetry · no engine connected'); function loop(now){if(last===null)last=now;const dt=Math.min(80,now-last);last=now;if(playing&&activeView==='overview'&&!document.hidden){requestElapsed+=dt*rate;if(requestElapsed>=requestDuration)completeRequest();renderFlow();renderTop(now)}requestAnimationFrame(loop)}requestAnimationFrame(loop); </script> </body> </html> |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |