ai/py-safetensors 0.8.0 MidnightBSD
Simple, safe way to store and distribute tensors
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
b807d69740- License
- Apache-2.0
- Categories
- ai, python
Description
Safetensors is a new simple format for storing tensors safely (as opposed to pickle) and that is still fast (zero-copy).
Version history 1
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}safetensors
From mports:
cd /usr/mports/ai/py-safetensors && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}safetensors>0:ai/py-safetensors
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools-rust>0: devel/py-setuptools-rust${PYTHON_PKGNAMEPREFIX}maturin>0: devel/py-maturin
Runtime 2
${PYTHON_PKGNAMEPREFIX}numpy>=1.16: math/py-numpy${PYTHON_PKGNAMEPREFIX}pytorch>=1.10: ai/py-pytorch
Test 4
${PYTHON_PKGNAMEPREFIX}h5py>=3.7.0: science/py-h5py${PYTHON_PKGNAMEPREFIX}huggingface-hub>=0.12.1: ai/py-huggingface-hub${PYTHON_PKGNAMEPREFIX}hypothesis>=6.70.2: devel/py-hypothesis${PYTHON_PKGNAMEPREFIX}pytest-benchmark>=4.0.0: devel/py-pytest-benchmark
Build dependencies 2
Run dependencies 2
Configuration
No options to configure.
- USES
- cargo python
- Service scripts
- none
Files
distinfo 68
| File | Size | SHA256 |
|---|---|---|
| rust/crates/allocator-api2-0.2.21.crate | 63622 | 683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923 |
| rust/crates/anyhow-1.0.102.crate | 48658 | 7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c |
| rust/crates/bitflags-2.13.0.crate | 51280 | b4388bee8683e3d04af747c73422af53102d2bd24d9eadb6cbc100baef4b43f8 |
| rust/crates/block2-0.6.2.crate | 34505 | cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5 |
| rust/crates/cfg-if-1.0.4.crate | 9360 | 9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801 |
| rust/crates/dispatch2-0.3.1.crate | 55299 | 1e0e367e4e7da84520dedcac1901e4da967309406d1e51017ae1abfb97adbd38 |
| rust/crates/equivalent-1.0.2.crate | 7419 | 877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f |
| rust/crates/errno-0.3.14.crate | 12002 | 39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb |
| rust/crates/fastrand-2.4.1.crate | 20773 | 9f1f227452a390804cdb637b74a86990f2a7d7ba4b7d5693aac9b4dd6defd8d6 |
| rust/crates/foldhash-0.1.5.crate | 21901 | d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2 |
| rust/crates/foldhash-0.2.0.crate | 23329 | 77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb |
| rust/crates/getrandom-0.4.2.crate | 53905 | 0de51e6874e94e7bf76d726fc5d13ba782deca734ff60d5bb2fb2607c7406555 |
| rust/crates/hashbrown-0.15.5.crate | 140908 | 9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1 |
| rust/crates/hashbrown-0.16.1.crate | 147785 | 841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100 |
| rust/crates/hashbrown-0.17.1.crate | 155512 | ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a |
| rust/crates/heck-0.5.0.crate | 11517 | 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea |
| rust/crates/id-arena-2.3.0.crate | 12883 | 3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954 |
| rust/crates/indexmap-2.14.0.crate | 104085 | d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9 |
| rust/crates/itoa-1.0.18.crate | 15935 | 8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682 |
| rust/crates/leb128fmt-0.1.0.crate | 14138 | 09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2 |
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
b807d69740 |
Lucas Holt | Add LangChain AI ports and dependencies AI-Assisted-by: OpenAI Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |