Skip to content

fix(optim): move `apply_updates` in grad context

5f9b918
Select commit
Loading
Failed to load commit list.
Open

chore(optim): wrap torch.autograd.grad() with torch.enable_grad() context #220

fix(optim): move `apply_updates` in grad context
5f9b918
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 4, 2026 in 1s

93.69% (+0.00%) compared to b3f570c

View this Pull Request on Codecov

93.69% (+0.00%) compared to b3f570c

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.69%. Comparing base (b3f570c) to head (5f9b918).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #220   +/-   ##
=======================================
  Coverage   93.69%   93.69%           
=======================================
  Files          83       83           
  Lines        2963     2965    +2     
=======================================
+ Hits         2776     2778    +2     
  Misses        187      187           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.