Spaces:
Running
Running
Update index.html
Browse files- 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 |
-
<
|
47 |
-
|
|
|
|
|
|
|
|
|
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
|
58 |
<div class="card-body">
|
59 |
<h3 class="card-title">๐น Veo 3-Level AI</h3>
|
60 |
-
<p class="card-text">Hyper-realistic
|
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
|
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
|
74 |
<div class="card-body">
|
75 |
<h3 class="card-title">๐ ๏ธ Laptop Domination</h3>
|
76 |
-
<p class="card-text">13B models
|
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
|
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
|
183 |
-
<li><strong>๐งฌ Dynamic Batching</strong>: Adapts
|
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}} \))
|
186 |
-
<li><strong>๐พ tcmalloc</strong>: Reduces memory overhead by ~5โ20% (\( O_{\text{mem}} \approx 0.8O_{\text{glibc}} \)), easing CPU load by ~15
|
187 |
-
<li><strong>โก CUDA Tweaks</strong>: Cuts latency by ~10โ15% (\( L_{\text{CUDA}} \approx 0.85L_{\text{base}} \)) with optimized
|
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
|
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">
|
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">
|
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">๐ ๏ธ
|
281 |
-
<p class="text-center
|
282 |
<div class="row row-cols-1 row-cols-md-3 g-4">
|
283 |
<div class="col">
|
284 |
-
<
|
285 |
-
|
|
|
|
|
286 |
cd GhostPack
|
287 |
chmod +x install_ubuntu.sh
|
288 |
./install_ubuntu.sh</code></pre>
|
289 |
-
|
|
|
|
|
290 |
</div>
|
291 |
<div class="col">
|
292 |
-
<
|
293 |
-
|
|
|
|
|
294 |
cd GhostPack
|
295 |
install.bat</code></pre>
|
296 |
-
|
|
|
|
|
297 |
</div>
|
298 |
<div class="col">
|
299 |
-
<
|
300 |
-
|
|
|
|
|
301 |
cd GhostPack
|
302 |
chmod +x install_macos.sh
|
303 |
./install_macos.sh</code></pre>
|
304 |
-
|
|
|
|
|
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 |
-
<
|
|
|
|
|
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
|
362 |
-
<p><strong>Math</strong>: \( T_{\text{total}} \approx 0.6 \cdot T_{\text{base}} \)
|
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)
|
376 |
-
<p><strong>Math</strong>: \( M_{\text{VRAM}} \propto O(1) \)
|
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)
|
390 |
-
<p><strong>Math</strong>: \( \text{Throughput} \propto B \cdot \text{FPS}_{\text{base}} \)
|
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,
|
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
|
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
|
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>
|