nod-ai/amd-shark-ai

(sharktank) Numerics issue with mock LM head layer test.

Open

#2,455 opened on Oct 8, 2025

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (78 forks)github user discovery
help wanted

Repository metrics

Stars
 (67 stars)
PR merge metrics
 (PR metrics pending)

Description

       torch.testing.assert_close(actual, expected, atol=atol, rtol=rtol)
E       AssertionError: Tensor-likes are not close!
E       
E       Mismatched elements: 705 / 1024 (68.8%)
E       Greatest absolute difference: 0.00146484375 at index (1, 0, 54) (up to 0.0001 allowed)
E       Greatest relative difference: 2.34765625 at index (1, 6, 25) (up to 0 allowed)
E       
E       The failure occurred for item [0]

from https://github.com/nod-ai/shark-ai/actions/runs/18354205429/job/52281863459?pr=2289

Contributor guide