Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
2fc4104
1
Parent(s):
9dd297c
add packages
Browse files- ZEROGPU_MIGRATION.md +9 -3
- packages.txt +2 -0
ZEROGPU_MIGRATION.md
CHANGED
|
@@ -44,7 +44,13 @@ def generate_scene(image_prompt, text_prompt, camera_json, resolution):
|
|
| 44 |
- `gradio==5.49.1` (required for Gradio SDK)
|
| 45 |
- All other dependencies remain unchanged
|
| 46 |
|
| 47 |
-
### 3.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
**Added YAML frontmatter:**
|
| 50 |
```yaml
|
|
@@ -67,14 +73,14 @@ python_version: 3.10.13
|
|
| 67 |
- Documentation of 15-second GPU budget
|
| 68 |
- Explanation of model loading strategy
|
| 69 |
|
| 70 |
-
###
|
| 71 |
|
| 72 |
Updated the development documentation to include:
|
| 73 |
- Instructions for running both Flask (local) and Gradio (ZeroGPU) versions
|
| 74 |
- Documentation of ZeroGPU configuration
|
| 75 |
- Explanation of decorator usage and model loading patterns
|
| 76 |
|
| 77 |
-
###
|
| 78 |
|
| 79 |
Created `examples/simple_trajectory.json` with a basic 5-camera forward-moving trajectory to help users get started.
|
| 80 |
|
|
|
|
| 44 |
- `gradio==5.49.1` (required for Gradio SDK)
|
| 45 |
- All other dependencies remain unchanged
|
| 46 |
|
| 47 |
+
### 3. System Dependencies (`packages.txt`)
|
| 48 |
+
|
| 49 |
+
**Created new file** to install system-level dependencies required by gsplat for CUDA compilation:
|
| 50 |
+
- `libglm-dev` (OpenGL Mathematics library headers)
|
| 51 |
+
- `build-essential` (compilation tools)
|
| 52 |
+
|
| 53 |
+
### 4. README Updates
|
| 54 |
|
| 55 |
**Added YAML frontmatter:**
|
| 56 |
```yaml
|
|
|
|
| 73 |
- Documentation of 15-second GPU budget
|
| 74 |
- Explanation of model loading strategy
|
| 75 |
|
| 76 |
+
### 5. CLAUDE.md Updates
|
| 77 |
|
| 78 |
Updated the development documentation to include:
|
| 79 |
- Instructions for running both Flask (local) and Gradio (ZeroGPU) versions
|
| 80 |
- Documentation of ZeroGPU configuration
|
| 81 |
- Explanation of decorator usage and model loading patterns
|
| 82 |
|
| 83 |
+
### 6. Example Camera Trajectory
|
| 84 |
|
| 85 |
Created `examples/simple_trajectory.json` with a basic 5-camera forward-moving trajectory to help users get started.
|
| 86 |
|
packages.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
libglm-dev
|
| 2 |
+
build-essential
|