Skip to content

Relax dependency pins: torch<2.11, opencv-python-headless, remove duplicate opencv from viz extra - #38

Merged
xiu-cs merged 1 commit into
mainfrom
deps-cleanup
Sep 15, 2026
Merged

xiu-cs merged 1 commit into
mainfrom
deps-cleanup

Conversation

@xiu-cs

@xiu-cs xiu-cs commented Sep 15, 2026

Copy link
Copy Markdown
Collaborator

Follow-up to #36.

  • torch cap <2.5<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 locally: full test suite passes and Human3.6M eval is
    identical to torch 2.4.1.
  • opencv-pythonopencv-python-headless: FMPose3D has no HighGUI calls, so
    the headless build is enough. DeepLabCut already depends on the headless variant;
    with both projects on the same package, deeplabcut[fmpose3d] no longer installs
    two conflicting copies of cv2 (see Dependency alignment with DeepLabCut: opencv-python-headless and NumPy 2 #37).

Closes #37.

… 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
xiu-cs merged commit afc6c91 into main Sep 15, 2026
5 checks passed
@xiu-cs
xiu-cs deleted the deps-cleanup branch September 15, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dependency alignment with DeepLabCut: opencv-python-headless and NumPy 2

1 participant