Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: metatensor/metatensor
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: metatensor/metatensor
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dlpack
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 9 commits
  • 137 files changed
  • 4 contributors

Commits on Feb 16, 2026

  1. Configuration menu
    Copy the full SHA
    0ddfce8 View commit details
    Browse the repository at this point in the history
  2. Remove LabelsView (#1050)

    HaoZeke committed Feb 16, 2026
    Configuration menu
    Copy the full SHA
    d68f7e3 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2026

  1. feat(mts): add as_dlpack to C and C++ layers

    Adds the `as_dlpack` function pointer to `mts_array_t` in the C API,
    implements it for C++ `DataArrayBase`/`SimpleDataArray`/`EmptyDataArray`,
    vendors the DLPack header, fixes cmake install and stream parameter type.
    HaoZeke committed Feb 18, 2026
    Configuration menu
    Copy the full SHA
    1397fb5 View commit details
    Browse the repository at this point in the history
  2. feat(mtstorch): implement as_dlpack for TorchDataArray

    Implements `as_dlpack` override for `TorchDataArray` using ATen's
    `toDLPack`, with device mapping, versioned wrapper, and stream stubs.
    Luthaf authored and HaoZeke committed Feb 18, 2026
    Configuration menu
    Copy the full SHA
    28af613 View commit details
    Browse the repository at this point in the history
  3. feat(mtspy): add DLPack support for Python ctypes bindings

    Adds DLPack struct definitions to the Python ctypes layer, implements
    `_mts_array_as_dlpack` callback, and adds baseline Python tests.
    HaoZeke committed Feb 18, 2026
    Configuration menu
    Copy the full SHA
    3865b36 View commit details
    Browse the repository at this point in the history
  4. feat(mtsrs): implement as_dlpack for Rust and use ArcArray

    Implements `as_dlpack` on the Rust `Array` trait using the `dlpk` crate,
    switches data storage to `ArcArray<T>` for generic type support, and
    improves DLPack version negotiation.
    HaoZeke committed Feb 18, 2026
    Configuration menu
    Copy the full SHA
    d5c93f8 View commit details
    Browse the repository at this point in the history
  5. feat(mtsio): type-aware serialization via DLPack

    Enables multi-dtype serialization by rewriting the npy reader/writer to
    use DLPack tensors. Adds `half` crate dependency, unifies endianness
    handling, and adds Python roundtrip tests for all numpy dtypes.
    HaoZeke committed Feb 18, 2026
    Configuration menu
    Copy the full SHA
    98905db View commit details
    Browse the repository at this point in the history
  6. chore(mts): remove data()

    HaoZeke committed Feb 18, 2026
    Configuration menu
    Copy the full SHA
    1ce13ac View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    dee8f38 View commit details
    Browse the repository at this point in the history
Loading