Skip to content

Drop Windows libtorch debug from quick-start generation#2082

Merged
atalman merged 1 commit into
pytorch:sitefrom
atalman:drop-windows-libtorch-debug
Jun 17, 2026
Merged

Drop Windows libtorch debug from quick-start generation#2082
atalman merged 1 commit into
pytorch:sitefrom
atalman:drop-windows-libtorch-debug

Conversation

@atalman

@atalman atalman commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Windows libtorch debug binaries are no longer produced — pytorch/test-infra#8194 stops generating them in the binary build matrix (only the release libtorch_config is emitted for Windows libtorch).

This updates the Windows libtorch branch of gen_quick_start_module.py to:

  • publish only the Release download, and
  • drop any stale Debug entry carried over from the preview template.

Without this, regenerating published_versions.json for 2.12.1 and nightlies would KeyError on the now-missing debug matrix entry, and would otherwise leave dead Download here (Debug version): links in the preview and new 2.12.1 Windows libtorch entries.

Historical released versions keep their existing Debug links (those binaries still exist).

Testing

Generated nightly + release matrices from pytorch/test-infra#8194 and ran python3 scripts/gen_quick_start_module.py --autogenerate:

  • exits 0 (previously KeyError),
  • preview and the new 2.12.1 Windows libtorch entries contain Release only,
  • historical 1.13.0 retains both Release and Debug.

Companion to pytorch/test-infra#8194.

Windows libtorch debug binaries are no longer produced
(pytorch/test-infra#8194 stops generating them in the build matrix).
Update the Windows libtorch branch of gen_quick_start_module.py to only
publish the Release download and drop any stale Debug entry carried over
from the preview template, so regenerating published_versions.json for
2.12.1 and nightlies no longer references the dropped debug binaries
(and no longer KeyErrors on the missing debug matrix entry).

Historical released versions keep their existing Debug links.
@netlify

netlify Bot commented Jun 17, 2026

Copy link
Copy Markdown

Deploy Preview for pytorch-dot-org-preview ready!

Name Link
🔨 Latest commit d375c22
🔍 Latest deploy log https://app.netlify.com/projects/pytorch-dot-org-preview/deploys/6a33188b63326800089d4105
😎 Deploy Preview https://deploy-preview-2082--pytorch-dot-org-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@atalman atalman merged commit 8d95328 into pytorch:site Jun 17, 2026
17 of 21 checks passed
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.

3 participants