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>
35 lines
1.2 KiB
Python
35 lines
1.2 KiB
Python
"""
|
|
Dialog boxes and modal windows for the Cluster4NPU UI.
|
|
|
|
This module contains various dialog boxes used throughout the application
|
|
for specific operations like pipeline creation, configuration, and deployment.
|
|
|
|
Available Dialogs:
|
|
- CreatePipelineDialog: New pipeline creation (future)
|
|
- StageConfigurationDialog: Pipeline stage setup (future)
|
|
- PerformanceEstimationPanel: Performance analysis (future)
|
|
- SaveDeployDialog: Export and deployment (future)
|
|
- SimplePropertiesDialog: Basic property editing (future)
|
|
|
|
Usage:
|
|
from cluster4npu_ui.ui.dialogs import CreatePipelineDialog
|
|
|
|
dialog = CreatePipelineDialog(parent)
|
|
if dialog.exec_() == dialog.Accepted:
|
|
project_info = dialog.get_project_info()
|
|
"""
|
|
|
|
# Import dialogs as they are implemented
|
|
# from .create_pipeline import CreatePipelineDialog
|
|
# from .stage_config import StageConfigurationDialog
|
|
# from .performance import PerformanceEstimationPanel
|
|
# from .save_deploy import SaveDeployDialog
|
|
# from .properties import SimplePropertiesDialog
|
|
|
|
__all__ = [
|
|
# "CreatePipelineDialog",
|
|
# "StageConfigurationDialog",
|
|
# "PerformanceEstimationPanel",
|
|
# "SaveDeployDialog",
|
|
# "SimplePropertiesDialog"
|
|
] |