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

@@ -5,6 +5,8 @@ edition = "2021"
[dependencies]
actix-web = { version = "4", features = ["openssl"] }
actix-multipart = "0.6"
futures-util = "0.3"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1", features = ["full"] }
@@ -15,6 +17,23 @@ env_logger = "0.10"
thiserror = "1.0"
regex = "1.0"
chrono = { version = "0.4", features = ["serde"] }
eframe = "0.24"
egui = "0.24"
egui_extras = "0.24"
reqwest = { version = "0.11", features = ["json"] }
image = "0.24"
# 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"