From ce4a47a2e0db097dbc2d2b06e2cb26dbbed69742 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Mon, 10 Nov 2025 10:26:12 -0500 Subject: [PATCH] Remove `torch-model-archiver` and `torch-tb-profiler` from PyTorch backend (#16655) ## Summary These are present on the PyTorch index, but only at very old versions. The PyPI versions are newer, and seemingly these don't need to be built against CUDA, etc. Closes https://github.com/astral-sh/uv/issues/16651. --- crates/uv-torch/src/backend.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/crates/uv-torch/src/backend.rs b/crates/uv-torch/src/backend.rs index d67fed91d..773fd619b 100644 --- a/crates/uv-torch/src/backend.rs +++ b/crates/uv-torch/src/backend.rs @@ -306,8 +306,6 @@ impl TorchStrategy { matches!( package_name.as_str(), "torch" - | "torch-model-archiver" - | "torch-tb-profiler" | "torcharrow" | "torchaudio" | "torchcsprng" @@ -337,8 +335,6 @@ impl TorchStrategy { | "torch-spline-conv" | "vllm" | "torch" - | "torch-model-archiver" - | "torch-tb-profiler" | "torcharrow" | "torchaudio" | "torchcsprng"