Skip to content

Defer GPU gradient annotations to fix test collection - #149

Merged
Sebastian Ehlert (awvwgk) merged 3 commits into
mainfrom
copilot/fix-gpu-cuda13-torch213
Oct 27, 2026
Merged

Sebastian Ehlert (awvwgk) merged 3 commits into
mainfrom
copilot/fix-gpu-cuda13-torch213

Conversation

Copilot AI commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

The gpu-cuda13-torch213 job failed during pytest collection because GPU gradient annotations referenced SkalaRKS and SkalaUKS, which are imported only for type checking.

  • Change: Enable postponed annotation evaluation in skala.gpu4pyscf.gradients, preventing those type-only references from raising NameError during import.

Co-authored-by: JensWehner <12139113+JensWehner@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job gpu-cuda13-torch213 Defer GPU gradient annotations to fix test collection Oct 27, 2026
@JensWehner

Copy link
Copy Markdown
Contributor

same fix as #148

Co-authored-by: JensWehner <12139113+JensWehner@users.noreply.github.com>
@awvwgk
Sebastian Ehlert (awvwgk) merged commit 22ffdc3 into main Oct 27, 2026
26 checks passed
@awvwgk
Sebastian Ehlert (awvwgk) deleted the copilot/fix-gpu-cuda13-torch213 branch October 27, 2026 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants