Spaces:
Running
Running
Update index.html
Browse files- index.html +261 -56
index.html
CHANGED
|
@@ -8,6 +8,8 @@
|
|
| 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 -->
|
|
@@ -40,7 +42,7 @@
|
|
| 40 |
<div class="container">
|
| 41 |
<h1 class="display-3 animate__animated animate__zoomIn">๐ป GhostPack</h1>
|
| 42 |
<p class="lead animate__animated animate__fadeIn animate__delay-1s">Veo 3-Level Video Sorcery Haunts Laptops with 8GB RAM! ๐๐</p>
|
| 43 |
-
<p class="animate__animated animate__fadeIn animate__delay-2s">Unleash photorealistic videos with ghostai1โs math wizardry on
|
| 44 |
<a href="#installation" class="btn btn-ghost btn-lg animate__animated animate__pulse animate__delay-3s">Summon Now ๐ ๏ธ</a>
|
| 45 |
<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>
|
| 46 |
</div>
|
|
@@ -50,28 +52,28 @@
|
|
| 50 |
<section id="features" class="py-5 bg-dark text-white">
|
| 51 |
<div class="container">
|
| 52 |
<h2 class="text-center mb-5 animate__animated animate__fadeIn">โจ Spectral Features</h2>
|
| 53 |
-
<div class="row">
|
| 54 |
-
<div class="col
|
| 55 |
-
<div class="card bg-ghost-card h-100">
|
| 56 |
<div class="card-body">
|
| 57 |
<h3 class="card-title">๐น Veo 3-Level AI</h3>
|
| 58 |
-
<p class="card-text">
|
| 59 |
</div>
|
| 60 |
</div>
|
| 61 |
</div>
|
| 62 |
-
<div class="col
|
| 63 |
-
<div class="card bg-ghost-card h-100">
|
| 64 |
<div class="card-body">
|
| 65 |
<h3 class="card-title">โก๏ธ Phantom Speed</h3>
|
| 66 |
-
<p class="card-text">Teacache slashes ~40% off generation time (~12โ15s/frame on RTX 3060)
|
| 67 |
</div>
|
| 68 |
</div>
|
| 69 |
</div>
|
| 70 |
-
<div class="col
|
| 71 |
-
<div class="card bg-ghost-card h-100">
|
| 72 |
<div class="card-body">
|
| 73 |
<h3 class="card-title">๐ ๏ธ Laptop Domination</h3>
|
| 74 |
-
<p class="card-text">13B models haunt GPUs with โฅ6GB VRAM,
|
| 75 |
</div>
|
| 76 |
</div>
|
| 77 |
</div>
|
|
@@ -80,52 +82,169 @@
|
|
| 80 |
</section>
|
| 81 |
|
| 82 |
<!-- Optimizations Section -->
|
| 83 |
-
<section id="optimizations" class="py-5">
|
| 84 |
<div class="container">
|
| 85 |
-
<h2 class="text-center mb-5 animate__animated animate__fadeIn"
|
| 86 |
-
<p class="lead text-center text-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
</div>
|
| 95 |
</div>
|
| 96 |
</div>
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
</div>
|
| 104 |
</div>
|
| 105 |
</div>
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 112 |
</div>
|
| 113 |
</div>
|
| 114 |
</div>
|
| 115 |
</div>
|
|
|
|
|
|
|
| 116 |
<div class="row">
|
| 117 |
<div class="col-md-12">
|
| 118 |
-
<h3 class="mb-3">
|
| 119 |
<ul class="text-white">
|
| 120 |
-
<li><strong
|
| 121 |
-
<li><strong
|
| 122 |
-
<li><strong
|
| 123 |
-
<li><strong
|
| 124 |
-
<li><strong
|
| 125 |
-
<li><strong
|
| 126 |
</ul>
|
| 127 |
</div>
|
| 128 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 129 |
</div>
|
| 130 |
</section>
|
| 131 |
|
|
@@ -133,21 +252,21 @@
|
|
| 133 |
<section id="future" class="py-5 bg-dark text-white">
|
| 134 |
<div class="container">
|
| 135 |
<h2 class="text-center mb-5 animate__animated animate__fadeIn">๐ Future Spectral Phantoms</h2>
|
| 136 |
-
<p class="lead text-center">GhostPack is
|
| 137 |
-
<div class="row">
|
| 138 |
-
<div class="col
|
| 139 |
<div class="card bg-ghost-card h-100">
|
| 140 |
<div class="card-body">
|
| 141 |
<h3 class="card-title">๐ฃ๏ธ Voice Generation</h3>
|
| 142 |
-
<p class="card-text">
|
| 143 |
</div>
|
| 144 |
</div>
|
| 145 |
</div>
|
| 146 |
-
<div class="col
|
| 147 |
<div class="card bg-ghost-card h-100">
|
| 148 |
<div class="card-body">
|
| 149 |
<h3 class="card-title">๐ผ๏ธ AI Images</h3>
|
| 150 |
-
<p class="card-text">Future
|
| 151 |
</div>
|
| 152 |
</div>
|
| 153 |
</div>
|
|
@@ -158,10 +277,10 @@
|
|
| 158 |
<!-- Installation Section -->
|
| 159 |
<section id="installation" class="py-5 bg-light">
|
| 160 |
<div class="container">
|
| 161 |
-
<h2 class="text-center mb-
|
| 162 |
-
<p class="text-center lead text-dark">Unleash GhostPack from the GitHub repo. Requires >30GB disk space
|
| 163 |
-
<div class="row">
|
| 164 |
-
<div class="col
|
| 165 |
<h3>๐ง Ubuntu</h3>
|
| 166 |
<pre><code class="code-block">git clone https://github.com/ghostai1/GhostPack
|
| 167 |
cd GhostPack
|
|
@@ -169,14 +288,14 @@ chmod +x install_ubuntu.sh
|
|
| 169 |
./install_ubuntu.sh</code></pre>
|
| 170 |
<p class="text-dark">NVIDIA GPU, 8GB RAM, Python 3.10, CUDA 12.6.</p>
|
| 171 |
</div>
|
| 172 |
-
<div class="col
|
| 173 |
<h3>๐ช Windows</h3>
|
| 174 |
<pre><code class="code-block">git clone https://github.com/ghostai1/GhostPack
|
| 175 |
cd GhostPack
|
| 176 |
install.bat</code></pre>
|
| 177 |
<p class="text-dark">Auto-downloads models (>30GB).</p>
|
| 178 |
</div>
|
| 179 |
-
<div class="col
|
| 180 |
<h3>๐ macOS</h3>
|
| 181 |
<pre><code class="code-block">git clone https://github.com/ghostai1/GhostPack
|
| 182 |
cd GhostPack
|
|
@@ -191,7 +310,7 @@ chmod +x install_macos.sh
|
|
| 191 |
<!-- Usage Section -->
|
| 192 |
<section id="usage" class="py-5 bg-dark text-white">
|
| 193 |
<div class="container">
|
| 194 |
-
<h2 class="text-center mb-
|
| 195 |
<ol>
|
| 196 |
<li><strong>Launch Phantom GUI</strong>:
|
| 197 |
<pre><code class="code-block">source ~/ghostpack_venv/venv/bin/activate
|
|
@@ -212,10 +331,10 @@ python ghostgradio.py --port 5666 --server 0.0.0.0</code></pre>
|
|
| 212 |
</section>
|
| 213 |
|
| 214 |
<!-- Model Card Section -->
|
| 215 |
-
<section id="model" class="py-5">
|
| 216 |
<div class="container">
|
| 217 |
-
<h2 class="text-center mb-
|
| 218 |
-
<ul class="text-
|
| 219 |
<li><strong>Model</strong>: GhostPack-F1 (13B parameters).</li>
|
| 220 |
<li><strong>Repo</strong>: <a href="https://huggingface.co/spaces/ghostai1/GhostPack" target="_blank">Hugging Face Spaces</a></li>
|
| 221 |
<li><strong>Files</strong>: >30GB, stored in <code>models/</code> with Git LFS.</li>
|
|
@@ -230,6 +349,92 @@ python ghostgradio.py --port 5666 --server 0.0.0.0</code></pre>
|
|
| 230 |
<p>Forged in ๐ hellfire with โก๏ธ to haunt video generation forever!</p>
|
| 231 |
</footer>
|
| 232 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 233 |
<!-- Bootstrap JS -->
|
| 234 |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
|
| 235 |
<!-- Custom JS -->
|
|
|
|
| 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 -->
|
|
|
|
| 42 |
<div class="container">
|
| 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>
|
|
|
|
| 52 |
<section id="features" class="py-5 bg-dark text-white">
|
| 53 |
<div class="container">
|
| 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>
|
| 64 |
+
<div class="col">
|
| 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>
|
|
|
|
| 82 |
</section>
|
| 83 |
|
| 84 |
<!-- Optimizations Section -->
|
| 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">
|
| 92 |
+
<li class="nav-item" role="presentation">
|
| 93 |
+
<button class="nav-link active" id="speed-tab" data-bs-toggle="tab" data-bs-target="#speed" type="button" role="tab" aria-controls="speed" aria-selected="true">โก๏ธ Speed</button>
|
| 94 |
+
</li>
|
| 95 |
+
<li class="nav-item" role="presentation">
|
| 96 |
+
<button class="nav-link" id="memory-tab" data-bs-toggle="tab" data-bs-target="#memory" type="button" role="tab" aria-controls="memory" aria-selected="false">๐ฎ Memory</button>
|
| 97 |
+
</li>
|
| 98 |
+
<li class="nav-item" role="presentation">
|
| 99 |
+
<button class="nav-link" id="compute-tab" data-bs-toggle="tab" data-bs-target="#compute" type="button" role="tab" aria-controls="compute" aria-selected="false">๐งฌ Compute</button>
|
| 100 |
+
</li>
|
| 101 |
+
</ul>
|
| 102 |
+
|
| 103 |
+
<div class="tab-content" id="optTabContent">
|
| 104 |
+
<!-- Speed Tab -->
|
| 105 |
+
<div class="tab-pane fade show active" id="speed" role="tabpanel" aria-labelledby="speed-tab">
|
| 106 |
+
<div class="row row-cols-1 row-cols-md-3 g-4 mb-4">
|
| 107 |
+
<div class="col">
|
| 108 |
+
<div class="card bg-ghost-card text-white h-100" data-bs-toggle="modal" data-bs-target="#teacacheModal">
|
| 109 |
+
<div class="card-body text-center">
|
| 110 |
+
<h3 class="card-title">๐ฎ Teacache</h3>
|
| 111 |
+
<p class="card-text">Caches diffusion states, slashing ~40% off frame time.</p>
|
| 112 |
+
<p><strong>Boost: ~40%</strong><br>Stat: ~12s/frame<br>Math: \( T_{\text{total}} \approx 0.6 \cdot T_{\text{base}} \)</p>
|
| 113 |
+
</div>
|
| 114 |
+
</div>
|
| 115 |
+
</div>
|
| 116 |
+
<div class="col">
|
| 117 |
+
<div class="card bg-ghost-card text-white h-100" data-bs-toggle="modal" data-bs-target="#sageModal">
|
| 118 |
+
<div class="card-body text-center">
|
| 119 |
+
<h3 class="card-title">๐งโโ๏ธ Sage-Attention</h3>
|
| 120 |
+
<p class="card-text">Streamlines attention layers for ~5โ10% speed-up.</p>
|
| 121 |
+
<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>
|
| 122 |
+
</div>
|
| 123 |
+
</div>
|
| 124 |
+
</div>
|
| 125 |
+
<div class="col">
|
| 126 |
+
<div class="card bg-ghost-card text-white h-100" data-bs-toggle="modal" data-bs-target="#cudaModal">
|
| 127 |
+
<div class="card-body text-center">
|
| 128 |
+
<h3 class="card-title">โก CUDA Tweaks</h3>
|
| 129 |
+
<p class="card-text">Optimized memory allocation for ~10โ15% latency cut.</p>
|
| 130 |
+
<p><strong>Boost: ~10โ15%</strong><br>Stat: ~10โ15% faster<br>Math: \( L_{\text{CUDA}} \approx 0.85 \cdot L_{\text{base}} \)</p>
|
| 131 |
+
</div>
|
| 132 |
+
</div>
|
| 133 |
</div>
|
| 134 |
</div>
|
| 135 |
</div>
|
| 136 |
+
|
| 137 |
+
<!-- Memory Tab -->
|
| 138 |
+
<div class="tab-pane fade" id="memory" role="tabpanel" aria-labelledby="memory-tab">
|
| 139 |
+
<div class="row row-cols-1 row-cols-md-2 g-4 mb-4">
|
| 140 |
+
<div class="col">
|
| 141 |
+
<div class="card bg-ghost-card text-white h-100" data-bs-toggle="modal" data-bs-target="#contextModal">
|
| 142 |
+
<div class="card-body text-center">
|
| 143 |
+
<h3 class="card-title">๐งฌ Context Packing</h3>
|
| 144 |
+
<p class="card-text">Compresses contexts, saving ~50% VRAM.</p>
|
| 145 |
+
<p><strong>Boost: ~50%</strong><br>Stat: ~2โ3GB saved<br>Math: \( M_{\text{VRAM}} \propto O(1) \)</p>
|
| 146 |
+
</div>
|
| 147 |
+
</div>
|
| 148 |
+
</div>
|
| 149 |
+
<div class="col">
|
| 150 |
+
<div class="card bg-ghost-card text-white h-100" data-bs-toggle="modal" data-bs-target="#tcmallocModal">
|
| 151 |
+
<div class="card-body text-center">
|
| 152 |
+
<h3 class="card-title">๐พ tcmalloc</h3>
|
| 153 |
+
<p class="card-text">Cuts memory overhead by ~5โ20%, easing CPU load.</p>
|
| 154 |
+
<p><strong>Boost: ~5โ20%</strong><br>Stat: ~15% CPU relief<br>Math: \( O_{\text{mem}} \approx 0.8 \cdot O_{\text{glibc}} \)</p>
|
| 155 |
+
</div>
|
| 156 |
+
</div>
|
| 157 |
</div>
|
| 158 |
</div>
|
| 159 |
</div>
|
| 160 |
+
|
| 161 |
+
<!-- Compute Tab -->
|
| 162 |
+
<div class="tab-pane fade" id="compute" role="tabpanel" aria-labelledby="compute-tab">
|
| 163 |
+
<div class="row row-cols-1 row-cols-md-1 g-4 mb-4">
|
| 164 |
+
<div class="col">
|
| 165 |
+
<div class="card bg-ghost-card text-white h-100" data-bs-toggle="modal" data-bs-target="#batchingModal">
|
| 166 |
+
<div class="card-body text-center">
|
| 167 |
+
<h3 class="card-title">โก Dynamic Batching</h3>
|
| 168 |
+
<p class="card-text">Adapts batches for ~30โ50% throughput gain.</p>
|
| 169 |
+
<p><strong>Boost: ~30โ50%</strong><br>Stat: ~1.5x FPS<br>Math: \( \text{Throughput} \propto B \cdot \text{FPS}_{\text{base}} \)</p>
|
| 170 |
+
</div>
|
| 171 |
+
</div>
|
| 172 |
</div>
|
| 173 |
</div>
|
| 174 |
</div>
|
| 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>
|
| 191 |
+
|
| 192 |
+
<!-- Speed Chart -->
|
| 193 |
+
<div class="row mt-4">
|
| 194 |
+
<div class="col-md-12">
|
| 195 |
+
<h3 class="text-center text-white mb-3">Speed Across GPUs ๐</h3>
|
| 196 |
+
<div class="card bg-ghost-card">
|
| 197 |
+
<div class="card-body">
|
| 198 |
+
<canvas id="speedChart"></canvas>
|
| 199 |
+
</div>
|
| 200 |
+
</div>
|
| 201 |
+
</div>
|
| 202 |
+
</div>
|
| 203 |
+
|
| 204 |
+
<!-- VRAM Requirements Table -->
|
| 205 |
+
<div class="row mt-4">
|
| 206 |
+
<div class="col-md-12">
|
| 207 |
+
<h3 class="text-center text-white mb-3">VRAM Requirements ๐ฅ๏ธ</h3>
|
| 208 |
+
<div class="table-responsive">
|
| 209 |
+
<table class="table table-dark table-bordered">
|
| 210 |
+
<thead>
|
| 211 |
+
<tr>
|
| 212 |
+
<th>GPU</th>
|
| 213 |
+
<th>VRAM</th>
|
| 214 |
+
<th>Performance</th>
|
| 215 |
+
<th>Notes</th>
|
| 216 |
+
</tr>
|
| 217 |
+
</thead>
|
| 218 |
+
<tbody>
|
| 219 |
+
<tr>
|
| 220 |
+
<td>GTX 1650</td>
|
| 221 |
+
<td>6GB</td>
|
| 222 |
+
<td>~18โ25s/frame</td>
|
| 223 |
+
<td>Minimum spec, teacache recommended.</td>
|
| 224 |
+
</tr>
|
| 225 |
+
<tr>
|
| 226 |
+
<td>RTX 3050</td>
|
| 227 |
+
<td>8GB</td>
|
| 228 |
+
<td>~15โ20s/frame</td>
|
| 229 |
+
<td>Balanced, supports batch size 2.</td>
|
| 230 |
+
</tr>
|
| 231 |
+
<tr>
|
| 232 |
+
<td>RTX 3060</td>
|
| 233 |
+
<td>12GB</td>
|
| 234 |
+
<td>~10โ15s/frame</td>
|
| 235 |
+
<td>Optimal, batch size 2โ4, full features.</td>
|
| 236 |
+
</tr>
|
| 237 |
+
<tr>
|
| 238 |
+
<td>RTX 4090</td>
|
| 239 |
+
<td>24GB</td>
|
| 240 |
+
<td>~1.5โ2.5s/frame</td>
|
| 241 |
+
<td>High-end, max batch size, no limits.</td>
|
| 242 |
+
</tr>
|
| 243 |
+
</tbody>
|
| 244 |
+
</table>
|
| 245 |
+
</div>
|
| 246 |
+
</div>
|
| 247 |
+
</div>
|
| 248 |
</div>
|
| 249 |
</section>
|
| 250 |
|
|
|
|
| 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>
|
| 265 |
+
<div class="col">
|
| 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 |
<!-- 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
|
|
|
|
| 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
|
|
|
|
| 310 |
<!-- Usage Section -->
|
| 311 |
<section id="usage" class="py-5 bg-dark text-white">
|
| 312 |
<div class="container">
|
| 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
|
|
|
|
| 331 |
</section>
|
| 332 |
|
| 333 |
<!-- Model Card Section -->
|
| 334 |
+
<section id="model" class="py-5 bg-light">
|
| 335 |
<div class="container">
|
| 336 |
+
<h2 class="text-center mb-5 animate__animated animate__fadeIn">Spectral Grimoire</h2>
|
| 337 |
+
<ul class="text-dark">
|
| 338 |
<li><strong>Model</strong>: GhostPack-F1 (13B parameters).</li>
|
| 339 |
<li><strong>Repo</strong>: <a href="https://huggingface.co/spaces/ghostai1/GhostPack" target="_blank">Hugging Face Spaces</a></li>
|
| 340 |
<li><strong>Files</strong>: >30GB, stored in <code>models/</code> with Git LFS.</li>
|
|
|
|
| 349 |
<p>Forged in ๐ hellfire with โก๏ธ to haunt video generation forever!</p>
|
| 350 |
</footer>
|
| 351 |
|
| 352 |
+
<!-- Modals -->
|
| 353 |
+
<div class="modal fade" id="teacacheModal" tabindex="-1" aria-labelledby="teacacheModalLabel" aria-hidden="true">
|
| 354 |
+
<div class="modal-dialog modal-lg">
|
| 355 |
+
<div class="modal-content bg-ghost-card text-white">
|
| 356 |
+
<div class="modal-header">
|
| 357 |
+
<h5 class="modal-title" id="teacacheModalLabel">๐ฎ Teacache</h5>
|
| 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>
|
| 366 |
+
</div>
|
| 367 |
+
<div class="modal fade" id="contextModal" tabindex="-1" aria-labelledby="contextModalLabel" aria-hidden="true">
|
| 368 |
+
<div class="modal-dialog modal-lg">
|
| 369 |
+
<div class="modal-content bg-ghost-card text-white">
|
| 370 |
+
<div class="modal-header">
|
| 371 |
+
<h5 class="modal-title" id="contextModalLabel">๐งฌ Context Packing</h5>
|
| 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>
|
| 380 |
+
</div>
|
| 381 |
+
<div class="modal fade" id="batchingModal" tabindex="-1" aria-labelledby="batchingModalLabel" aria-hidden="true">
|
| 382 |
+
<div class="modal-dialog modal-lg">
|
| 383 |
+
<div class="modal-content bg-ghost-card text-white">
|
| 384 |
+
<div class="modal-header">
|
| 385 |
+
<h5 class="modal-title" id="batchingModalLabel">โก Dynamic Batching</h5>
|
| 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>
|
| 394 |
+
</div>
|
| 395 |
+
<div class="modal fade" id="sageModal" tabindex="-1" aria-labelledby="sageModalLabel" aria-hidden="true">
|
| 396 |
+
<div class="modal-dialog modal-lg">
|
| 397 |
+
<div class="modal-content bg-ghost-card text-white">
|
| 398 |
+
<div class="modal-header">
|
| 399 |
+
<h5 class="modal-title" id="sageModalLabel">๐งโโ๏ธ Sage-Attention</h5>
|
| 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>
|
| 407 |
+
</div>
|
| 408 |
+
</div>
|
| 409 |
+
<div class="modal fade" id="tcmallocModal" tabindex="-1" aria-labelledby="tcmallocModalLabel" aria-hidden="true">
|
| 410 |
+
<div class="modal-dialog modal-lg">
|
| 411 |
+
<div class="modal-content bg-ghost-card text-white">
|
| 412 |
+
<div class="modal-header">
|
| 413 |
+
<h5 class="modal-title" id="tcmallocModalLabel">๐พ tcmalloc</h5>
|
| 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>
|
| 421 |
+
</div>
|
| 422 |
+
</div>
|
| 423 |
+
<div class="modal fade" id="cudaModal" tabindex="-1" aria-labelledby="cudaModalLabel" aria-hidden="true">
|
| 424 |
+
<div class="modal-dialog modal-lg">
|
| 425 |
+
<div class="modal-content bg-ghost-card text-white">
|
| 426 |
+
<div class="modal-header">
|
| 427 |
+
<h5 class="modal-title" id="cudaModalLabel">โก CUDA Tweaks</h5>
|
| 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>
|
| 435 |
+
</div>
|
| 436 |
+
</div>
|
| 437 |
+
|
| 438 |
<!-- Bootstrap JS -->
|
| 439 |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
|
| 440 |
<!-- Custom JS -->
|