Update addon tests, bootstrap runtime, download progress, and worker functionality
- Modified status messages and stage labels in `test_addon.py` for clarity and consistency. - Added tests to ensure proper host termination and command execution in `test_addon.py`. - Enhanced `test_bootstrap_runtime.py` with additional tests for installation behavior, including handling of CUDA and MPS devices, and improved error handling for disk space and network checks. - Updated download progress reporting in `test_download_progress.py` to include download speed and improved message formatting. - Added new tests in `test_worker.py` for device selection, NPZ file validation, and model downloading behavior with Hugging Face endpoints. - Bumped version in `uv.lock` to 0.9.30.
This commit is contained in:
@@ -35,8 +35,9 @@ class SnapFormSettings(bpy.types.PropertyGroup):
|
||||
name="Device",
|
||||
description="Inference device used by the external Runtime",
|
||||
items=(
|
||||
("AUTO", "Auto", "Use CUDA when available, otherwise CPU"),
|
||||
("AUTO", "Auto", "Use CUDA, then MPS, otherwise CPU"),
|
||||
("CUDA", "CUDA", "Require an NVIDIA CUDA device"),
|
||||
("MPS", "MPS", "Use Apple Metal (MPS)"),
|
||||
("CPU", "CPU", "Run on CPU"),
|
||||
),
|
||||
default="AUTO",
|
||||
|
||||
Reference in New Issue
Block a user