deps: pin torch>=2.11.0 in requirements_macos.txt
The mtlgemm Metal extension's metal_context.mm calls at::mps::dispatch_sync_with_rethrow, which was added to that namespace in PyTorch 2.11.0 (pytorch/pytorch#167445, merged 2025-11-11). Earlier stable releases (2.6 – 2.10) only expose it under at::native::mps::, so installing mtlgemm against them fails the C++ extension build. torchvision pinned to >=0.26.0 (matches torch 2.11) to keep the torch/torchvision wheel pair ABI-compatible on resolution.
This commit is contained in:
parent
f3177cd807
commit
9c34570ffc
@ -2,8 +2,13 @@
|
||||
# NO: flash_attn, spconv, torchsparse (CUDA-only)
|
||||
|
||||
# Core
|
||||
torch>=2.2.0
|
||||
torchvision>=0.17.0
|
||||
# torch >= 2.11.0 is required because mtlgemm's metal_context.mm calls
|
||||
# at::mps::dispatch_sync_with_rethrow, which was promoted from
|
||||
# at::native::mps:: to at::mps:: in PyTorch 2.11 (PR #167445, merged
|
||||
# 2025-11-11). Earlier stable versions (2.6 – 2.10) only expose it under
|
||||
# at::native::mps:: and won't link.
|
||||
torch>=2.11.0
|
||||
torchvision>=0.26.0
|
||||
transformers>=4.40.0,<5
|
||||
safetensors
|
||||
huggingface_hub
|
||||
|
||||
Loading…
Reference in New Issue
Block a user