Skip to content

fix: preserve supported Windows PyTorch installations - #354

Merged
yujiahu415 merged 3 commits into
umyelab:masterfrom
btmlnsn:publication/staging
Sep 30, 2026
Merged

yujiahu415 merged 3 commits into
umyelab:masterfrom
btmlnsn:publication/staging

Conversation

@btmlnsn

@btmlnsn btmlnsn commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

Summary

This is a targeted post-release patch for the Windows PyTorch upgrade regression identified after v3.1.0.

Root cause

A deterministic CPU-only PyTorch 2.8 constraint was appropriate for the Windows Nox CI environment, but those exact pins were also added to published package dependency metadata. As a result, upgrading LabGym on Windows forced existing PyTorch installations—including GPU-enabled 2.0.1+cu118 environments—to PyTorch 2.8.0.

Change

  • Restores unpinned public torch, torchvision, and torchaudio dependencies.
  • Retains the fixed PyTorch 2.8 CPU family only in the Windows Nox CI configuration.
  • Proposes v3.1.1 with a changelog entry for this packaging correction.

Validation

  • Confirmed pyproject.toml now exposes only unpinned public PyTorch dependencies.
  • Confirmed the package version is 3.1.1.
  • The focused packaging-fix PR completed CI successfully.
  • This removes the forced upgrade; GPU detection should be rechecked in an existing Windows GPU environment after upgrade.

Maintainer review

Please confirm the v3.1.1 version and changelog entry. No tag, GitHub Release, or final changelog compare link has been created by this PR.

@yujiahu415
yujiahu415 merged commit 82e3f42 into umyelab:master Sep 30, 2026
4 checks passed
@btmlnsn
btmlnsn deleted the publication/staging branch October 5, 2026 21:27
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.

2 participants