- 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 introduces new API endpoints for managing AI models:
- /models/{model_name}/load: Load a specific model into memory with validation
- /models/{model_name}/unload: Unload a specific model from memory
- /models/upload: Handle model file uploads via multipart form data
The implementation includes proper error handling, model existence validation, and integrates with the existing model manager system. The endpoints return structured JSON responses indicating success or failure states.
The changes also update dependencies to include actix-multipart and futures-util for handling multipart requests, and add path handling utilities for file operations.
- Updated main function return type from eframe::Result to eframe::Result<()>
- Removed unused std::sync::Arc import in main.rs
- Marked unused api_client parameters as _api_client in node_editor.rs and preview_pane.rs
- Added underscore prefix to unused image_data variable in preview_pane.rs
- Improves code clarity by removing unused dependencies and parameters
- Updated README.md to reflect the addition of a native Rust frontend using egui
- Added setup instructions for the new rust-frontend directory
- Modified frontend package.json to downgrade TypeScript version from 5.3.3 to 4.9.5 due to conflicts
- Updated path references in documentation from ComfyUI-Rust/ to direct paths
- Reorganized project structure documentation to distinguish between original and new frontends
- Removed unused imports (Scope, Arc, Mutex) from api/mod.rs
- Updated config function signature to use ServiceConfig instead of Scope
- Removed unused session_manager module from main.rs
- Cleaned up documentation comments in models and queue_service modules
- Simplified import statements across backend modules for better readability
This refactoring removes unnecessary dependencies and cleans up the codebase by eliminating unused imports and redundant documentation while maintaining all functionality.