Relax dependency pins: torch<2.11, opencv-python-headless, remove duplicate opencv from viz extra - #38
Merged
Conversation
… extra - torch cap widened from <2.5 to <2.11 (torchvision <0.20 -> <0.26): covers the whole CUDA 12 line. torch 2.11+ ships CUDA 13 wheels by default, which need an R580+ driver; on older drivers the install succeeds but cuda.is_available() is False. Verified torch 2.10.0+cu128 locally: full test suite passes and Human3.6M eval is identical to torch 2.4.1 (MPJPE 49.08 / P-MPJPE 38.89). Follows the discussion in #36. - opencv-python -> opencv-python-headless. FMPose3D uses no HighGUI calls, and the headless build avoids pulling both cv2 variants when installed alongside DeepLabCut. Also drops the duplicate opencv-python from the viz extra. Closes #37. - Add Xiaohang Yu's email to authors.
xiu-cs
force-pushed
the
deps-cleanup
branch
from
September 15, 2026 14:18
0f1f9a9 to
018feb3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #36.
<2.5→<2.11(torchvision<0.20→<0.26): covers the wholeCUDA 12 line. torch 2.11+ ships CUDA 13 wheels by default, which need an R580+
driver; on older drivers the install succeeds but
cuda.is_available()is False.Verified torch 2.10 locally: full test suite passes and Human3.6M eval is
identical to torch 2.4.1.
opencv-python→opencv-python-headless: FMPose3D has no HighGUI calls, sothe headless build is enough. DeepLabCut already depends on the headless variant;
with both projects on the same package,
deeplabcut[fmpose3d]no longer installstwo conflicting copies of
cv2(see Dependency alignment with DeepLabCut: opencv-python-headless and NumPy 2 #37).Closes #37.