Skip to content

Automation of Getting Started page generation

Andrey Talman edited this page Jan 3, 2023 · 4 revisions

Context

The generation of the release matrix on get started locally page is fully automated. This is used when adding new builds to PyTorch nightly and PyTorch OSS release. Please use this guide if you want to perform an update.

Workflow responsible for automation is update-quick-start-module.yml it does the following:

  • Call generate_binary_build_matrix.yml for every Operating System we support and for Nighlty and Release channel. This workflow returns the installation instructions to be used for each case. Please refer to wiki for more information.
  • Call gen_quick_start_module.py script to generate new published_versions.json which contains the installation matrix and used as a source to quick-start-module.js. And and new quick-start-module.js which is responsible for display of the matrix.
  • Validation workflows for nightly and release are started and executed on the PR posted on previous step.
Clone this wiki locally