Bump version to 0.10.11 and update installation instructions; enhance progress reporting and estimated time features
This commit is contained in:
@@ -611,7 +611,7 @@ class AddonTest(unittest.TestCase):
|
||||
},
|
||||
"fallback",
|
||||
),
|
||||
"3/8 pytorch: 2 downloaded",
|
||||
"3/8 pytorch | 2 downloaded",
|
||||
)
|
||||
self.assertEqual(
|
||||
operator._format_status(
|
||||
@@ -636,6 +636,33 @@ class AddonTest(unittest.TestCase):
|
||||
),
|
||||
"Estimating depth",
|
||||
)
|
||||
self.assertEqual(
|
||||
operator._format_status(
|
||||
{
|
||||
"progress": 0.25,
|
||||
"message": "Downloading packages",
|
||||
"stage": 2,
|
||||
"stages": 3,
|
||||
"stage_label": "PyTorch",
|
||||
"eta_seconds": 125,
|
||||
},
|
||||
"fallback",
|
||||
),
|
||||
"2/3 PyTorch | Downloading packages | About 3 min left",
|
||||
)
|
||||
self.assertEqual(
|
||||
operator._format_status(
|
||||
{
|
||||
"progress": 0.5,
|
||||
"message": "",
|
||||
"stage": 2,
|
||||
"stages": 3,
|
||||
"stage_label": "PyTorch",
|
||||
},
|
||||
"2/3 PyTorch | Downloading packages",
|
||||
),
|
||||
"2/3 PyTorch",
|
||||
)
|
||||
|
||||
def test_model_options_mark_only_models_that_are_not_downloaded(self):
|
||||
items_callback = self.addon.SnapFormSettings.__annotations__["model"][
|
||||
|
||||
Reference in New Issue
Block a user