notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-safetensors Simple, safe way to store and distribute tensors
0.5.1_1 misc on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.4.5_3Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-12-23 01:36:08
Last Update: 2025-01-20 11:06:50
Commit Hash: fccaa1b
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
Also Listed In: python
License: APACHE20
WWW:
https://huggingface.co/docs/safetensors/index
Description:
Safetensors is a new simple format for storing tensors safely (as opposed to pickle) and that is still fast (zero-copy).
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}safetensors>0:misc/py-safetensors@${PY_FLAVOR}
To install the port:
cd /usr/ports/misc/py-safetensors/ && make install clean
To add the package, run one of these commands:
  • pkg install misc/py-safetensors
  • pkg install py311-safetensors
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-safetensors listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-safetensors
Package flavors (<flavor>: <package>)
  • py311: py311-safetensors
distinfo:
TIMESTAMP = 1736326189 SHA256 (rust/crates/autocfg-1.4.0.crate) = ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26 SIZE (rust/crates/autocfg-1.4.0.crate) = 17712

Expand this list (52 items)

Collapse this list.

SHA256 (rust/crates/cfg-if-1.0.0.crate) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd SIZE (rust/crates/cfg-if-1.0.0.crate) = 7934 SHA256 (rust/crates/heck-0.5.0.crate) = 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea SIZE (rust/crates/heck-0.5.0.crate) = 11517 SHA256 (rust/crates/indoc-2.0.5.crate) = b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5 SIZE (rust/crates/indoc-2.0.5.crate) = 14396 SHA256 (rust/crates/itoa-1.0.14.crate) = d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674 SIZE (rust/crates/itoa-1.0.14.crate) = 11210 SHA256 (rust/crates/libc-0.2.169.crate) = b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a SIZE (rust/crates/libc-0.2.169.crate) = 757901 SHA256 (rust/crates/memchr-2.7.4.crate) = 78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3 SIZE (rust/crates/memchr-2.7.4.crate) = 96670 SHA256 (rust/crates/memmap2-0.9.5.crate) = fd3f7eed9d3848f8b98834af67102b720745c4ec028fcd0aa0239277e7de374f SIZE (rust/crates/memmap2-0.9.5.crate) = 33280 SHA256 (rust/crates/memoffset-0.9.1.crate) = 488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a SIZE (rust/crates/memoffset-0.9.1.crate) = 9032 SHA256 (rust/crates/once_cell-1.20.2.crate) = 1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775 SIZE (rust/crates/once_cell-1.20.2.crate) = 33394 SHA256 (rust/crates/portable-atomic-1.10.0.crate) = 280dc24453071f1b63954171985a0b0d30058d287960968b9b2aca264c8d4ee6 SIZE (rust/crates/portable-atomic-1.10.0.crate) = 174760 SHA256 (rust/crates/proc-macro2-1.0.92.crate) = 37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0 SIZE (rust/crates/proc-macro2-1.0.92.crate) = 52353 SHA256 (rust/crates/pyo3-0.23.3.crate) = e484fd2c8b4cb67ab05a318f1fd6fa8f199fcc30819f08f07d200809dba26c15 SIZE (rust/crates/pyo3-0.23.3.crate) = 1073838 SHA256 (rust/crates/pyo3-build-config-0.23.3.crate) = dc0e0469a84f208e20044b98965e1561028180219e35352a2afaf2b942beff3b SIZE (rust/crates/pyo3-build-config-0.23.3.crate) = 32509 SHA256 (rust/crates/pyo3-ffi-0.23.3.crate) = eb1547a7f9966f6f1a0f0227564a9945fe36b90da5a93b3933fc3dc03fae372d SIZE (rust/crates/pyo3-ffi-0.23.3.crate) = 74064 SHA256 (rust/crates/pyo3-macros-0.23.3.crate) = fdb6da8ec6fa5cedd1626c886fc8749bdcbb09424a86461eb8cdf096b7c33257 SIZE (rust/crates/pyo3-macros-0.23.3.crate) = 8085 SHA256 (rust/crates/pyo3-macros-backend-0.23.3.crate) = 38a385202ff5a92791168b1136afae5059d3ac118457bb7bc304c197c2d33e7d SIZE (rust/crates/pyo3-macros-backend-0.23.3.crate) = 70098 SHA256 (rust/crates/quote-1.0.38.crate) = 0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc SIZE (rust/crates/quote-1.0.38.crate) = 31252 SHA256 (rust/crates/ryu-1.0.18.crate) = f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f SIZE (rust/crates/ryu-1.0.18.crate) = 47713 SHA256 (rust/crates/serde-1.0.217.crate) = 02fc4265df13d6fa1d00ecff087228cc0a2b5f3c0e87e258d8b94a156e984c70 SIZE (rust/crates/serde-1.0.217.crate) = 79019 SHA256 (rust/crates/serde_derive-1.0.217.crate) = 5a9bf7cf98d04a2b28aead066b7496853d4779c9cc183c440dbac457641e19a0 SIZE (rust/crates/serde_derive-1.0.217.crate) = 57749 SHA256 (rust/crates/serde_json-1.0.134.crate) = d00f4175c42ee48b15416f6193a959ba3a0d67fc699a0db9ad12df9f83991c7d SIZE (rust/crates/serde_json-1.0.134.crate) = 154351 SHA256 (rust/crates/syn-2.0.94.crate) = 987bc0be1cdea8b10216bd06e2ca407d40b9543468fafd3ddfb02f36e77f71f3 SIZE (rust/crates/syn-2.0.94.crate) = 297667 SHA256 (rust/crates/target-lexicon-0.12.16.crate) = 61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1 SIZE (rust/crates/target-lexicon-0.12.16.crate) = 26488 SHA256 (rust/crates/unicode-ident-1.0.14.crate) = adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83 SIZE (rust/crates/unicode-ident-1.0.14.crate) = 47547 SHA256 (rust/crates/unindent-0.2.3.crate) = c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce SIZE (rust/crates/unindent-0.2.3.crate) = 7306 SHA256 (huggingface-safetensors-v0.5.1_GH0.tar.gz) = cd1447e6d18b0462dd25e4633c23be5818e67d2c35df65c91ad8881bfc5eed1e SIZE (huggingface-safetensors-v0.5.1_GH0.tar.gz) = 82443

Collapse this list.


Packages (timestamps in pop-ups are UTC):
py39-safetensors
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly------0.4.1-
FreeBSD:14:latest--------
FreeBSD:14:quarterly------0.4.1-
FreeBSD:15:latest--n/a-n/a-0.4.2-
 

py311-safetensors
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.5.10.5.1-0.4.5_20.5.1_1---
FreeBSD:13:quarterly0.5.00.5.0--0.5.0---
FreeBSD:14:latest0.4.5_30.5.1_1-0.4.5_30.5.1_1---
FreeBSD:14:quarterly0.5.00.5.0--0.5.0---
FreeBSD:15:latest0.5.10.5.1_1n/a0.5.1n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools-rust>0 : devel/py-setuptools-rust@py311
  2. py311-maturin>0 : devel/py-maturin@py311
  3. rust>=1.84.0 : lang/rust
  4. python3.11 : lang/python311
  5. py311-build>=0 : devel/py-build@py311
  6. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. py311-pytest>=7,1 : devel/py-pytest@py311
  2. python3.11 : lang/python311
Runtime dependencies:
  1. py311-numpy>=1.16,1<1.27,1 : math/py-numpy@py311
  2. python3.11 : lang/python311
This port is required by:
for Run
  1. misc/py-accelerate
  2. misc/py-timm

Configuration Options:
No options to configure
Options name:
misc_py-safetensors
USES:
cargo python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/huggingface/safetensors/tar.gz/v0.5.1?dummy=/
Collapse this list.

Number of commits found: 18

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.5.1_1
20 Jan 2025 11:06:50
commit hash: fccaa1b326310b7f33556fe133b509260a90fe7fcommit hash: fccaa1b326310b7f33556fe133b509260a90fe7fcommit hash: fccaa1b326310b7f33556fe133b509260a90fe7fcommit hash: fccaa1b326310b7f33556fe133b509260a90fe7f files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.84.0

PR:		283962
0.5.1
08 Jan 2025 10:08:34
commit hash: 4bfe342e584092d8d0c39465191bb02a8cba0281commit hash: 4bfe342e584092d8d0c39465191bb02a8cba0281commit hash: 4bfe342e584092d8d0c39465191bb02a8cba0281commit hash: 4bfe342e584092d8d0c39465191bb02a8cba0281 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-safetensors: update 0.5.0 → 0.5.1

Reported by:	portscout
0.5.0
04 Jan 2025 08:57:36
commit hash: d259907b760fe25304f4ab32ec54a103614e6838commit hash: d259907b760fe25304f4ab32ec54a103614e6838commit hash: d259907b760fe25304f4ab32ec54a103614e6838commit hash: d259907b760fe25304f4ab32ec54a103614e6838 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-safetensors: update 0.4.5 → 0.5.0

Reported by:	portscout
0.4.5_3
01 Dec 2024 09:24:18
commit hash: 1d1fd15a3e499eed9e604dac94bab73c2fea4b2fcommit hash: 1d1fd15a3e499eed9e604dac94bab73c2fea4b2fcommit hash: 1d1fd15a3e499eed9e604dac94bab73c2fea4b2fcommit hash: 1d1fd15a3e499eed9e604dac94bab73c2fea4b2f files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.83.0

PR:		283000
0.4.5_2
08 Nov 2024 08:24:20
commit hash: ca048c2884dc9822310a87e2dfebb8b1647095e2commit hash: ca048c2884dc9822310a87e2dfebb8b1647095e2commit hash: ca048c2884dc9822310a87e2dfebb8b1647095e2commit hash: ca048c2884dc9822310a87e2dfebb8b1647095e2 files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.82.0

PR:		282516
0.4.5_1
10 Sep 2024 11:00:34
commit hash: 89ab81d0e2eca6b298b0efd3f4577d468abf18d5commit hash: 89ab81d0e2eca6b298b0efd3f4577d468abf18d5commit hash: 89ab81d0e2eca6b298b0efd3f4577d468abf18d5commit hash: 89ab81d0e2eca6b298b0efd3f4577d468abf18d5 files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.81.0

PR:		281300
0.4.5
10 Sep 2024 10:58:07
commit hash: c0d07f1127793ffc97a6c1db78423d0d16bdc5efcommit hash: c0d07f1127793ffc97a6c1db78423d0d16bdc5efcommit hash: c0d07f1127793ffc97a6c1db78423d0d16bdc5efcommit hash: c0d07f1127793ffc97a6c1db78423d0d16bdc5ef files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
Author: Siva Mahadevan
*/*: remove STRIP_CMD calls in rust based ports

This is not needed after bc4fedc1fec0d359365c04d43be9e32bf101a50e

PR:		246993
Differential Revision:	https://reviews.freebsd.org/D46503
0.4.5
06 Sep 2024 08:20:54
commit hash: 461261d15225815a0474c299f7ba07ac7e02b5d2commit hash: 461261d15225815a0474c299f7ba07ac7e02b5d2commit hash: 461261d15225815a0474c299f7ba07ac7e02b5d2commit hash: 461261d15225815a0474c299f7ba07ac7e02b5d2 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-safetensors: update 0.4.4 → 0.4.5

Reported by:	portscout
0.4.4_1
26 Aug 2024 08:08:01
commit hash: 7a55f9542531c541f36ae5cf3a58d6ce92ec7bffcommit hash: 7a55f9542531c541f36ae5cf3a58d6ce92ec7bffcommit hash: 7a55f9542531c541f36ae5cf3a58d6ce92ec7bffcommit hash: 7a55f9542531c541f36ae5cf3a58d6ce92ec7bff files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.80.1

PR:		280490
0.4.4
07 Aug 2024 09:09:49
commit hash: a38e7e90e3404714d4246302c107f9f32d74f19ccommit hash: a38e7e90e3404714d4246302c107f9f32d74f19ccommit hash: a38e7e90e3404714d4246302c107f9f32d74f19ccommit hash: a38e7e90e3404714d4246302c107f9f32d74f19c files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-safetensors: update 0.4.3 → 0.4.4

Reported by:	portscout
0.4.3_2
18 Jun 2024 10:59:14
commit hash: 21476ca8a9b5feb3485a3fa29299c0b447c90350commit hash: 21476ca8a9b5feb3485a3fa29299c0b447c90350commit hash: 21476ca8a9b5feb3485a3fa29299c0b447c90350commit hash: 21476ca8a9b5feb3485a3fa29299c0b447c90350 files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.79.0

PR:		279707
0.4.3_1
13 May 2024 11:03:24
commit hash: 2322b661000b69fcc75fe68fec25e5b4e48c2a8ecommit hash: 2322b661000b69fcc75fe68fec25e5b4e48c2a8ecommit hash: 2322b661000b69fcc75fe68fec25e5b4e48c2a8ecommit hash: 2322b661000b69fcc75fe68fec25e5b4e48c2a8e files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.78.0

PR:		278834
0.4.3
16 Apr 2024 07:43:53
commit hash: 3164d9aa7414ba0b60533186171df48b1a0d56aecommit hash: 3164d9aa7414ba0b60533186171df48b1a0d56aecommit hash: 3164d9aa7414ba0b60533186171df48b1a0d56aecommit hash: 3164d9aa7414ba0b60533186171df48b1a0d56ae files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-safetensors: update 0.4.2 → 0.4.3

Reported by:	portscout
0.4.2_2
23 Mar 2024 09:41:46
commit hash: d632fbe55e45559d03a0bef7211913964aeba45acommit hash: d632fbe55e45559d03a0bef7211913964aeba45acommit hash: d632fbe55e45559d03a0bef7211913964aeba45acommit hash: d632fbe55e45559d03a0bef7211913964aeba45a files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.77.0

PR:		277786
0.4.2_1
19 Feb 2024 11:59:23
commit hash: 7f5a7b0e524c8d32727681a4324905e350dc433ccommit hash: 7f5a7b0e524c8d32727681a4324905e350dc433ccommit hash: 7f5a7b0e524c8d32727681a4324905e350dc433ccommit hash: 7f5a7b0e524c8d32727681a4324905e350dc433c files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.76.0

PR:		276920
0.4.2
25 Jan 2024 06:40:19
commit hash: 2b050bf956e02d6ad5d9df6f239abd6796451d9acommit hash: 2b050bf956e02d6ad5d9df6f239abd6796451d9acommit hash: 2b050bf956e02d6ad5d9df6f239abd6796451d9acommit hash: 2b050bf956e02d6ad5d9df6f239abd6796451d9a files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-safetensors: update 0.4.1 → 0.4.2

Reported by:	portscout
0.4.1_1
09 Jan 2024 12:15:54
commit hash: 109c3d4629b84972e660b689d169ac0761c1a519commit hash: 109c3d4629b84972e660b689d169ac0761c1a519commit hash: 109c3d4629b84972e660b689d169ac0761c1a519commit hash: 109c3d4629b84972e660b689d169ac0761c1a519 files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.75.0

PR:		276033
0.4.1
23 Dec 2023 01:34:06
commit hash: 90643fe196f5722cb46e9de357e2a4f672008a48commit hash: 90643fe196f5722cb46e9de357e2a4f672008a48commit hash: 90643fe196f5722cb46e9de357e2a4f672008a48commit hash: 90643fe196f5722cb46e9de357e2a4f672008a48 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-safetensors: New port: Simple, safe way to store and distribute tensors

Number of commits found: 18