Masonmason 080eb5b887 Add intelligent pipeline topology analysis and comprehensive UI framework
Major Features:
• Advanced topological sorting algorithm with cycle detection and resolution
• Intelligent pipeline optimization with parallelization analysis
• Critical path analysis and performance metrics calculation
• Comprehensive .mflow file converter for seamless UI-to-API integration
• Complete modular UI framework with node-based pipeline editor
• Enhanced model node properties (scpu_fw_path, ncpu_fw_path)
• Professional output formatting without emoji decorations

Technical Improvements:
• Graph theory algorithms (DFS, BFS, topological sort)
• Automatic dependency resolution and conflict prevention
• Multi-criteria pipeline optimization
• Real-time stage count calculation and validation
• Comprehensive configuration validation and error handling
• Modular architecture with clean separation of concerns

New Components:
• MFlow converter with topology analysis (core/functions/mflow_converter.py)
• Complete node system with exact property matching
• Pipeline editor with visual node connections
• Performance estimation and dongle management panels
• Comprehensive test suite and demonstration scripts

🤖 Generated with Claude Code (https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 12:58:47 +08:00

55 lines
1.4 KiB
Python

"""
Cluster4NPU UI - Modular PyQt5 Application for ML Pipeline Design
This package provides a comprehensive, modular user interface for designing,
configuring, and deploying high-performance ML inference pipelines optimized
for Kneron NPU dongles.
Main Modules:
- config: Theme and settings management
- core: Business logic and node implementations
- ui: User interface components and windows
- utils: Utility functions and helpers
- resources: Static resources and assets
Key Features:
- Visual node-based pipeline designer
- Multi-stage inference workflow support
- Hardware-aware resource allocation
- Real-time performance estimation
- Export to multiple deployment formats
Usage:
# Run the application
from cluster4npu_ui.main import main
main()
# Or use individual components
from cluster4npu_ui.core.nodes import ModelNode, InputNode
from cluster4npu_ui.config.theme import apply_theme
Author: Cluster4NPU Team
Version: 1.0.0
License: MIT
"""
__version__ = "1.0.0"
__author__ = "Cluster4NPU Team"
__email__ = "team@cluster4npu.com"
__license__ = "MIT"
# Package metadata
__title__ = "Cluster4NPU UI"
__description__ = "Modular PyQt5 Application for ML Pipeline Design"
__url__ = "https://github.com/cluster4npu/ui"
# Import main components for convenience
from .main import main
__all__ = [
"main",
"__version__",
"__author__",
"__title__",
"__description__"
]