ghostai1 commited on
Commit
a6f0668
ยท
verified ยท
1 Parent(s): ea93a33

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +86 -42
index.html CHANGED
@@ -28,10 +28,10 @@
28
  <li class="nav-item"><a class="nav-link" href="#home">Home</a></li>
29
  <li class="nav-item"><a class="nav-link" href="#features">Features</a></li>
30
  <li class="nav-item"><a class="nav-link" href="#optimizations">Math Sorcery</a></li>
 
31
  <li class="nav-item"><a class="nav-link" href="#future">Future</a></li>
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>
@@ -59,7 +59,7 @@
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>
@@ -114,7 +114,7 @@
114
  <div class="card-body text-center">
115
  <h3 class="card-title">๐Ÿ”ฎ Teacache</h3>
116
  <p class="card-text">Caches diffusion states, slashing ~40% off frame time.</p>
117
- <p><strong>Boost: ~40%</strong><br>Stat: ~12s/frame<br>Math: \( T_{\text{total}} \approx 0.6 \cdot T_{\text{base}} \)</p>
118
  </div>
119
  </div>
120
  </div>
@@ -123,7 +123,7 @@
123
  <div class="card-body text-center">
124
  <h3 class="card-title">๐Ÿง™โ€โ™‚๏ธ Sage-Attention</h3>
125
  <p class="card-text">Streamlines attention layers for ~5โ€“10% speed-up.</p>
126
- <p><strong>Boost: ~5โ€“10%</strong><br>Stat: ~1โ€“2s/frame<br>Math: \( T_{\text{attn}} \approx 0.9 \cdot T_{\text{base_attn}} \)</p>
127
  </div>
128
  </div>
129
  </div>
@@ -131,8 +131,8 @@
131
  <div class="card bg-ghost-card text-white h-100" data-bs-toggle="modal" data-bs-target="#cudaModal">
132
  <div class="card-body text-center">
133
  <h3 class="card-title">โšก CUDA Tweaks</h3>
134
- <p class="card-text">Optimized memory allocation for ~10โ€“15% latency cut.</p>
135
- <p><strong>Boost: ~10โ€“15%</strong><br>Stat: ~10โ€“15% faster<br>Math: \( L_{\text{CUDA}} \approx 0.85 \cdot L_{\text{base}} \)</p>
136
  </div>
137
  </div>
138
  </div>
@@ -147,7 +147,7 @@
147
  <div class="card-body text-center">
148
  <h3 class="card-title">๐Ÿงฌ Context Packing</h3>
149
  <p class="card-text">Compresses contexts, saving ~50% VRAM.</p>
150
- <p><strong>Boost: ~50%</strong><br>Stat: ~2โ€“3GB saved<br>Math: \( M_{\text{VRAM}} \propto O(1) \)</p>
151
  </div>
152
  </div>
153
  </div>
@@ -155,8 +155,8 @@
155
  <div class="card bg-ghost-card text-white h-100" data-bs-toggle="modal" data-bs-target="#tcmallocModal">
156
  <div class="card-body text-center">
157
  <h3 class="card-title">๐Ÿ’พ tcmalloc</h3>
158
- <p class="card-text">Cuts memory overhead by ~5โ€“20%, easing CPU load.</p>
159
- <p><strong>Boost: ~5โ€“20%</strong><br>Stat: ~15% CPU relief<br>Math: \( O_{\text{mem}} \approx 0.8 \cdot O_{\text{glibc}} \)</p>
160
  </div>
161
  </div>
162
  </div>
@@ -171,7 +171,7 @@
171
  <div class="card-body text-center">
172
  <h3 class="card-title">โšก Dynamic Batching</h3>
173
  <p class="card-text">Adapts batches for ~30โ€“50% throughput gain.</p>
174
- <p><strong>Boost: ~30โ€“50%</strong><br>Stat: ~1.5x FPS<br>Math: \( \text{Throughput} \propto B \cdot \text{FPS}_{\text{base}} \)</p>
175
  </div>
176
  </div>
177
  </div>
@@ -206,6 +206,45 @@
206
  </div>
207
  </div>
208
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
209
  <!-- VRAM Requirements Table -->
210
  <div class="row mt-4">
211
  <div class="col-md-12">
@@ -225,25 +264,25 @@
225
  <td>GTX 1650</td>
226
  <td>6GB</td>
227
  <td>~18โ€“25s/frame</td>
228
- <td>Minimum spec, teacache recommended.</td>
229
  </tr>
230
  <tr>
231
  <td>RTX 3050</td>
232
  <td>8GB</td>
233
  <td>~15โ€“20s/frame</td>
234
- <td>Balanced, supports batch size 2.</td>
235
  </tr>
236
  <tr>
237
  <td>RTX 3060</td>
238
  <td>12GB</td>
239
  <td>~10โ€“15s/frame</td>
240
- <td>Optimal, batch size 2โ€“4, full features.</td>
241
  </tr>
242
  <tr>
243
  <td>RTX 4090</td>
244
  <td>24GB</td>
245
  <td>~1.5โ€“2.5s/frame</td>
246
- <td>High-end, max batch size, no limits.</td>
247
  </tr>
248
  </tbody>
249
  </table>
@@ -253,14 +292,32 @@
253
  </div>
254
  </section>
255
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
256
  <!-- Future Features Section -->
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>
@@ -268,10 +325,10 @@
268
  </div>
269
  </div>
270
  <div class="col">
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>
@@ -280,43 +337,43 @@
280
  </section>
281
 
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>
@@ -325,7 +382,7 @@ chmod +x install_macos.sh
325
  </section>
326
 
327
  <!-- Usage Section -->
328
- <section id="usage" class="py-5 bg-dark text-white">
329
  <div class="container">
330
  <h2 class="text-center mb-5 animate__animated animate__fadeIn">๐Ÿ“น Weave Ghostly Videos</h2>
331
  <ol>
@@ -351,19 +408,6 @@ python ghostgradio.py --port 5666 --server 0.0.0.0</code></pre>
351
  </div>
352
  </section>
353
 
354
- <!-- Model Card Section -->
355
- <section id="model" class="py-5 bg-light">
356
- <div class="container">
357
- <h2 class="text-center mb-5 animate__animated animate__fadeIn">Spectral Grimoire</h2>
358
- <ul class="text-dark">
359
- <li><strong>Model</strong>: GhostPack-F1 (13B parameters).</li>
360
- <li><strong>Repo</strong>: <a href="https://huggingface.co/spaces/ghostai1/GhostPack" target="_blank">Hugging Face Spaces</a></li>
361
- <li><strong>Files</strong>: >30GB, stored in <code>models/</code> with Git LFS.</li>
362
- <li><strong>License</strong>: Apache-2.0.</li>
363
- </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">
@@ -383,7 +427,7 @@ python ghostgradio.py --port 5666 --server 0.0.0.0</code></pre>
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>
 
28
  <li class="nav-item"><a class="nav-link" href="#home">Home</a></li>
29
  <li class="nav-item"><a class="nav-link" href="#features">Features</a></li>
30
  <li class="nav-item"><a class="nav-link" href="#optimizations">Math Sorcery</a></li>
31
+ <li class="nav-item"><a class="nav-link" href="#demo">Demo</a></li>
32
  <li class="nav-item"><a class="nav-link" href="#future">Future</a></li>
33
  <li class="nav-item"><a class="nav-link" href="#installation">Installation</a></li>
34
  <li class="nav-item"><a class="nav-link" href="#usage">Usage</a></li>
 
35
  <li class="nav-item"><a class="nav-link" href="#files">Last Files</a></li>
36
  </ul>
37
  </div>
 
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="Matches Veo 3โ€™s photorealism">
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>
 
114
  <div class="card-body text-center">
115
  <h3 class="card-title">๐Ÿ”ฎ Teacache</h3>
116
  <p class="card-text">Caches diffusion states, slashing ~40% off frame time.</p>
117
+ <p><strong>Boost: 40%</strong><br>Stat: ~12s/frame on RTX 3060<br>Math: \( T_{\text{total}} \approx 0.6 \cdot T_{\text{base}} \)</p>
118
  </div>
119
  </div>
120
  </div>
 
123
  <div class="card-body text-center">
124
  <h3 class="card-title">๐Ÿง™โ€โ™‚๏ธ Sage-Attention</h3>
125
  <p class="card-text">Streamlines attention layers for ~5โ€“10% speed-up.</p>
126
+ <p><strong>Boost: 5โ€“10%</strong><br>Stat: ~1โ€“2s/frame saved<br>Math: \( T_{\text{attn}} \approx 0.9 \cdot T_{\text{base_attn}} \)</p>
127
  </div>
128
  </div>
129
  </div>
 
131
  <div class="card bg-ghost-card text-white h-100" data-bs-toggle="modal" data-bs-target="#cudaModal">
132
  <div class="card-body text-center">
133
  <h3 class="card-title">โšก CUDA Tweaks</h3>
134
+ <p class="card-text">Optimized allocation for ~10โ€“15% latency cut.</p>
135
+ <p><strong>Boost: 10โ€“15%</strong><br>Stat: ~10โ€“15% faster<br>Math: \( L_{\text{CUDA}} \approx 0.85 \cdot L_{\text{base}} \)</p>
136
  </div>
137
  </div>
138
  </div>
 
147
  <div class="card-body text-center">
148
  <h3 class="card-title">๐Ÿงฌ Context Packing</h3>
149
  <p class="card-text">Compresses contexts, saving ~50% VRAM.</p>
150
+ <p><strong>Boost: 50%</strong><br>Stat: ~2โ€“3GB saved<br>Math: \( M_{\text{VRAM}} \propto O(1) \)</p>
151
  </div>
152
  </div>
153
  </div>
 
155
  <div class="card bg-ghost-card text-white h-100" data-bs-toggle="modal" data-bs-target="#tcmallocModal">
156
  <div class="card-body text-center">
157
  <h3 class="card-title">๐Ÿ’พ tcmalloc</h3>
158
+ <p class="card-text">Cuts memory overhead by ~5โ€“20%.</p>
159
+ <p><strong>Boost: 5โ€“20%</strong><br>Stat: ~15% CPU relief<br>Math: \( O_{\text{mem}} \approx 0.8 \cdot O_{\text{glibc}} \)</p>
160
  </div>
161
  </div>
162
  </div>
 
171
  <div class="card-body text-center">
172
  <h3 class="card-title">โšก Dynamic Batching</h3>
173
  <p class="card-text">Adapts batches for ~30โ€“50% throughput gain.</p>
174
+ <p><strong>Boost: 30โ€“50%</strong><br>Stat: ~1.5x FPS<br>Math: \( \text{Throughput} \propto B \cdot \text{FPS}_{\text{base}} \)</p>
175
  </div>
176
  </div>
177
  </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">
 
264
  <td>GTX 1650</td>
265
  <td>6GB</td>
266
  <td>~18โ€“25s/frame</td>
267
+ <td>Minimum, teacache recommended.</td>
268
  </tr>
269
  <tr>
270
  <td>RTX 3050</td>
271
  <td>8GB</td>
272
  <td>~15โ€“20s/frame</td>
273
+ <td>Balanced, batch size 2.</td>
274
  </tr>
275
  <tr>
276
  <td>RTX 3060</td>
277
  <td>12GB</td>
278
  <td>~10โ€“15s/frame</td>
279
+ <td>Optimal, batch size 2โ€“4.</td>
280
  </tr>
281
  <tr>
282
  <td>RTX 4090</td>
283
  <td>24GB</td>
284
  <td>~1.5โ€“2.5s/frame</td>
285
+ <td>High-end, max batch size.</td>
286
  </tr>
287
  </tbody>
288
  </table>
 
292
  </div>
293
  </section>
294
 
295
+ <!-- Demo Video Showcase -->
296
+ <section id="demo" class="py-5 bg-dark text-white">
297
+ <div class="container">
298
+ <h2 class="text-center mb-5 animate__animated animate__fadeIn">๐ŸŽฅ Demo Video Showcase</h2>
299
+ <p class="lead text-center mb-4">Witness GhostPackโ€™s spectral video generation in action!</p>
300
+ <div class="row">
301
+ <div class="col-md-8 mx-auto">
302
+ <div class="card bg-ghost-card">
303
+ <div class="card-body text-center">
304
+ <video src="https://huggingface.co/spaces/ghostai1/GhostPack/resolve/main/demo_video.mp4" controls loop class="img-fluid rounded" style="max-height: 400px;"></video>
305
+ <p class="mt-3">Sample output from ghostgradio.py, showcasing a neon-lit spectral figure.</p>
306
+ </div>
307
+ </div>
308
+ </div>
309
+ </div>
310
+ </div>
311
+ </section>
312
+
313
  <!-- Future Features Section -->
314
+ <section id="future" class="py-5 bg-light text-dark">
315
  <div class="container">
316
  <h2 class="text-center mb-5 animate__animated animate__fadeIn">๐ŸŒŒ Future Spectral Phantoms</h2>
317
+ <p class="lead text-center mb-4">GhostPack is brewing epic upgrades:</p>
318
  <div class="row row-cols-1 row-cols-md-2 g-4">
319
  <div class="col">
320
+ <div class="card bg-ghost-light h-100">
321
  <div class="card-body">
322
  <h3 class="card-title">๐Ÿ—ฃ๏ธ Voice Generation</h3>
323
  <p class="card-text">AI-driven voice synthesis to narrate videos with ghostly tones, coming to ghostgradio.py.</p>
 
325
  </div>
326
  </div>
327
  <div class="col">
328
+ <div class="card bg-ghost-light h-100">
329
  <div class="card-body">
330
  <h3 class="card-title">๐Ÿ–ผ๏ธ AI Images</h3>
331
+ <p class="card-text">Generate spectral starting frames with AI-crafted images for cinematic pipelines.</p>
332
  </div>
333
  </div>
334
  </div>
 
337
  </section>
338
 
339
  <!-- Installation Section -->
340
+ <section id="installation" class="py-5 bg-dark text-white">
341
  <div class="container">
342
  <h2 class="text-center mb-5 animate__animated animate__fadeIn">๐Ÿ› ๏ธ Unleash GhostPack</h2>
343
+ <p class="lead text-center mb-4">Summon from GitHub. Requires >30GB disk space.</p>
344
  <div class="row row-cols-1 row-cols-md-3 g-4">
345
  <div class="col">
346
+ <div class="card bg-ghost-card h-100">
347
  <div class="card-body">
348
  <h3 class="card-title">๐Ÿง Ubuntu</h3>
349
  <pre><code class="code-block">git clone https://github.com/ghostai1/GhostPack
350
  cd GhostPack
351
  chmod +x install_ubuntu.sh
352
  ./install_ubuntu.sh</code></pre>
353
+ <p>NVIDIA GPU, 8GB RAM, Python 3.10, CUDA 12.6.</p>
354
  </div>
355
  </div>
356
  </div>
357
  <div class="col">
358
+ <div class="card bg-ghost-card h-100">
359
  <div class="card-body">
360
  <h3 class="card-title">๐ŸชŸ Windows</h3>
361
  <pre><code class="code-block">git clone https://github.com/ghostai1/GhostPack
362
  cd GhostPack
363
  install.bat</code></pre>
364
+ <p>Auto-downloads models (>30GB).</p>
365
  </div>
366
  </div>
367
  </div>
368
  <div class="col">
369
+ <div class="card bg-ghost-card h-100">
370
  <div class="card-body">
371
  <h3 class="card-title">๐ŸŽ macOS</h3>
372
  <pre><code class="code-block">git clone https://github.com/ghostai1/GhostPack
373
  cd GhostPack
374
  chmod +x install_macos.sh
375
  ./install_macos.sh</code></pre>
376
+ <p>M1/M2 support (slower).</p>
377
  </div>
378
  </div>
379
  </div>
 
382
  </section>
383
 
384
  <!-- Usage Section -->
385
+ <section id="usage" class="py-5 bg-light text-dark">
386
  <div class="container">
387
  <h2 class="text-center mb-5 animate__animated animate__fadeIn">๐Ÿ“น Weave Ghostly Videos</h2>
388
  <ol>
 
408
  </div>
409
  </section>
410
 
 
 
 
 
 
 
 
 
 
 
 
 
 
411
  <!-- Last Files Section -->
412
  <section id="files" class="py-5 bg-dark text-white">
413
  <div class="container">
 
427
  <div class="card bg-ghost-card h-100">
428
  <div class="card-body text-center">
429
  <h3 class="card-title">๐Ÿ“‹ Logs</h3>
430
+ <p class="card-text">Dive into render logs for debugging and insights.</p>
431
  <a href="https://github.com/ghostai1/GhostPack/tree/main/outputs" class="btn btn-ghost" target="_blank">View Logs</a>
432
  </div>
433
  </div>