ghostai1 commited on
Commit
21c1812
Β·
verified Β·
1 Parent(s): 240108c

Update GhostPackDemo/readme.md

Browse files
Files changed (1) hide show
  1. GhostPackDemo/readme.md +54 -56
GhostPackDemo/readme.md CHANGED
@@ -1,6 +1,6 @@
1
- # πŸ‘» GhostPackDemo: Next-Gen AI Video Generator
2
 
3
- **Create real 30 FPS AI videos from a single image on your own GPU**
4
  [![Python](https://img.shields.io/badge/python-3.8%2B-blue?logo=python)](https://python.org)
5
  [![License](https://img.shields.io/badge/license-Apache%202.0-green)](LICENSE)
6
  [![Live Demo](https://img.shields.io/badge/πŸ€—%20Spaces-Live%20Demo-orange)](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: 16px; box-shadow: 0 0 40px #00ffcc; margin-bottom: 32px; display: block;">
15
 
16
  </div>
17
 
18
  ---
19
 
20
- ## πŸš€ What is GhostPackDemo?
21
 
22
- **GhostPackDemo** is an open-source, GPU-optimized AI video generator. It fuses **HunyuanVideo** and **FramePack** into a single streamlined pipeline with a beautiful Gradio UI.
23
 
24
- - **Ultra Fast:** Up to 40% faster thanks to Teacache, Sage-Attention, and dynamic batching.
25
- - **Resource-Smart:** 50% lower VRAM (context packing, tcmalloc, memory cache).
26
- - **Laptop-Friendly:** Works with 6GB VRAM, 8GB RAM (e.g., GTX 1650, RTX 3050/3060).
27
- - **No Cloud Needed:** Run on your local desktop, server, or laptop.
28
- - **Full Control:** Live preview, prompt/batch/frame/CRF settings, instant exports.
 
 
29
 
30
  ---
31
 
32
- ## ✨ Features
33
 
34
- - **Veo 3-Level AI:** Next-frame video prediction for photorealistic motion.
35
- - **Phantom Speed:** Teacache & Sage-Attention = 12–15s/frame (RTX 3060).
36
- - **Batch & Prompt Tuning:** Full workflow control, see frames build in real time.
37
- - **Open Source:** Apache 2.0, remix, extend, contribute.
38
- - **Export Quality:** MP4 with customizable CRF (0–100).
39
 
40
  ---
41
 
42
- ## πŸ§™ Optimizations & Requirements
43
-
44
- - **Speed**
45
- - Teacache: ~40% faster (`T_total β‰ˆ 0.6 Γ— T_base`)
46
- - Sage-Attention: +10%
47
- - CUDA tweaks: –15% latency
48
- - Dynamic scheduling: –20% time
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**: NVIDIA GPU (6GB+ VRAM), 8GB RAM, 30GB free disk, Python 3.10+, CUDA 12.6+
65
- **Optimal**: RTX 3060 or higher
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: 16px; box-shadow: 0 0 32px #ff00ff; margin-bottom: 28px;">
74
 
75
  <div style="display: flex; flex-direction: row; justify-content: center; gap: 28px;">
76
 
@@ -88,11 +80,13 @@
88
 
89
  </div>
90
 
91
- > See more: [Demo Videos](https://github.com/ghostai1/GhostPack/blob/main/demo_videos)
92
 
93
  ---
94
 
95
- ## πŸ› οΈ Installation
 
 
96
 
97
  **Ubuntu**
98
  ```bash
@@ -119,46 +113,50 @@ chmod +x install_macos.sh
119
 
120
  ---
121
 
122
- ## 🚦 Quick Start
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 and enter your prompt
130
- - Set FPS, batch size, video length, CRF, enable Teacache
131
- - Watch your video build in real-time preview
132
- - Export to MP4, any quality
133
- - Monitor GPU usage: `nvidia-smi`
 
134
 
135
  ---
136
 
137
- ## 🌟 Roadmap
138
 
139
- - **AI Voice Generation**: Narrate videos with custom voices
140
- - **AI Start Images**: Generate ultra-high-res starting frames
141
- - **Native VR**: Experimental 3D/VR video support
 
142
 
143
  ---
144
 
145
- ## 🀝 Community & Support
146
 
147
- - [Discord](https://discord.gg/ghostpack) β€” Support & collabs
148
- - [GitHub Issues](https://github.com/ghostai1/GhostPack/issues) β€” Report bugs & request features
149
- - [Hugging Face Space](https://huggingface.co/spaces/ghostai1/GhostPackDemo) β€” Live web demo
150
 
151
  ---
152
 
153
- ## πŸ§‘β€πŸ’» Contributing
154
 
155
- - Fork, branch, PR. All improvements welcome!
156
  - See [CONTRIBUTING.md](https://github.com/ghostai1/GhostPack/blob/main/CONTRIBUTING.md)
157
 
158
  ---
159
 
160
- ## πŸ“œ License
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
  [![Python](https://img.shields.io/badge/python-3.8%2B-blue?logo=python)](https://python.org)
5
  [![License](https://img.shields.io/badge/license-Apache%202.0-green)](LICENSE)
6
  [![Live Demo](https://img.shields.io/badge/πŸ€—%20Spaces-Live%20Demo-orange)](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
+ ---