Skip to content

Avoid triple-colon NOTE for torch SDPA#6

Merged
TroyHernandez merged 1 commit into
mainfrom
fix/sdpa-cran-note
Mar 13, 2026
Merged

Avoid triple-colon NOTE for torch SDPA#6
TroyHernandez merged 1 commit into
mainfrom
fix/sdpa-cran-note

Conversation

@TroyHernandez
Copy link
Copy Markdown
Contributor

@TroyHernandez TroyHernandez commented Mar 13, 2026

Summary

  • Replace torch:::torch_scaled_dot_product_attention() with get() + asNamespace() to avoid R CMD check NOTE
  • Update cran-comments.md for 0.3.0 submission

The function will be exported in the next torch CRAN release (mlverse/torch#1404).

Test plan

  • R CMD check clean locally
  • CI passes

Use get() with asNamespace() to access torch_scaled_dot_product_attention
until torch exports it in their next CRAN release.
@TroyHernandez TroyHernandez merged commit 3c3b163 into main Mar 13, 2026
2 checks passed
@TroyHernandez TroyHernandez deleted the fix/sdpa-cran-note branch March 13, 2026 21:22
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.

1 participant