Spaces:
Running
Running
Update GhostPackDemo/readme.md
Browse files- GhostPackDemo/readme.md +54 -56
GhostPackDemo/readme.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
-
#
|
| 2 |
|
| 3 |
-
**
|
| 4 |
[](https://python.org)
|
| 5 |
[](LICENSE)
|
| 6 |
[](https://huggingface.co/spaces/ghostai1/GhostPackDemo)
|
|
@@ -11,58 +11,50 @@
|
|
| 11 |
|
| 12 |
<img src="https://cdn-uploads.huggingface.co/production/uploads/6421b1c68adc8881b974a89d/2RH49llUgKsmWY7Hu8yBD.gif"
|
| 13 |
alt="GhostPack Animated Banner"
|
| 14 |
-
style="width: 920px; height: 260px; max-width: 100%; border-radius:
|
| 15 |
|
| 16 |
</div>
|
| 17 |
|
| 18 |
---
|
| 19 |
|
| 20 |
-
## π What is GhostPackDemo?
|
| 21 |
|
| 22 |
-
**GhostPackDemo** is an open-source
|
| 23 |
|
| 24 |
-
- **
|
| 25 |
-
- **
|
| 26 |
-
- **Laptop-
|
| 27 |
-
- **
|
| 28 |
-
- **
|
|
|
|
|
|
|
| 29 |
|
| 30 |
---
|
| 31 |
|
| 32 |
-
## β¨ Features
|
| 33 |
|
| 34 |
-
- **Veo 3-Level AI:** Next-frame
|
| 35 |
-
- **Phantom Speed:** Teacache
|
| 36 |
-
- **
|
| 37 |
-
- **Open Source:** Apache 2.0, remix,
|
| 38 |
-
- **Export
|
| 39 |
|
| 40 |
---
|
| 41 |
|
| 42 |
-
## π§
|
| 43 |
-
|
| 44 |
-
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
- **Memory**
|
| 50 |
-
- Context packing: β50% VRAM
|
| 51 |
-
- tcmalloc: β20% overhead
|
| 52 |
-
- Memory cache: β25% VRAM swap
|
| 53 |
-
- **Compute**
|
| 54 |
-
- Dynamic batching: +50% throughput
|
| 55 |
-
- **Efficiency**
|
| 56 |
-
- Power saving: β30% idle power
|
| 57 |
-
- Thread tuning: +15% CPU
|
| 58 |
-
- **VRAM Needs**
|
| 59 |
- GTX 1650 (6GB): 18β25s/frame
|
| 60 |
- RTX 3050 (8GB): 15β20s/frame
|
| 61 |
- RTX 3060 (12GB): 10β15s/frame
|
| 62 |
- RTX 4090 (24GB): 1.5β2.5s/frame
|
| 63 |
|
| 64 |
-
**Minimum
|
| 65 |
-
**
|
| 66 |
|
| 67 |
---
|
| 68 |
|
|
@@ -70,7 +62,7 @@
|
|
| 70 |
|
| 71 |
<div align="center">
|
| 72 |
|
| 73 |
-
<img src="https://cdn-uploads.huggingface.co/production/uploads/6421b1c68adc8881b974a89d/k8pgUlg4OvdUZpbMNTcp5.gif" alt="GhostPack Demo GIF" style="width: 470px; height: auto; border-radius:
|
| 74 |
|
| 75 |
<div style="display: flex; flex-direction: row; justify-content: center; gap: 28px;">
|
| 76 |
|
|
@@ -88,11 +80,13 @@
|
|
| 88 |
|
| 89 |
</div>
|
| 90 |
|
| 91 |
-
>
|
| 92 |
|
| 93 |
---
|
| 94 |
|
| 95 |
-
##
|
|
|
|
|
|
|
| 96 |
|
| 97 |
**Ubuntu**
|
| 98 |
```bash
|
|
@@ -119,46 +113,50 @@ chmod +x install_macos.sh
|
|
| 119 |
|
| 120 |
---
|
| 121 |
|
| 122 |
-
##
|
| 123 |
|
| 124 |
```bash
|
| 125 |
source ~/ghostpack_venv/bin/activate
|
| 126 |
cd ~/ghostpack_venv
|
| 127 |
python ghostgradio.py --port 5666 --server 0.0.0.0
|
| 128 |
```
|
| 129 |
-
- Upload an image
|
| 130 |
-
-
|
| 131 |
-
-
|
| 132 |
-
-
|
| 133 |
-
-
|
|
|
|
| 134 |
|
| 135 |
---
|
| 136 |
|
| 137 |
-
##
|
| 138 |
|
| 139 |
-
- **AI Voice
|
| 140 |
-
- **AI Start Images**:
|
| 141 |
-
- **
|
|
|
|
| 142 |
|
| 143 |
---
|
| 144 |
|
| 145 |
-
##
|
| 146 |
|
| 147 |
-
- [Discord](https://discord.gg/ghostpack)
|
| 148 |
-
- [GitHub Issues](https://github.com/ghostai1/GhostPack/issues)
|
| 149 |
-
- [Hugging Face Space](https://huggingface.co/spaces/ghostai1/GhostPackDemo)
|
| 150 |
|
| 151 |
---
|
| 152 |
|
| 153 |
-
##
|
| 154 |
|
| 155 |
-
- Fork, branch, PR
|
| 156 |
- See [CONTRIBUTING.md](https://github.com/ghostai1/GhostPack/blob/main/CONTRIBUTING.md)
|
| 157 |
|
| 158 |
---
|
| 159 |
|
| 160 |
-
##
|
| 161 |
|
| 162 |
Apache 2.0
|
| 163 |
**GhostPack by [ghostai1](https://github.com/ghostai1/GhostPack) Β· [Hugging Face](https://huggingface.co/ghostai1)**
|
| 164 |
-
*Created June 11, 2025*
|
|
|
|
|
|
|
|
|
| 1 |
+
# π»π§ GhostPackDemo (BETA) β Next-Gen AI Video Generator
|
| 2 |
|
| 3 |
+
**Beta Demo β Try experimental AI video creation, directly on your GPU!**
|
| 4 |
[](https://python.org)
|
| 5 |
[](LICENSE)
|
| 6 |
[](https://huggingface.co/spaces/ghostai1/GhostPackDemo)
|
|
|
|
| 11 |
|
| 12 |
<img src="https://cdn-uploads.huggingface.co/production/uploads/6421b1c68adc8881b974a89d/2RH49llUgKsmWY7Hu8yBD.gif"
|
| 13 |
alt="GhostPack Animated Banner"
|
| 14 |
+
style="width: 920px; height: 260px; max-width: 100%; border-radius: 18px; box-shadow: 0 0 48px #00ffcc; margin-bottom: 36px; display: block;">
|
| 15 |
|
| 16 |
</div>
|
| 17 |
|
| 18 |
---
|
| 19 |
|
| 20 |
+
## π What is GhostPackDemo? (Beta)
|
| 21 |
|
| 22 |
+
**GhostPackDemo** is an open-source AI video generator for your local GPU. This BETA combines **HunyuanVideo** and **FramePack** into a single Python pipeline + live Gradio UI.
|
| 23 |
|
| 24 |
+
- π¦Ύ **Fast:** 40% faster with Teacache, Sage-Attention, CUDA tweaks.
|
| 25 |
+
- π§ **Efficient:** 50% less VRAM (context packing, tcmalloc, memory cache).
|
| 26 |
+
- π» **Laptop-Ready:** 6GB VRAM & 8GB RAM minimum (GTX 1650/RTX 3050+).
|
| 27 |
+
- π **Runs Local:** All processing on your own hardware β no cloud!
|
| 28 |
+
- ποΈ **Live Preview:** See every frame build in real time, full workflow control.
|
| 29 |
+
|
| 30 |
+
> **Beta Notice:** Expect rough edges, limited samplers, and edge-case bugs! This demo build prioritizes clarity and reproducibility for AI devs.
|
| 31 |
|
| 32 |
---
|
| 33 |
|
| 34 |
+
## β¨ Features (Beta)
|
| 35 |
|
| 36 |
+
- **Veo 3-Level AI:** Next-frame prediction for ultra-realistic video motion.
|
| 37 |
+
- **Phantom Speed:** Teacache + Sage-Attention, 12β15s/frame (RTX 3060).
|
| 38 |
+
- **Config Control:** Batch size, frame window, prompt, CRF, see everything live.
|
| 39 |
+
- **Open Source:** Apache 2.0 β fork, remix, contribute!
|
| 40 |
+
- **Export:** High quality MP4 (CRF 0β100).
|
| 41 |
|
| 42 |
---
|
| 43 |
|
| 44 |
+
## π§ Math Sorcery & Hardware
|
| 45 |
+
|
| 46 |
+
- <span style="color:#00ffa2">**Speed:**</span> Teacache ~40% (`T_total β 0.6 Γ T_base`), Sage-Attention +10%, CUDA tweaks β15% latency
|
| 47 |
+
- <span style="color:#a200ff">**Memory:**</span> Context packing β50% VRAM, tcmalloc β20% overhead, memory cache β25%
|
| 48 |
+
- <span style="color:#00c3ff">**Compute:**</span> Dynamic batching +50% throughput
|
| 49 |
+
- <span style="color:#ffff00">**Efficiency:**</span> Power save β30% idle, Thread tuning +15% CPU
|
| 50 |
+
- <span style="color:#ff5e57">**VRAM Needs:**</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
- GTX 1650 (6GB): 18β25s/frame
|
| 52 |
- RTX 3050 (8GB): 15β20s/frame
|
| 53 |
- RTX 3060 (12GB): 10β15s/frame
|
| 54 |
- RTX 4090 (24GB): 1.5β2.5s/frame
|
| 55 |
|
| 56 |
+
**Minimum:** NVIDIA GPU (6GB+), 8GB RAM, 30GB+ disk, Python 3.10+, CUDA 12.6+
|
| 57 |
+
**Recommended:** RTX 3060 or better
|
| 58 |
|
| 59 |
---
|
| 60 |
|
|
|
|
| 62 |
|
| 63 |
<div align="center">
|
| 64 |
|
| 65 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/6421b1c68adc8881b974a89d/k8pgUlg4OvdUZpbMNTcp5.gif" alt="GhostPack Demo GIF" style="width: 470px; height: auto; border-radius: 18px; box-shadow: 0 0 32px #ff00ff; margin-bottom: 28px;">
|
| 66 |
|
| 67 |
<div style="display: flex; flex-direction: row; justify-content: center; gap: 28px;">
|
| 68 |
|
|
|
|
| 80 |
|
| 81 |
</div>
|
| 82 |
|
| 83 |
+
> π¬ [More Demo Clips](https://github.com/ghostai1/GhostPack/blob/main/demo_videos)
|
| 84 |
|
| 85 |
---
|
| 86 |
|
| 87 |
+
## βοΈ Installation (Beta)
|
| 88 |
+
|
| 89 |
+
> πΎ *30GB+ free space needed. Installs models on first run.*
|
| 90 |
|
| 91 |
**Ubuntu**
|
| 92 |
```bash
|
|
|
|
| 113 |
|
| 114 |
---
|
| 115 |
|
| 116 |
+
## β‘ Quick Start
|
| 117 |
|
| 118 |
```bash
|
| 119 |
source ~/ghostpack_venv/bin/activate
|
| 120 |
cd ~/ghostpack_venv
|
| 121 |
python ghostgradio.py --port 5666 --server 0.0.0.0
|
| 122 |
```
|
| 123 |
+
- πΌοΈ Upload an image
|
| 124 |
+
- π¬ Enter a prompt (e.g. βA graceful dance movementβ)
|
| 125 |
+
- π Enable Teacache, set video seconds, steps, CRF
|
| 126 |
+
- π See live frame preview + logs
|
| 127 |
+
- πΎ Export MP4 instantly
|
| 128 |
+
- π₯οΈ Monitor GPU: `nvidia-smi`
|
| 129 |
|
| 130 |
---
|
| 131 |
|
| 132 |
+
## πΊοΈ Roadmap
|
| 133 |
|
| 134 |
+
- π£οΈ **AI Voice**: Add local voiceover/narration
|
| 135 |
+
- πΌοΈ **AI Start Images**: Next-level starting frames
|
| 136 |
+
- πΆοΈ **VR Support**: Immersive AI video output
|
| 137 |
+
- π **More Samplers/Models** coming soon
|
| 138 |
|
| 139 |
---
|
| 140 |
|
| 141 |
+
## π¬ Community & Help
|
| 142 |
|
| 143 |
+
- [Discord](https://discord.gg/ghostpack) β Feedback & support
|
| 144 |
+
- [GitHub Issues](https://github.com/ghostai1/GhostPack/issues) β Bugs & requests
|
| 145 |
+
- [Hugging Face Space](https://huggingface.co/spaces/ghostai1/GhostPackDemo) β Try the live demo
|
| 146 |
|
| 147 |
---
|
| 148 |
|
| 149 |
+
## π¨βπ» Contributing
|
| 150 |
|
| 151 |
+
- Fork, branch, and PR! Beta testers wanted!
|
| 152 |
- See [CONTRIBUTING.md](https://github.com/ghostai1/GhostPack/blob/main/CONTRIBUTING.md)
|
| 153 |
|
| 154 |
---
|
| 155 |
|
| 156 |
+
## πͺͺ License
|
| 157 |
|
| 158 |
Apache 2.0
|
| 159 |
**GhostPack by [ghostai1](https://github.com/ghostai1/GhostPack) Β· [Hugging Face](https://huggingface.co/ghostai1)**
|
| 160 |
+
*BETA build Β· Created June 11, 2025*
|
| 161 |
+
|
| 162 |
+
---
|