Skip to content

Commit

Permalink
Xfail test_requires_grad
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanYashchuk committed Feb 17, 2025
1 parent da290f9 commit 2b3828b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions thunder/tests/test_grad.py
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,9 @@ def test_vjp_correctness_einsum_manual(op, device, dtype, executor, comp):
# TODO Extend requires_grad so that tensors produced from thunder.jit functions requires_grad
# and have their autograd functions set properly
# Tests that we track the requires_grad property properly
# TODO Reenable this test when we track the requires_grad consistently for all operators
# See https://github.com/Lightning-AI/lightning-thunder/issues/1768
@pytest.mark.xfail(strict=True, reason="Requires_grad propagation is not implemented")
@instantiate(dtypes=(dtypes.float32,))
def test_requires_grad(executor, device, dtype):
import thunder.torch as ltorch
Expand Down

0 comments on commit 2b3828b

Please sign in to comment.