Skip to content

creduo/pytorch.github.io

This branch is 5409 commits behind pytorch/pytorch.github.io:site.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2e45776 · May 16, 2020
Jan 7, 2020
Sep 26, 2018
Sep 23, 2019
Aug 30, 2018
Oct 29, 2019
May 1, 2020
Apr 20, 2020
Apr 30, 2020
Oct 29, 2019
Apr 21, 2020
Feb 11, 2020
Feb 5, 2020
May 5, 2020
May 5, 2020
Jan 8, 2020
Mar 18, 2020
Aug 25, 2018
May 5, 2020
Nov 25, 2019
May 16, 2020
Nov 4, 2019
Dec 3, 2019
Jan 16, 2020
Jun 3, 2019
Dec 11, 2018
May 24, 2019
Jul 26, 2018
Dec 7, 2018
Oct 30, 2018
Sep 20, 2018
Feb 24, 2020
Dec 7, 2018
Oct 30, 2019
Sep 20, 2018
Jun 1, 2019
Apr 29, 2019
Oct 15, 2019
Aug 27, 2018
Aug 8, 2018
Nov 4, 2019
Sep 17, 2018
Oct 10, 2019
Sep 24, 2019
Oct 30, 2019
Nov 4, 2019
May 27, 2019
Aug 25, 2018
Oct 30, 2019

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 sites 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.

About

The website for PyTorch

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 39.6%
  • HTML 23.0%
  • CSS 22.7%
  • JavaScript 11.4%
  • Ruby 1.8%
  • Shell 0.6%
  • Other 0.9%