Git Product home page Git Product logo

pytorch.github.io's Introduction

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.

pytorch.github.io's People

Contributors

alenacal avatar andresruizfacebook avatar arielmoguillansky avatar atalman avatar brianjo avatar brsoff avatar brucejlin avatar brucejlin1 avatar cjyabraham avatar ericnakagawa avatar hhsuk avatar hydroxyhelium avatar joelmarcey avatar jspisak avatar malfet avatar msaroufim avatar osalpekar avatar patmellon avatar pytorchbot avatar pytorchsam avatar ritaiglesias-96 avatar seemethere avatar sofiaguerraber avatar soumith avatar subramen avatar svekars avatar terryce avatar woo-kim avatar wookim3 avatar zou3519 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.