ghostai1 commited on
Commit
dfa63ad
ยท
verified ยท
1 Parent(s): cd44dcf

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +90 -38
index.html CHANGED
@@ -32,6 +32,7 @@
32
  <li class="nav-item"><a class="nav-link" href="#installation">Installation</a></li>
33
  <li class="nav-item"><a class="nav-link" href="#usage">Usage</a></li>
34
  <li class="nav-item"><a class="nav-link" href="#model">Model Card</a></li>
 
35
  </ul>
36
  </div>
37
  </div>
@@ -43,8 +44,12 @@
43
  <h1 class="display-3 animate__animated animate__zoomIn">๐Ÿ‘ป GhostPack</h1>
44
  <p class="lead animate__animated animate__fadeIn animate__delay-1s">Veo 3-Level Video Sorcery Haunts Laptops with 8GB RAM! ๐Ÿ˜ˆ๐Ÿš€</p>
45
  <p class="animate__animated animate__fadeIn animate__delay-2s">Unleash photorealistic videos with ghostai1โ€™s math wizardry on GPUs โ‰ฅ6GB VRAM.</p>
46
- <a href="#installation" class="btn btn-ghost btn-lg animate__animated animate__pulse animate__delay-3s">Summon Now ๐Ÿ› ๏ธ</a>
47
- <a href="https://github.com/ghostai1/GhostPack" class="btn btn-outline-ghost btn-lg animate__animated animate__pulse animate__delay-3s" target="_blank">GitHub ๐ŸŒŸ</a>
 
 
 
 
48
  </div>
49
  </section>
50
 
@@ -54,10 +59,10 @@
54
  <h2 class="text-center mb-5 animate__animated animate__fadeIn">โœจ Spectral Features</h2>
55
  <div class="row row-cols-1 row-cols-md-3 g-4">
56
  <div class="col">
57
- <div class="card bg-ghost-card h-100" data-bs-toggle="tooltip" title="Rivals industry leaders like Veo 3">
58
  <div class="card-body">
59
  <h3 class="card-title">๐Ÿ“น Veo 3-Level AI</h3>
60
- <p class="card-text">Hyper-realistic, fluid videos via next-frame prediction, running on 8GB RAM laptops.</p>
61
  </div>
62
  </div>
63
  </div>
@@ -65,15 +70,15 @@
65
  <div class="card bg-ghost-card h-100" data-bs-toggle="tooltip" title="Blazing fast with teacache">
66
  <div class="card-body">
67
  <h3 class="card-title">โšก๏ธ Phantom Speed</h3>
68
- <p class="card-text">Teacache slashes ~40% off generation time (~12โ€“15s/frame on RTX 3060).</p>
69
  </div>
70
  </div>
71
  </div>
72
  <div class="col">
73
- <div class="card bg-ghost-card h-100" data-bs-toggle="tooltip" title="Optimized for modest hardware">
74
  <div class="card-body">
75
  <h3 class="card-title">๐Ÿ› ๏ธ Laptop Domination</h3>
76
- <p class="card-text">13B models haunt GPUs with โ‰ฅ6GB VRAM, tuned for RTX 3060 and budget rigs.</p>
77
  </div>
78
  </div>
79
  </div>
@@ -85,7 +90,7 @@
85
  <section id="optimizations" class="py-5 bg-light">
86
  <div class="container">
87
  <h2 class="text-center mb-5 animate__animated animate__fadeIn">๐Ÿง™โ€โ™‚๏ธ Ghostai1โ€™s Math Sorcery</h2>
88
- <p class="lead text-center text-dark mb-4">GhostPackโ€™s SDK is a spectral masterpiece, conjured with ghostai1โ€™s revolutionary math optimizations to haunt any laptop with 8GB RAM.</p>
89
 
90
  <!-- Tabs for Optimization Categories -->
91
  <ul class="nav nav-tabs justify-content-center mb-4" id="optTab" role="tablist">
@@ -175,16 +180,16 @@
175
  </div>
176
 
177
  <!-- Optimization Breakdown -->
178
- <div class="row">
179
  <div class="col-md-12">
180
  <h3 class="mb-3 text-white">Optimization Breakdown</h3>
181
  <ul class="text-white">
182
- <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 epic 60s videos on 8GB RAM systems like GTX 1650.</li>
183
- <li><strong>๐Ÿงฌ Dynamic Batching</strong>: Adapts frame batches (2โ€“4), boosting throughput by ~30โ€“50% (\( \text{Throughput} \propto B \)), ideal for modest GPUs like RTX 3050.</li>
184
  <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>
185
- <li><strong>๐Ÿง™โ€โ™‚๏ธ Sage-Attention</strong>: Streamlines attention layers, saving ~5โ€“10% time (\( T_{\text{attn}} \approx 0.9T_{\text{base_attn}} \)), enhancing low-VRAM performance.</li>
186
- <li><strong>๐Ÿ’พ tcmalloc</strong>: Reduces memory overhead by ~5โ€“20% (\( O_{\text{mem}} \approx 0.8O_{\text{glibc}} \)), easing CPU load by ~15% for fluid operation.</li>
187
- <li><strong>โšก CUDA Tweaks</strong>: Cuts latency by ~10โ€“15% (\( L_{\text{CUDA}} \approx 0.85L_{\text{base}} \)) with optimized memory allocation, maximizing GPU efficiency.</li>
188
  </ul>
189
  </div>
190
  </div>
@@ -252,13 +257,13 @@
252
  <section id="future" class="py-5 bg-dark text-white">
253
  <div class="container">
254
  <h2 class="text-center mb-5 animate__animated animate__fadeIn">๐ŸŒŒ Future Spectral Phantoms</h2>
255
- <p class="lead text-center">GhostPack is brewing epic upgrades to haunt the AI realm:</p>
256
  <div class="row row-cols-1 row-cols-md-2 g-4">
257
  <div class="col">
258
  <div class="card bg-ghost-card h-100">
259
  <div class="card-body">
260
  <h3 class="card-title">๐Ÿ—ฃ๏ธ Voice Generation</h3>
261
- <p class="card-text">Soon: AI-driven voice synthesis to narrate videos with ghostly tones, integrated into ghostgradio.py.</p>
262
  </div>
263
  </div>
264
  </div>
@@ -266,7 +271,7 @@
266
  <div class="card bg-ghost-card h-100">
267
  <div class="card-body">
268
  <h3 class="card-title">๐Ÿ–ผ๏ธ AI Images</h3>
269
- <p class="card-text">Future: Generate spectral starting frames with AI-crafted images for cinematic video pipelines.</p>
270
  </div>
271
  </div>
272
  </div>
@@ -277,31 +282,43 @@
277
  <!-- Installation Section -->
278
  <section id="installation" class="py-5 bg-light">
279
  <div class="container">
280
- <h2 class="text-center mb-5 animate__animated animate__fadeIn">๐Ÿ› ๏ธ Summon the Code</h2>
281
- <p class="text-center lead text-dark">Unleash GhostPack from the GitHub repo. Requires >30GB disk space.</p>
282
  <div class="row row-cols-1 row-cols-md-3 g-4">
283
  <div class="col">
284
- <h3>๐Ÿง Ubuntu</h3>
285
- <pre><code class="code-block">git clone https://github.com/ghostai1/GhostPack
 
 
286
  cd GhostPack
287
  chmod +x install_ubuntu.sh
288
  ./install_ubuntu.sh</code></pre>
289
- <p class="text-dark">NVIDIA GPU, 8GB RAM, Python 3.10, CUDA 12.6.</p>
 
 
290
  </div>
291
  <div class="col">
292
- <h3>๐ŸชŸ Windows</h3>
293
- <pre><code class="code-block">git clone https://github.com/ghostai1/GhostPack
 
 
294
  cd GhostPack
295
  install.bat</code></pre>
296
- <p class="text-dark">Auto-downloads models (>30GB).</p>
 
 
297
  </div>
298
  <div class="col">
299
- <h3>๐ŸŽ macOS</h3>
300
- <pre><code class="code-block">git clone https://github.com/ghostai1/GhostPack
 
 
301
  cd GhostPack
302
  chmod +x install_macos.sh
303
  ./install_macos.sh</code></pre>
304
- <p class="text-dark">M1/M2 support (slower).</p>
 
 
305
  </div>
306
  </div>
307
  </div>
@@ -313,9 +330,13 @@ chmod +x install_macos.sh
313
  <h2 class="text-center mb-5 animate__animated animate__fadeIn">๐Ÿ“น Weave Ghostly Videos</h2>
314
  <ol>
315
  <li><strong>Launch Phantom GUI</strong>:
316
- <pre><code class="code-block">source ~/ghostpack_venv/venv/bin/activate
 
 
317
  cd ~/ghostpack_venv
318
  python ghostgradio.py --port 5666 --server 0.0.0.0</code></pre>
 
 
319
  </li>
320
  <li><strong>Craft Spells</strong>:
321
  <ul>
@@ -343,6 +364,37 @@ python ghostgradio.py --port 5666 --server 0.0.0.0</code></pre>
343
  </div>
344
  </section>
345
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
346
  <!-- Footer -->
347
  <footer class="bg-ghost-black text-white text-center py-4">
348
  <p>๐Ÿ‘ป GhostPack by ghostai1 | <a href="https://github.com/ghostai1/GhostPack" target="_blank">GitHub</a> | <a href="https://huggingface.co/spaces/ghostai1/GhostPack" target="_blank">Hugging Face</a> | Apache-2.0 License</p>
@@ -358,8 +410,8 @@ python ghostgradio.py --port 5666 --server 0.0.0.0</code></pre>
358
  <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button>
359
  </div>
360
  <div class="modal-body">
361
- <p>Teacache caches intermediate diffusion states, reducing redundant computations by ~30โ€“40%. This slashes frame generation time by ~40%, achieving ~12s/frame on RTX 3060.</p>
362
- <p><strong>Math</strong>: \( T_{\text{total}} \approx 0.6 \cdot T_{\text{base}} \), where \( T_{\text{base}} \) is the baseline frame time.</p>
363
  </div>
364
  </div>
365
  </div>
@@ -372,8 +424,8 @@ python ghostgradio.py --port 5666 --server 0.0.0.0</code></pre>
372
  <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button>
373
  </div>
374
  <div class="modal-body">
375
- <p>Compresses frame contexts to a fixed-size matrix, saving ~50% VRAM (~2โ€“3GB for 60s videos). Enables long-form content on 6GB VRAM GPUs.</p>
376
- <p><strong>Math</strong>: \( M_{\text{VRAM}} \propto O(1) \), unlike linear scaling \( O(n) \).</p>
377
  </div>
378
  </div>
379
  </div>
@@ -386,8 +438,8 @@ python ghostgradio.py --port 5666 --server 0.0.0.0</code></pre>
386
  <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button>
387
  </div>
388
  <div class="modal-body">
389
- <p>Adapts batch sizes (2โ€“4 frames), boosting throughput by ~30โ€“50% (~1.5x FPS). Scales efficiently on modest GPUs like RTX 3050.</p>
390
- <p><strong>Math</strong>: \( \text{Throughput} \propto B \cdot \text{FPS}_{\text{base}} \), where \( B \) is batch size.</p>
391
  </div>
392
  </div>
393
  </div>
@@ -400,7 +452,7 @@ python ghostgradio.py --port 5666 --server 0.0.0.0</code></pre>
400
  <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button>
401
  </div>
402
  <div class="modal-body">
403
- <p>Optimizes attention layers, reducing computation time by ~5โ€“10% (~1โ€“2s/frame). Enhances performance on low-VRAM GPUs.</p>
404
  <p><strong>Math</strong>: \( T_{\text{attn}} \approx 0.9 \cdot T_{\text{base_attn}} \).</p>
405
  </div>
406
  </div>
@@ -414,7 +466,7 @@ python ghostgradio.py --port 5666 --server 0.0.0.0</code></pre>
414
  <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button>
415
  </div>
416
  <div class="modal-body">
417
- <p>Reduces memory allocation overhead by ~5โ€“20%, easing CPU load by ~15%. Ensures fluid operation on 8GB RAM systems.</p>
418
  <p><strong>Math</strong>: \( O_{\text{mem}} \approx 0.8 \cdot O_{\text{glibc}} \).</p>
419
  </div>
420
  </div>
@@ -428,7 +480,7 @@ python ghostgradio.py --port 5666 --server 0.0.0.0</code></pre>
428
  <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button>
429
  </div>
430
  <div class="modal-body">
431
- <p>Optimizes CUDA memory allocation, reducing latency by ~10โ€“15%. Maximizes GPU efficiency on RTX 3060 and beyond.</p>
432
  <p><strong>Math</strong>: \( L_{\text{CUDA}} \approx 0.85 \cdot L_{\text{base}} \).</p>
433
  </div>
434
  </div>
 
32
  <li class="nav-item"><a class="nav-link" href="#installation">Installation</a></li>
33
  <li class="nav-item"><a class="nav-link" href="#usage">Usage</a></li>
34
  <li class="nav-item"><a class="nav-link" href="#model">Model Card</a></li>
35
+ <li class="nav-item"><a class="nav-link" href="#files">Last Files</a></li>
36
  </ul>
37
  </div>
38
  </div>
 
44
  <h1 class="display-3 animate__animated animate__zoomIn">๐Ÿ‘ป GhostPack</h1>
45
  <p class="lead animate__animated animate__fadeIn animate__delay-1s">Veo 3-Level Video Sorcery Haunts Laptops with 8GB RAM! ๐Ÿ˜ˆ๐Ÿš€</p>
46
  <p class="animate__animated animate__fadeIn animate__delay-2s">Unleash photorealistic videos with ghostai1โ€™s math wizardry on GPUs โ‰ฅ6GB VRAM.</p>
47
+ <div class="preview-window animate__animated animate__fadeIn animate__delay-3s">
48
+ <img src="https://huggingface.co/spaces/ghostai1/GhostPack/resolve/main/preview_mockup.png" alt="GhostPack Preview" class="img-fluid rounded">
49
+ <p class="mt-2">Preview: ghostgradio.py in action</p>
50
+ </div>
51
+ <a href="#installation" class="btn btn-ghost btn-lg animate__animated animate__pulse animate__delay-4s">Summon Now ๐Ÿ› ๏ธ</a>
52
+ <a href="https://github.com/ghostai1/GhostPack" class="btn btn-outline-ghost btn-lg animate__animated animate__pulse animate__delay-4s" target="_blank">GitHub ๐ŸŒŸ</a>
53
  </div>
54
  </section>
55
 
 
59
  <h2 class="text-center mb-5 animate__animated animate__fadeIn">โœจ Spectral Features</h2>
60
  <div class="row row-cols-1 row-cols-md-3 g-4">
61
  <div class="col">
62
+ <div class="card bg-ghost-card h-100" data-bs-toggle="tooltip" title="Rivals Googleโ€™s Veo 3">
63
  <div class="card-body">
64
  <h3 class="card-title">๐Ÿ“น Veo 3-Level AI</h3>
65
+ <p class="card-text">Hyper-realistic videos via next-frame prediction, running on 8GB RAM laptops.</p>
66
  </div>
67
  </div>
68
  </div>
 
70
  <div class="card bg-ghost-card h-100" data-bs-toggle="tooltip" title="Blazing fast with teacache">
71
  <div class="card-body">
72
  <h3 class="card-title">โšก๏ธ Phantom Speed</h3>
73
+ <p class="card-text">Teacache cuts ~40% off generation time (~12โ€“15s/frame on RTX 3060).</p>
74
  </div>
75
  </div>
76
  </div>
77
  <div class="col">
78
+ <div class="card bg-ghost-card h-100" data-bs-toggle="tooltip" title="Optimized for budget hardware">
79
  <div class="card-body">
80
  <h3 class="card-title">๐Ÿ› ๏ธ Laptop Domination</h3>
81
+ <p class="card-text">13B models run on GPUs with โ‰ฅ6GB VRAM, tuned for RTX 3060 and beyond.</p>
82
  </div>
83
  </div>
84
  </div>
 
90
  <section id="optimizations" class="py-5 bg-light">
91
  <div class="container">
92
  <h2 class="text-center mb-5 animate__animated animate__fadeIn">๐Ÿง™โ€โ™‚๏ธ Ghostai1โ€™s Math Sorcery</h2>
93
+ <p class="lead text-center text-dark mb-4">GhostPackโ€™s SDK is a spectral masterpiece, conjured with ghostai1โ€™s math optimizations to haunt any laptop with 8GB RAM.</p>
94
 
95
  <!-- Tabs for Optimization Categories -->
96
  <ul class="nav nav-tabs justify-content-center mb-4" id="optTab" role="tablist">
 
180
  </div>
181
 
182
  <!-- Optimization Breakdown -->
183
+ <div class="row mt-4">
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 to a fixed-size matrix, slashing VRAM by ~50% (\( M_{\text{VRAM}} \propto O(1) \)), enabling 60s videos on 6GB VRAM GPUs.</li>
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>
191
+ <li><strong>๐Ÿ’พ tcmalloc</strong>: Reduces memory overhead by ~5โ€“20% (\( O_{\text{mem}} \approx 0.8O_{\text{glibc}} \)), easing CPU load by ~15%.</li>
192
+ <li><strong>โšก CUDA Tweaks</strong>: Cuts latency by ~10โ€“15% (\( L_{\text{CUDA}} \approx 0.85L_{\text{base}} \)) with optimized allocation.</li>
193
  </ul>
194
  </div>
195
  </div>
 
257
  <section id="future" class="py-5 bg-dark text-white">
258
  <div class="container">
259
  <h2 class="text-center mb-5 animate__animated animate__fadeIn">๐ŸŒŒ Future Spectral Phantoms</h2>
260
+ <p class="lead text-center">GhostPack is brewing epic upgrades:</p>
261
  <div class="row row-cols-1 row-cols-md-2 g-4">
262
  <div class="col">
263
  <div class="card bg-ghost-card h-100">
264
  <div class="card-body">
265
  <h3 class="card-title">๐Ÿ—ฃ๏ธ Voice Generation</h3>
266
+ <p class="card-text">AI-driven voice synthesis to narrate videos with ghostly tones, coming to ghostgradio.py.</p>
267
  </div>
268
  </div>
269
  </div>
 
271
  <div class="card bg-ghost-card h-100">
272
  <div class="card-body">
273
  <h3 class="card-title">๐Ÿ–ผ๏ธ AI Images</h3>
274
+ <p class="card-text">Generate spectral starting frames with AI-crafted images for cinematic video pipelines.</p>
275
  </div>
276
  </div>
277
  </div>
 
282
  <!-- Installation Section -->
283
  <section id="installation" class="py-5 bg-light">
284
  <div class="container">
285
+ <h2 class="text-center mb-5 animate__animated animate__fadeIn">๐Ÿ› ๏ธ Unleash GhostPack</h2>
286
+ <p class="lead text-center text-dark mb-4">Summon from GitHub. Requires >30GB disk space.</p>
287
  <div class="row row-cols-1 row-cols-md-3 g-4">
288
  <div class="col">
289
+ <div class="card bg-ghost-light h-100">
290
+ <div class="card-body">
291
+ <h3 class="card-title">๐Ÿง Ubuntu</h3>
292
+ <pre><code class="code-block">git clone https://github.com/ghostai1/GhostPack
293
  cd GhostPack
294
  chmod +x install_ubuntu.sh
295
  ./install_ubuntu.sh</code></pre>
296
+ <p class="text-dark">NVIDIA GPU, 8GB RAM, Python 3.10, CUDA 12.6.</p>
297
+ </div>
298
+ </div>
299
  </div>
300
  <div class="col">
301
+ <div class="card bg-ghost-light h-100">
302
+ <div class="card-body">
303
+ <h3 class="card-title">๐ŸชŸ Windows</h3>
304
+ <pre><code class="code-block">git clone https://github.com/ghostai1/GhostPack
305
  cd GhostPack
306
  install.bat</code></pre>
307
+ <p class="text-dark">Auto-downloads models (>30GB).</p>
308
+ </div>
309
+ </div>
310
  </div>
311
  <div class="col">
312
+ <div class="card bg-ghost-light h-100">
313
+ <div class="card-body">
314
+ <h3 class="card-title">๐ŸŽ macOS</h3>
315
+ <pre><code class="code-block">git clone https://github.com/ghostai1/GhostPack
316
  cd GhostPack
317
  chmod +x install_macos.sh
318
  ./install_macos.sh</code></pre>
319
+ <p class="text-dark">M1/M2 support (slower).</p>
320
+ </div>
321
+ </div>
322
  </div>
323
  </div>
324
  </div>
 
330
  <h2 class="text-center mb-5 animate__animated animate__fadeIn">๐Ÿ“น Weave Ghostly Videos</h2>
331
  <ol>
332
  <li><strong>Launch Phantom GUI</strong>:
333
+ <div class="card bg-ghost-light">
334
+ <div class="card-body">
335
+ <pre><code class="code-block">source ~/ghostpack_venv/venv/bin/activate
336
  cd ~/ghostpack_venv
337
  python ghostgradio.py --port 5666 --server 0.0.0.0</code></pre>
338
+ </div>
339
+ </div>
340
  </li>
341
  <li><strong>Craft Spells</strong>:
342
  <ul>
 
364
  </div>
365
  </section>
366
 
367
+ <!-- Last Files Section -->
368
+ <section id="files" class="py-5 bg-dark text-white">
369
+ <div class="container">
370
+ <h2 class="text-center mb-5 animate__animated animate__fadeIn">๐Ÿ“‚ Latest Conjurations</h2>
371
+ <p class="lead text-center mb-4">Explore the latest files and logs from the GhostPack repo.</p>
372
+ <div class="row row-cols-1 row-cols-md-2 g-4">
373
+ <div class="col">
374
+ <div class="card bg-ghost-card h-100">
375
+ <div class="card-body text-center">
376
+ <h3 class="card-title">๐Ÿ“œ Latest File</h3>
377
+ <p class="card-text">Check out <code>ghostgradio.py</code>, the heart of GhostPackโ€™s GUI.</p>
378
+ <a href="https://github.com/ghostai1/GhostPack/blob/main/ghostgradio.py" class="btn btn-ghost" target="_blank">View File</a>
379
+ </div>
380
+ </div>
381
+ </div>
382
+ <div class="col">
383
+ <div class="card bg-ghost-card h-100">
384
+ <div class="card-body text-center">
385
+ <h3 class="card-title">๐Ÿ“‹ Logs</h3>
386
+ <p class="card-text">Dive into the latest render logs for debugging and insights.</p>
387
+ <a href="https://github.com/ghostai1/GhostPack/tree/main/outputs" class="btn btn-ghost" target="_blank">View Logs</a>
388
+ </div>
389
+ </div>
390
+ </div>
391
+ </div>
392
+ <div class="text-center mt-4">
393
+ <a href="https://github.com/ghostai1/GhostPack" class="btn btn-outline-ghost" target="_blank">Refresh Repo ๐Ÿ”„</a>
394
+ </div>
395
+ </div>
396
+ </section>
397
+
398
  <!-- Footer -->
399
  <footer class="bg-ghost-black text-white text-center py-4">
400
  <p>๐Ÿ‘ป GhostPack by ghostai1 | <a href="https://github.com/ghostai1/GhostPack" target="_blank">GitHub</a> | <a href="https://huggingface.co/spaces/ghostai1/GhostPack" target="_blank">Hugging Face</a> | Apache-2.0 License</p>
 
410
  <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button>
411
  </div>
412
  <div class="modal-body">
413
+ <p>Teacache caches diffusion states, reducing compute by ~30โ€“40% and slashing frame time by ~40% (~12s/frame on RTX 3060).</p>
414
+ <p><strong>Math</strong>: \( T_{\text{total}} \approx 0.6 \cdot T_{\text{base}} \).</p>
415
  </div>
416
  </div>
417
  </div>
 
424
  <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button>
425
  </div>
426
  <div class="modal-body">
427
+ <p>Compresses frame contexts to a fixed-size matrix, saving ~50% VRAM (~2โ€“3GB for 60s videos).</p>
428
+ <p><strong>Math</strong>: \( M_{\text{VRAM}} \propto O(1) \).</p>
429
  </div>
430
  </div>
431
  </div>
 
438
  <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button>
439
  </div>
440
  <div class="modal-body">
441
+ <p>Adapts batch sizes (2โ€“4 frames), boosting throughput by ~30โ€“50% (~1.5x FPS).</p>
442
+ <p><strong>Math</strong>: \( \text{Throughput} \propto B \cdot \text{FPS}_{\text{base}} \).</p>
443
  </div>
444
  </div>
445
  </div>
 
452
  <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button>
453
  </div>
454
  <div class="modal-body">
455
+ <p>Optimizes attention layers, saving ~5โ€“10% time (~1โ€“2s/frame).</p>
456
  <p><strong>Math</strong>: \( T_{\text{attn}} \approx 0.9 \cdot T_{\text{base_attn}} \).</p>
457
  </div>
458
  </div>
 
466
  <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button>
467
  </div>
468
  <div class="modal-body">
469
+ <p>Reduces memory overhead by ~5โ€“20%, easing CPU load by ~15%.</p>
470
  <p><strong>Math</strong>: \( O_{\text{mem}} \approx 0.8 \cdot O_{\text{glibc}} \).</p>
471
  </div>
472
  </div>
 
480
  <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button>
481
  </div>
482
  <div class="modal-body">
483
+ <p>Optimizes CUDA allocation, reducing latency by ~10โ€“15%.</p>
484
  <p><strong>Math</strong>: \( L_{\text{CUDA}} \approx 0.85 \cdot L_{\text{base}} \).</p>
485
  </div>
486
  </div>