mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
tests(mm): attempt to fix windows model id tests
This commit is contained in:
@@ -67,7 +67,7 @@ class StrippedModelOnDisk(ModelOnDisk):
|
||||
)
|
||||
case {"shape": shape, "dtype": dtype_str, "fakeTensor": True}:
|
||||
dtype = cls.STR_TO_DTYPE[dtype_str]
|
||||
return torch.empty(shape, dtype=dtype)
|
||||
return torch.empty(shape, dtype=dtype, device="meta")
|
||||
case dict():
|
||||
return {k: cls.dress(v) for k, v in v.items()}
|
||||
case list() | tuple():
|
||||
|
||||
Reference in New Issue
Block a user