-
Notifications
You must be signed in to change notification settings - Fork 26
Comparing changes
Open a pull request
base repository: metatensor/metatensor
base: main
head repository: metatensor/metatensor
compare: partialLoad
- 13 commits
- 162 files changed
- 4 contributors
Commits on Feb 16, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 0ddfce8 - Browse repository at this point
Copy the full SHA 0ddfce8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d68f7e3 - Browse repository at this point
Copy the full SHA d68f7e3View commit details
Commits on Feb 18, 2026
-
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.
Configuration menu - View commit details
-
Copy full SHA for 1397fb5 - Browse repository at this point
Copy the full SHA 1397fb5View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 28af613 - Browse repository at this point
Copy the full SHA 28af613View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 3865b36 - Browse repository at this point
Copy the full SHA 3865b36View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for d5c93f8 - Browse repository at this point
Copy the full SHA d5c93f8View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 98905db - Browse repository at this point
Copy the full SHA 98905dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ce13ac - Browse repository at this point
Copy the full SHA 1ce13acView commit details -
Configuration menu - View commit details
-
Copy full SHA for dee8f38 - Browse repository at this point
Copy the full SHA dee8f38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 767bd1d - Browse repository at this point
Copy the full SHA 767bd1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e750150 - Browse repository at this point
Copy the full SHA e750150View commit details -
feat(mts): add load_mmap_partial with label-based filtering
Implement mts_tensormap_load_mmap_partial in Rust and expose through the C API, C++ wrapper, and Rust bindings. Supports key, sample, and property filters for selective memory-mapped loading.
Configuration menu - View commit details
-
Copy full SHA for 4242976 - Browse repository at this point
Copy the full SHA 4242976View commit details -
feat(mtspy): add load_mmap_partial Python and TorchScript bindings
Expose load_mmap_partial in metatensor-core Python, metatensor-torch (including TorchScript op), with tests and documentation.
Configuration menu - View commit details
-
Copy full SHA for 9cf9d62 - Browse repository at this point
Copy the full SHA 9cf9d62View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...partialLoad