Skip to content

Fix cache modifiers unittest error #272

@mawad-amd

Description

@mawad-amd

2025-10-29T23:28:32.5127431Z FAILED tests/unittests/test_copy_cache_modifiers.py::test_copy_cache_modifiers[.cv-.cg] - AssertionError: Mismatch at rank 1, target 0 with load_cache_modifier=.cv, store_cache_modifier=.cg
2025-10-29T23:28:32.5127462Z assert False
2025-10-29T23:28:32.5127681Z + where False = <built-in method allclose of type object at 0x7f6b69a8a040>(tensor([0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.],\n device='cuda:1'), tensor([10., 10., 10., 10., 10., 10., 10., 10., 10., 10., 10., 10., 10., 10.,\n 10., 10.], device='cuda:1'))
2025-10-29T23:28:32.5127770Z + where <built-in method allclose of type object at 0x7f6b69a8a040> = torch.allclose
2025-10-29T23:28:32.5127963Z + and tensor([10., 10., 10., 10., 10., 10., 10., 10., 10., 10., 10., 10., 10., 10.,\n 10., 10.], device='cuda:1') = <built-in method full of type object at 0x7f6b69a8a040>((16,), 10, dtype=torch.float32, device=device(type='cuda', index=1))
2025-10-29T23:28:32.5128039Z + where <built-in method full of type object at 0x7f6b69a8a040> = torch.full
2025-10-29T23:28:32.5128083Z + and torch.float32 = torch.float32
2025-10-29T23:28:32.5128270Z + and device(type='cuda', index=1) = tensor([[ 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n 0., 0.],\n [10., 10., 10., 10., 10., 10., 10., 10., 10., 10., 10., 10., 10., 10.,\n 10., 10.],\n [ 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n 0., 0.],\n [ 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n 0., 0.]], device='cuda:1').device
2025-10-29T23:28:32.5128512Z FAILED tests/unittests/test_copy_cache_modifiers.py::test_copy_cache_modifiers[.cv-.cs] - AssertionError: Mismatch at rank 1, target 0 with load_cache_modifier=.cv, store_cache_modifier=.cs
2025-10-29T23:28:32.5128543Z assert False
2025-10-29T23:28:32.5128759Z + where False = <built-in method allclose of type object at 0x7f6b69a8a040>(tensor([0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.],\n device='cuda:1'), tensor([10., 10., 10., 10., 10., 10., 10., 10., 10., 10., 10., 10., 10., 10.,\n 10., 10.], device='cuda:1'))
2025-10-29T23:28:32.5128873Z + where <built-in method allclose of type object at 0x7f6b69a8a040> = torch.allclose
2025-10-29T23

Metadata

Metadata

Assignees

Labels

irisIris project issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions