feat: Update CoreML device support and server controls
- Replace 'mps' with 'coreml' as the identifier for Apple CoreML Execution Provider across the codebase. - Remove Apple chip generation checks and ensure CoreML is available on all macOS arm64 devices. - Adjust ONNX Runtime session creation to use default CoreML configurations without forcing 'MLProgram'. - Implement support for MoGe-2 to utilize CoreML with static input shape requirements. - Enhance server panel to display restart and stop controls consistently across running states, including 'BUSY'. - Update UI tests to verify new behavior for server controls and cached model display. - Bump blendjob dependency version to 0.1.16 in packaging tests and configurations.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
## ADDED Requirements
|
||||
|
||||
### Requirement: Cached model list layout
|
||||
Server 面板 SHALL 显示所有 Cached 模型名称,并 SHALL 在存在多个模型时让每个模型名称占据独立的视觉行。
|
||||
|
||||
#### Scenario: Multiple models are cached
|
||||
- **WHEN** Server 为 Running 且 Cached 列表包含两个或更多模型
|
||||
- **THEN** 面板逐行显示每个模型名称,并保留缓存清理按钮
|
||||
|
||||
#### Scenario: One model is cached
|
||||
- **WHEN** Server 为 Running 且 Cached 列表只包含一个模型
|
||||
- **THEN** 面板在一行内显示 `Cached` 与该模型名称,并保留缓存清理按钮
|
||||
|
||||
#### Scenario: No model is cached
|
||||
- **WHEN** Server 为 Running 且 Cached 列表为空
|
||||
- **THEN** 面板显示 `Cached: None`,并保留缓存清理按钮
|
||||
@@ -0,0 +1,16 @@
|
||||
## ADDED Requirements
|
||||
|
||||
### Requirement: Running Server lifecycle controls
|
||||
Server 面板 SHALL 在 Server 的每个 Running 子状态下显示重启和停止控制,并 SHALL 保留该子状态对应的状态文本与图标。
|
||||
|
||||
#### Scenario: Server is running and waiting
|
||||
- **WHEN** Server 状态为 `READY`
|
||||
- **THEN** 面板显示 Running 状态、重启按钮和停止按钮
|
||||
|
||||
#### Scenario: Server is running and busy
|
||||
- **WHEN** Server 状态为 `BUSY`
|
||||
- **THEN** 面板显示 Running (Busy) 状态、重启按钮和停止按钮
|
||||
|
||||
#### Scenario: Server is not running
|
||||
- **WHEN** Server 状态不是 Running 子状态
|
||||
- **THEN** 面板不显示 Running 状态的重启和停止按钮,并沿用该状态对应的现有控制或提示
|
||||
Reference in New Issue
Block a user