feat: update to burn 0.14.0 with vulkan support and refactor frontend to egui

- Updated burn framework dependencies from 0.21.0-pre.2 to 0.14.0
- Added optional vulkan backend support with burn-wgpu feature
- Replaced React/TypeScript frontend with native Rust egui frontend
- Added Vulkan GPU support documentation and setup instructions
- Updated README with new architecture and backend configuration
- Refactored GPU backend detection and reporting to include backend type
- Added vulkan-backend feature flag for conditional compilation
- Updated dependency installation instructions for Vulkan support
This commit is contained in:
2026-03-03 22:04:45 +01:00
parent e5db9bc425
commit bd198bb8e9
11 changed files with 243 additions and 101 deletions

View File

@@ -23,9 +23,17 @@ egui_extras = "0.24"
reqwest = { version = "0.11", features = ["json"] }
image = "0.24"
# For model loading capabilities
burn = { version = "0.21.0-pre.2", default-features = false }
burn-tch = { version = "0.21.0-pre.2" } # for torch backend
# For model loading capabilities - using burn framework
burn = { version = "0.14.0", default-features = false }
burn-tch = { version = "0.14.0" }
burn-wgpu = { version = "0.14.0", features = ["vulkan"], optional = true }
tch = "0.15.0"
# Stable Diffusion using burn
stablediffusion = { path = "../../../stable-diffusion-burn" }
[features]
vulkan-backend = ["burn-wgpu"]
[dev-dependencies]
tokio-test = "0.4"