Skip to content

Conversation

@swfsql
Copy link
Contributor

@swfsql swfsql commented Nov 27, 2025

Pull Request Template

Checklist

  • Confirmed that cargo run-checks command has been executed.
  • Made sure the book is up to date with changes in this PR.

Related Issues/PRs

Changes

  • Makes necessary changes to support ndarray's f16 and bf16 types.

Testing

  • I ran a very minor testing in a downstream user crate (just using the feature, with a matmul on autodiff) -- but no testing currently included in this PR.
  • If properly supported (if support is added to ndarray), proper tests are more viable.

In this draft state, where a patch is needed, the downstream user crates also need the patch on Cargo.toml:

[patch.crates-io]
ndarray = { git = 'https://github.com/swfsql/ndarray.git', rev = 'bc68d2f3f99680ccd7aba1069efa686bcf94dedf' }

@swfsql swfsql changed the title (draft) add ndarray f16/bf16 support Add ndarray f16/bf16 support Nov 30, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jan 3, 2026

This PR has been marked as stale because it has not been updated for over a month

@github-actions github-actions bot added the stale The issue or pr has been open for too long label Jan 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale The issue or pr has been open for too long

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add ndarray f16/bf16 support

1 participant