Skip to content

pytorch/pytorch.github.io

Folders and files

NameName
Last commit message
Last commit date
Nov 14, 2023
Jan 17, 2024
Feb 25, 2022
Aug 30, 2018
Dec 11, 2023
Oct 5, 2021
Jan 24, 2024
Dec 9, 2023
May 24, 2021
Feb 23, 2024
May 28, 2020
Dec 13, 2023
Oct 17, 2023
Dec 11, 2023
Mar 14, 2023
Dec 9, 2023
Feb 21, 2024
Sep 6, 2022
Dec 9, 2023
Dec 1, 2020
Feb 22, 2024
Mar 13, 2024
Oct 24, 2023
Oct 25, 2020
Dec 11, 2023
Jan 31, 2024
May 13, 2022
Oct 13, 2021
May 24, 2019
Jul 26, 2018
Apr 7, 2023
Jul 26, 2022
Sep 20, 2018
Feb 24, 2020
Apr 4, 2023
Apr 14, 2023
Sep 20, 2018
Jun 1, 2019
Mar 11, 2021
Apr 12, 2023
Mar 10, 2023
Aug 27, 2018
Jun 17, 2022
Jul 14, 2020
Oct 17, 2023
Jun 20, 2021
Sep 7, 2021
Oct 17, 2023
Aug 8, 2018
Nov 4, 2019
Oct 7, 2021
Sep 17, 2018
May 29, 2020
Feb 17, 2024
Jun 9, 2023
Aug 22, 2023
Sep 24, 2019
Apr 30, 2020
Feb 22, 2024
Sep 12, 2022
Sep 12, 2022
Oct 14, 2022
Aug 25, 2018
Aug 12, 2020
Aug 12, 2020
Aug 12, 2020
Aug 12, 2020
Aug 12, 2020
May 12, 2022
Apr 7, 2021
Jun 29, 2021
Apr 30, 2020

Repository files navigation

pytorch.org site

https://pytorch.org

A static website built in Jekyll and Bootstrap for PyTorch, and its tutorials and documentation.

Prerequisites

Install the following packages before attempting to setup the project:

On OSX, you can use:

brew install rbenv ruby-build nvm

Setup

Install required Ruby version:

#### You only need to run these commands if you are missing the needed Ruby version.

rbenv install `cat .ruby-version`
gem install bundler -v 1.16.3
rbenv rehash

####

bundle install
rbenv rehash

Install required Node version

nvm install
nvm use

Install Yarn

brew install yarn --ignore-dependencies
yarn install

Local Development

To run the website locally for development:

make serve

Then navigate to localhost:4000.

Note the serve task is contained in a Makefile in the root directory. We are using make as an alternative to the standard jekyll serve as we want to run yarn, which is not included in Jekyll by default.

Building the Static Site

To build the static website from source:

make build

This will build the static site at ./_site. This directory is not tracked in git.

Deployments

The website is hosted on Github Pages at https://pytorch.org.

To deploy changes, merge your latest code into the site branch. A build will be automatically built and committed to the master branch via a CircleCI job.

To view the status of the build visit https://circleci.com/gh/pytorch/pytorch.github.io.

Contributing to PyTorch Documentation and Tutorials

  • You can find information about contributing to PyTorch documentation in the PyTorch repo README.md file.
  • Information about contributing to PyTorch Tutorials can be found in the tutorials README.md.
  • Additional contribution information can be found in PyTorch CONTRIBUTING.md.

Releases

No releases published

Packages

No packages published

Contributors 147