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:

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
rbenv rehash

####

bundle install
rbenv rehash

Install required Node version

nvm install
nvm use

Install Yarn

brew install yarn --without-node
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.

pytorch.github.io's People

Contributors

pytorchbot avatar joelmarcey avatar brsoff avatar patmellon avatar brucejlin avatar ericnakagawa avatar soumith avatar zou3519 avatar jspisak avatar surgan12 avatar peterjc123 avatar ashwhall avatar blue-atom avatar jmjackson6880 avatar ml7 avatar rasbt avatar skrish13 avatar ssnl avatar brettkoonce avatar betacat0 avatar

Watchers

James Cloos avatar Ofek Lev avatar  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.