Skip to content

Conversation

@hylkedonker
Copy link
Contributor

This pull request updates bridge to v0.2.0.

Bridge changelog

  • Support for Mojo 25.2
  • Added bridge.numpy.ndarray_to_layouttensor function to convert NumPy arrays to LayoutTensors
    give the order (i.e., number of indices) of the numpy array.
  • Added bridge.numpy.layouttensor_to_ndarray function to convert back LayoutTensors to Numpy arrays
    [currently doesn't support order-1 tensors (i.e., vectors)].

Checklist

  • My recipe.yaml file specifies which version(s) of MAX is compatible with my project (see here for an example). If not, my package is compatible with both 24.5 and 24.6.
  • License file is packaged (see here for an example).
  • Set the build number to 0 (for new packages, or if the version changed).
  • Bumped the build number (if the version is unchanged).

@carolinefrasca carolinefrasca merged commit 3fffae7 into modular:main Apr 17, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants