PyPI · pypi:pytorch-metric-learning
pytorch-metric-learning active
Composable metric learning losses, miners, distances, samplers, and retrieval metrics for PyTorch.
The latest stable version of pytorch-metric-learning is 3.0.2, published on 2026-11-08. Verified by Vigia on 2026-11-13.
| Latest stable version | 3.0.2 |
|---|---|
| Published | 2026-11-08 06:03:08 UTC |
| Install | pip install --upgrade pytorch-metric-learning |
| Requires | python >=3.12 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-13 12:27:25 UTC |
| Sources | pypi.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-11-08 06:03:08 UTC · 5 days ago |
| Stable releases in the last 12 months | 3 |
| Published versions | 220 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
3.0.2 | 2026-11-08 06:03:08 UTC |
3.0.1 | 2026-11-01 06:53:36 UTC |
3.0.0 | 2026-10-31 19:36:23 UTC |
2.9.0 | 2025-08-17 17:11:18 UTC |
2.8.1 | 2024-12-11 19:21:13 UTC |
2.8.0 | 2024-12-11 18:14:35 UTC |
2.7.0 | 2024-11-02 21:59:14 UTC |
2.6.0 | 2024-07-24 12:26:06 UTC |
2.5.0 | 2024-04-01 08:03:08 UTC |
2.4.1 | 2023-12-16 19:14:54 UTC |
2.4.0 | 2023-12-16 04:35:11 UTC |
2.3.0 | 2023-07-25 14:56:04 UTC |
2.2.0 | 2023-06-18 18:03:48 UTC |
2.1.2 | 2023-05-27 21:20:34 UTC |
2.1.1 | 2023-05-03 11:55:28 UTC |
2.1.0 | 2023-04-05 23:18:32 UTC |
2.0.1 | 2023-02-21 17:30:13 UTC |
2.0.0 | 2023-01-29 23:05:28 UTC |
1.7.3 | 2023-01-29 00:45:01 UTC |
1.7.2 | 2023-01-21 05:24:36 UTC |
Showing the 20 most recent of 129 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
python 3.8 | 2.9.0 |
python 3.9 | 2.9.0 |
python 3.10 | 2.9.0 |
python 3.11 | 2.9.0 |
python 3.12 | 3.0.2 |
python 3.13 | 3.0.2 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of pytorch-metric-learning?
The latest stable version of pytorch-metric-learning is 3.0.2, published on 2026-11-08. Verified by Vigia on 2026-11-13.
How do I install the latest version of pytorch-metric-learning?
Run pip install --upgrade pytorch-metric-learning. The latest stable version is 3.0.2 (verified 2026-11-13).
Is pytorch-metric-learning deprecated?
No. pytorch-metric-learning is not marked as deprecated in the registry.
Which Python version does pytorch-metric-learning require?
pytorch-metric-learning 3.0.2 declares this requirement: python >=3.12.
Does pytorch-metric-learning 3.0.2 have known vulnerabilities?
No known advisories affect pytorch-metric-learning 3.0.2 according to the data Vigia checks.
Is pytorch-metric-learning still maintained?
pytorch-metric-learning published 3 stable releases in the last 12 months; the most recent was 5 days ago. Activity: active.
Observed changes
- Sun Nov 08 2026 06:05:57 GM +0000 (Coordinated Universal Time) — released 3.0.1 → 3.0.2
- Sun Nov 01 2026 06:56:07 GM +0000 (Coordinated Universal Time) — released 3.0.0 → 3.0.1
- Sat Oct 31 2026 19:39:39 GM +0000 (Coordinated Universal Time) — license_changed
- Sat Oct 31 2026 19:39:39 GM +0000 (Coordinated Universal Time) — runtime_requirement_changed
- Sat Oct 31 2026 19:39:39 GM +0000 (Coordinated Universal Time) — released 2.9.0 → 3.0.0
Related packages
- azure-mgmt-reservations
- qh3
- mistletoe
- clr-loader
- docopt-ng
- avro-gen3
- uncertainties
- opentelemetry-instrumentation-cohere
- findspark
- pyqt5-qt5
- pydantic-avro
- docusign-esign
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/pypi/pytorch-metric-learning) [](https://vigia.coredls.cloud/pypi/pytorch-metric-learning) [](https://vigia.coredls.cloud/pypi/pytorch-metric-learning)
For agents
GET https://vigia.coredls.cloud/v1/packages/pypi/pytorch-metric-learning
GET https://vigia.coredls.cloud/v1/packages/pypi/pytorch-metric-learning/versions/{version}