From c3cf18eaf8dcbf2368f9136fb0ac3b2396183d94 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Fri, 10 Oct 2025 18:24:10 +1100 Subject: [PATCH] tests(mm): attempt to fix windows model id tests --- tests/model_identification/stripped_model_on_disk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/model_identification/stripped_model_on_disk.py b/tests/model_identification/stripped_model_on_disk.py index 13d91e23e8..387e04839e 100644 --- a/tests/model_identification/stripped_model_on_disk.py +++ b/tests/model_identification/stripped_model_on_disk.py @@ -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():