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-torchmetrics PyTorch native metrics
1.6.0 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.11.4Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-05-30 08:36:22
Last Update: 2024-12-20 06:05:55
Commit Hash: c419acd
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
Also Listed In: python
License: APACHE20
WWW:
https://lightning.ai/docs/torchmetrics/stable/
https://github.com/Lightning-AI/torchmetrics
Description:
TorchMetrics is a collection of 90+ PyTorch metrics implementations and an easy-to-use API to create custom metrics. It offers: * A standardized interface to increase reproducibility * Reduces Boilerplate * Distributed-training compatible * Rigorously tested * Automatic accumulation over batches * Automatic synchronization between multiple devices
HomepageHomepage    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}torchmetrics>0:misc/py-torchmetrics@${PY_FLAVOR}
To install the port:
cd /usr/ports/misc/py-torchmetrics/ && make install clean
To add the package, run one of these commands:
  • pkg install misc/py-torchmetrics
  • pkg install py311-torchmetrics
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-torchmetrics listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-torchmetrics
Package flavors (<flavor>: <package>)
  • py311: py311-torchmetrics
distinfo:
TIMESTAMP = 1734558567 SHA256 (Lightning-AI-torchmetrics-v1.6.0_GH0.tar.gz) = 31fa875a2de6a188b4d8bf1a6825f160d4ecca0c98e00dfd62437f3b87d320e9 SIZE (Lightning-AI-torchmetrics-v1.6.0_GH0.tar.gz) = 938806

Packages (timestamps in pop-ups are UTC):
py311-torchmetrics
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-1.6.0------
FreeBSD:13:quarterly-1.6.0------
FreeBSD:14:latest-1.6.0------
FreeBSD:14:quarterly-1.6.0------
FreeBSD:15:latest-1.6.0n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-nltk>=3.6 : textproc/py-nltk@py311
  2. py311-numpy>=1.16,1<1.27,1 : math/py-numpy@py311
  3. py311-packaging>17.1 : devel/py-packaging@py311
  4. py311-pytorch>0 : misc/py-pytorch@py311
  5. py311-regex>=2021.9.24 : textproc/py-regex@py311
  6. py311-scipy>=1.0.0 : science/py-scipy@py311
  7. py311-torchvision>0 : misc/py-torchvision@py311
  8. py311-tqdm>=4.41.0 : misc/py-tqdm@py311
  9. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  10. python3.11 : lang/python311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-nltk>=3.6 : textproc/py-nltk@py311
  2. py311-numpy>=1.16,1<1.27,1 : math/py-numpy@py311
  3. py311-packaging>17.1 : devel/py-packaging@py311
  4. py311-pytorch>0 : misc/py-pytorch@py311
  5. py311-regex>=2021.9.24 : textproc/py-regex@py311
  6. py311-scipy>=1.0.0 : science/py-scipy@py311
  7. py311-torchvision>0 : misc/py-torchvision@py311
  8. py311-tqdm>=4.41.0 : misc/py-tqdm@py311
  9. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  10. python3.11 : lang/python311
This port is required by:
for Run
  1. misc/py-pytorch-lightning

Configuration Options:
No options to configure
Options name:
misc_py-torchmetrics
USES:
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/Lightning-AI/torchmetrics/tar.gz/v1.6.0?dummy=/
Collapse this list.

Number of commits found: 3

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.6.0
20 Dec 2024 06:05:55
commit hash: c419acd1e79c9fdcaa07cdf220686c1ecbba97c6commit hash: c419acd1e79c9fdcaa07cdf220686c1ecbba97c6commit hash: c419acd1e79c9fdcaa07cdf220686c1ecbba97c6commit hash: c419acd1e79c9fdcaa07cdf220686c1ecbba97c6 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-torchmetrics: update 0.11.4 → 1.6.0
0.11.4
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
0.11.4
30 May 2023 08:34:13
commit hash: e18e8104d4044b18f7d4d40046a4f56c3167febfcommit hash: e18e8104d4044b18f7d4d40046a4f56c3167febfcommit hash: e18e8104d4044b18f7d4d40046a4f56c3167febfcommit hash: e18e8104d4044b18f7d4d40046a4f56c3167febf files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-torchmetrics: New port: PyTorch native metrics

Number of commits found: 3