Spaces:
Running
Running
Update index.html
Browse files- index.html +3 -55
index.html
CHANGED
|
@@ -8,8 +8,6 @@
|
|
| 8 |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
| 9 |
<!-- Animate.css -->
|
| 10 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"/>
|
| 11 |
-
<!-- Chart.js -->
|
| 12 |
-
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/chart.min.js"></script>
|
| 13 |
<!-- Custom CSS -->
|
| 14 |
<link rel="stylesheet" href="style.css">
|
| 15 |
<!-- Favicon -->
|
|
@@ -184,7 +182,7 @@
|
|
| 184 |
<div class="col-md-12">
|
| 185 |
<h3 class="mb-3 text-white">Optimization Breakdown</h3>
|
| 186 |
<ul class="text-white">
|
| 187 |
-
<li><strong>๐ฎ Compressed Context Packing</strong>: Collapses frame contexts
|
| 188 |
<li><strong>๐งฌ Dynamic Batching</strong>: Adapts batches (2โ4 frames), boosting throughput by ~30โ50% (\( \text{Throughput} \propto B \)), ideal for RTX 3050.</li>
|
| 189 |
<li><strong>โก๏ธ Teacache Efficiency</strong>: Caches diffusion states, cutting ~40% off compute time (\( T_{\text{total}} \approx 0.6T_{\text{base}} \)), hitting ~10โ15s/frame on RTX 3060.</li>
|
| 190 |
<li><strong>๐งโโ๏ธ Sage-Attention</strong>: Streamlines attention layers, saving ~5โ10% time (\( T_{\text{attn}} \approx 0.9T_{\text{base_attn}} \)).</li>
|
|
@@ -194,57 +192,6 @@
|
|
| 194 |
</div>
|
| 195 |
</div>
|
| 196 |
|
| 197 |
-
<!-- Speed Chart -->
|
| 198 |
-
<div class="row mt-4">
|
| 199 |
-
<div class="col-md-12">
|
| 200 |
-
<h3 class="text-center text-white mb-3">Speed Across GPUs ๐</h3>
|
| 201 |
-
<div class="card bg-ghost-card">
|
| 202 |
-
<div class="card-body">
|
| 203 |
-
<canvas id="speedChart"></canvas>
|
| 204 |
-
</div>
|
| 205 |
-
</div>
|
| 206 |
-
</div>
|
| 207 |
-
</div>
|
| 208 |
-
|
| 209 |
-
<!-- Performance Calculator -->
|
| 210 |
-
<div class="row mt-4">
|
| 211 |
-
<div class="col-md-12">
|
| 212 |
-
<h3 class="text-center text-white mb-3">Performance Calculator ๐งฎ</h3>
|
| 213 |
-
<div class="card bg-ghost-card">
|
| 214 |
-
<div class="card-body">
|
| 215 |
-
<form>
|
| 216 |
-
<div class="row g-3">
|
| 217 |
-
<div class="col-md-4">
|
| 218 |
-
<label for="gpuSelect" class="form-label">GPU</label>
|
| 219 |
-
<select id="gpuSelect" class="form-select bg-dark text-white border-neon">
|
| 220 |
-
<option value="22">GTX 1650 (6GB)</option>
|
| 221 |
-
<option value="17.5">RTX 3050 (8GB)</option>
|
| 222 |
-
<option value="12.5" selected>RTX 3060 (12GB)</option>
|
| 223 |
-
<option value="2">RTX 4090 (24GB)</option>
|
| 224 |
-
</select>
|
| 225 |
-
</div>
|
| 226 |
-
<div class="col-md-4">
|
| 227 |
-
<label for="frameCount" class="form-label">Frames</label>
|
| 228 |
-
<input type="number" id="frameCount" class="form-control bg-dark text-white border-neon" value="75">
|
| 229 |
-
</div>
|
| 230 |
-
<div class="col-md-4">
|
| 231 |
-
<label for="teacacheCheck" class="form-label">Teacache</label>
|
| 232 |
-
<div class="form-check">
|
| 233 |
-
<input type="checkbox" id="teacacheCheck" class="form-check-input" checked>
|
| 234 |
-
<label class="form-check-label text-white" for="teacacheCheck">Enable (~40% faster)</label>
|
| 235 |
-
</div>
|
| 236 |
-
</div>
|
| 237 |
-
</div>
|
| 238 |
-
<div class="text-center mt-3">
|
| 239 |
-
<button type="button" class="btn btn-ghost" onclick="calculatePerformance()">Calculate</button>
|
| 240 |
-
</div>
|
| 241 |
-
<p id="perfResult" class="text-center mt-3 text-white"></p>
|
| 242 |
-
</form>
|
| 243 |
-
</div>
|
| 244 |
-
</div>
|
| 245 |
-
</div>
|
| 246 |
-
</div>
|
| 247 |
-
|
| 248 |
<!-- VRAM Requirements Table -->
|
| 249 |
<div class="row mt-4">
|
| 250 |
<div class="col-md-12">
|
|
@@ -434,7 +381,8 @@ python ghostgradio.py --port 5666 --server 0.0.0.0</code></pre>
|
|
| 434 |
</div>
|
| 435 |
</div>
|
| 436 |
<div class="text-center mt-4">
|
| 437 |
-
<a href="https://github.com/ghostai1/GhostPack" class="btn btn-outline-ghost" target="_blank">Refresh Repo ๐</a>
|
|
|
|
| 438 |
</div>
|
| 439 |
</div>
|
| 440 |
</section>
|
|
|
|
| 8 |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
| 9 |
<!-- Animate.css -->
|
| 10 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"/>
|
|
|
|
|
|
|
| 11 |
<!-- Custom CSS -->
|
| 12 |
<link rel="stylesheet" href="style.css">
|
| 13 |
<!-- Favicon -->
|
|
|
|
| 182 |
<div class="col-md-12">
|
| 183 |
<h3 class="mb-3 text-white">Optimization Breakdown</h3>
|
| 184 |
<ul class="text-white">
|
| 185 |
+
<li><strong>๐ฎ Compressed Context Packing</strong>: Collapses frame contexts into a fixed-size matrix, slashing VRAM by ~50% (\( M_{\text{VRAM}} \propto O(1) \)), enabling 60s videos on 6GB VRAM GPUs.</li>
|
| 186 |
<li><strong>๐งฌ Dynamic Batching</strong>: Adapts batches (2โ4 frames), boosting throughput by ~30โ50% (\( \text{Throughput} \propto B \)), ideal for RTX 3050.</li>
|
| 187 |
<li><strong>โก๏ธ Teacache Efficiency</strong>: Caches diffusion states, cutting ~40% off compute time (\( T_{\text{total}} \approx 0.6T_{\text{base}} \)), hitting ~10โ15s/frame on RTX 3060.</li>
|
| 188 |
<li><strong>๐งโโ๏ธ Sage-Attention</strong>: Streamlines attention layers, saving ~5โ10% time (\( T_{\text{attn}} \approx 0.9T_{\text{base_attn}} \)).</li>
|
|
|
|
| 192 |
</div>
|
| 193 |
</div>
|
| 194 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 195 |
<!-- VRAM Requirements Table -->
|
| 196 |
<div class="row mt-4">
|
| 197 |
<div class="col-md-12">
|
|
|
|
| 381 |
</div>
|
| 382 |
</div>
|
| 383 |
<div class="text-center mt-4">
|
| 384 |
+
<a href="https://github.com/ghostai1/GhostPack" class="btn btn-outline-ghost me-3" target="_blank">Refresh Repo ๐</a>
|
| 385 |
+
<a href="https://github.com/ghostai1/GhostPack/tree/main/outputs" class="btn btn-ghost" target="_blank">Refresh Logs ๐ฅ</a>
|
| 386 |
</div>
|
| 387 |
</div>
|
| 388 |
</section>
|