diff --git a/.github/ISSUE_TEMPLATE/documentation-content.md b/.github/ISSUE_TEMPLATE/documentation-content.md
deleted file mode 100644
index bf6a1e5b3f0e..000000000000
--- a/.github/ISSUE_TEMPLATE/documentation-content.md
+++ /dev/null
@@ -1,9 +0,0 @@
----
-name: "\U0001F4DADocumentation Content"
-about: Report an issue related to the documentation content on https://pytorch.org
-
----
-
-## 📚 Documentation
-
-(Add a clear and concise description of what the documentation content issue is. A link to any relevant https://pytorch.org page is helpful if you have one.)
diff --git a/.github/ISSUE_TEMPLATE/website-issue.md b/.github/ISSUE_TEMPLATE/website-issue.md
deleted file mode 100644
index efc8fef24039..000000000000
--- a/.github/ISSUE_TEMPLATE/website-issue.md
+++ /dev/null
@@ -1,36 +0,0 @@
----
-name: "\U0001F54B Website Issue"
-about: Report an issue with the https://pytorch.org website itself
-
----
-
-## 🕋 Website
-
-
-
-## To Reproduce
-
-Steps to reproduce the behavior (if applicable):
-
-1. Go to '...'
-2. Click on '....'
-3. Scroll down to '....'
-4. See error
-
-## Expected behavior
-
-
-
-## Screenshots
-
-
-
-## Desktop (please complete the following information):
-
- - OS: [e.g. iOS]
- - Browser [e.g. chrome, safari]
- - Version [e.g. 22]
-
-## Additional context
-
-
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
deleted file mode 100644
index 23a8f5ffbad9..000000000000
--- a/.github/workflows/build.yml
+++ /dev/null
@@ -1,41 +0,0 @@
-name: Build
-
-on:
- push:
- branches:
- - site
- workflow_dispatch:
-
-jobs:
- tests:
- uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
- secrets: inherit
- with:
- runner: linux.12xlarge
- repository: pytorch/pytorch.github.io
- docker-image: cimg/ruby:2.7-node
- secrets-env: PYTORCHBOT_TOKEN
- script: |
- git config --global --add safe.directory /__w/pytorch.github.io/pytorch.github.io
- set -euxo pipefail
-
- ## Bundle Install
- cd
- mkdir .bundle
- bundle config path '~/vendor/bundle'
- git clone https://github.com/pytorch/pytorch.github.io.git
- cd pytorch.github.io
- bundle install
-
- ## Yarn Install
- yarn install --cache-folder ~/.cache/yarn
-
- ## Notedown Install
- sudo apt update && sudo apt install python3-pip && sudo -H pip3 install pyrsistent==0.16 notedown pyyaml -Iv nbformat==5.7
-
- ## Configure Bot
- git config --global user.email "facebook-circleci-bot@users.noreply.github.com"
- git config --global user.name "Website Deployment Script"
-
- ## Build Jekyll site and push to master
- ./scripts/deploy-site.sh build
diff --git a/.github/workflows/update-quick-start-module.yml b/.github/workflows/update-quick-start-module.yml
deleted file mode 100644
index 7d070eb7ff8a..000000000000
--- a/.github/workflows/update-quick-start-module.yml
+++ /dev/null
@@ -1,112 +0,0 @@
-name: Update quick start module
-on:
- schedule:
- # At 18:30 pm UTC (1:30 pm EST)
- - cron: "30 18 * * *"
- pull_request:
- paths:
- - .github/workflows/update-quick-start-module.yml
- - scripts/gen_quick_start_module.py
- - _includes/quick-start-module.js
- - _includes/quick_start_local.html
- push:
- branches:
- site
- paths:
- - .github/workflows/update-quick-start-module.yml
- - scripts/gen_quick_start_module.py
- - _includes/quick-start-module.js
- - _includes/quick_start_local.html
- workflow_dispatch:
-
-jobs:
- linux-nightly-matrix:
- uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
- with:
- package-type: all
- os: linux
- channel: "nightly"
- windows-nightly-matrix:
- uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
- with:
- package-type: all
- os: windows
- channel: "nightly"
- macos-arm64-nightly-matrix:
- uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
- with:
- package-type: all
- os: macos-arm64
- channel: "nightly"
- linux-release-matrix:
- needs: [linux-nightly-matrix]
- uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
- with:
- package-type: all
- os: linux
- channel: "release"
- windows-release-matrix:
- needs: [windows-nightly-matrix]
- uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
- with:
- package-type: all
- os: windows
- channel: "release"
- macos-arm64-release-matrix:
- needs: [macos-arm64-nightly-matrix]
- uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
- with:
- package-type: all
- os: macos-arm64
- channel: "release"
-
- update-quick-start:
- needs: [linux-nightly-matrix, windows-nightly-matrix, macos-arm64-nightly-matrix,
- linux-release-matrix, windows-release-matrix, macos-arm64-release-matrix]
- runs-on: "ubuntu-latest"
- environment: pytorchbot-env
- steps:
- - name: Checkout pytorch.github.io
- uses: actions/checkout@v2
- - name: Setup Python
- uses: actions/setup-python@v2
- with:
- python-version: 3.9
- architecture: x64
- - name: Create json file
- shell: bash
- env:
- LINUX_NIGHTLY_MATRIX: ${{ needs.linux-nightly-matrix.outputs.matrix }}
- WINDOWS_NIGHTLY_MATRIX: ${{ needs.windows-nightly-matrix.outputs.matrix }}
- MACOS_NIGHTLY_MATRIX: ${{ needs.macos-arm64-nightly-matrix.outputs.matrix }}
- LINUX_RELEASE_MATRIX: ${{ needs.linux-release-matrix.outputs.matrix }}
- WINDOWS_RELEASE_MATRIX: ${{ needs.windows-release-matrix.outputs.matrix }}
- MACOS_RELEASE_MATRIX: ${{ needs.macos-arm64-release-matrix.outputs.matrix }}
- run: |
- set -ex
- printf '%s\n' "$LINUX_NIGHTLY_MATRIX" > linux_nightly_matrix.json
- printf '%s\n' "$WINDOWS_NIGHTLY_MATRIX" > windows_nightly_matrix.json
- printf '%s\n' "$MACOS_NIGHTLY_MATRIX" > macos_nightly_matrix.json
- printf '%s\n' "$LINUX_RELEASE_MATRIX" > linux_release_matrix.json
- printf '%s\n' "$WINDOWS_RELEASE_MATRIX" > windows_release_matrix.json
- printf '%s\n' "$MACOS_RELEASE_MATRIX" > macos_release_matrix.json
- python3 ./scripts/gen_quick_start_module.py --autogenerate > assets/quick-start-module.js
- rm *_matrix.json
- - name: Create Issue if failed
- uses: dacbd/create-issue-action@main
- if: ${{ failure() }} # only run when this job is failed.
- with:
- title: Updating quick start module failed
- token: ${{secrets.PYTORCHBOT_TOKEN}}
- assignees: ${{github.actor}}
- labels: bug
- body: Updating quick start module failed, please fix update quick start module
- - name: Create Pull Request
- uses: peter-evans/create-pull-request@v3
- with:
- token: ${{ secrets.PYTORCHBOT_TOKEN }}
- commit-message: Modify published_versions.json, releases.json and quick-start-module.js
- title: '[Getting Started Page] Modify published_versions.json, releases.json and quick-start-module.js'
- body: >
- This PR is auto-generated. It updates Getting Started page
- labels: automated pr
diff --git a/.github/workflows/validate-quick-start-module.yml b/.github/workflows/validate-quick-start-module.yml
deleted file mode 100644
index 2813be181d01..000000000000
--- a/.github/workflows/validate-quick-start-module.yml
+++ /dev/null
@@ -1,31 +0,0 @@
-name: Validate quick start module
-on:
- pull_request:
- branches:
- site
- paths:
- - published_versions.json
- - assets/quick-start-module.js
- - .github/workflows/validate-quick-start-module.yml
- push:
- branches:
- site
- paths:
- - published_versions.json
- - assets/quick-start-module.js
- - .github/workflows/validate-quick-start-module.yml
- workflow_dispatch:
-
-jobs:
- validate-nightly-binaries:
- uses: pytorch/test-infra/.github/workflows/validate-binaries.yml@main
- with:
- os: all
- channel: "nightly"
- validate-release-binaries:
- if: always()
- uses: pytorch/test-infra/.github/workflows/validate-binaries.yml@main
- needs: validate-nightly-binaries
- with:
- os: all
- channel: "release"
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 90a766742d95..000000000000
--- a/.gitignore
+++ /dev/null
@@ -1,18 +0,0 @@
-.DS_Store
-node_modules
-yarn-error.log
-/vendor
-# These are NOT autogenerated. Check in files as necessary.
-!docs/stable/_static/js/vendor/
-!docs/master/_static/js/vendor/
-.bundle
-.sass_cache
-_site
-
-.idea/
-
-.jekyll-metadata
-
-.vscode/
-
-.netlify/
diff --git a/.gitmodules b/.gitmodules
deleted file mode 100644
index df1b3b80f323..000000000000
--- a/.gitmodules
+++ /dev/null
@@ -1,3 +0,0 @@
-[submodule "_hub"]
- path = _hub
- url = https://github.com/pytorch/hub.git
diff --git a/.nvmrc b/.nvmrc
deleted file mode 100644
index 834eb3fa85bf..000000000000
--- a/.nvmrc
+++ /dev/null
@@ -1 +0,0 @@
-9.8.0
diff --git a/.ruby-version b/.ruby-version
deleted file mode 100644
index 6a81b4c83794..000000000000
--- a/.ruby-version
+++ /dev/null
@@ -1 +0,0 @@
-2.7.8
diff --git a/2017/05/11/Internals.html b/2017/05/11/Internals.html
new file mode 100644
index 000000000000..a535db31eec8
--- /dev/null
+++ b/2017/05/11/Internals.html
@@ -0,0 +1,11 @@
+
+
+
+
Redirecting…
+
+
+
+
+ Redirecting…
+ Click here if you are not redirected.
+
diff --git a/2017/06/27/Internals2.html b/2017/06/27/Internals2.html
new file mode 100644
index 000000000000..d5b7eb345060
--- /dev/null
+++ b/2017/06/27/Internals2.html
@@ -0,0 +1,11 @@
+
+
+
+ Redirecting…
+
+
+
+
+ Redirecting…
+ Click here if you are not redirected.
+
diff --git a/2018/01/19/a-year-in.html b/2018/01/19/a-year-in.html
new file mode 100644
index 000000000000..4980385057d9
--- /dev/null
+++ b/2018/01/19/a-year-in.html
@@ -0,0 +1,11 @@
+
+
+
+ Redirecting…
+
+
+
+
+ Redirecting…
+ Click here if you are not redirected.
+
diff --git a/2018/03/05/tensor-comprehensions.html b/2018/03/05/tensor-comprehensions.html
new file mode 100644
index 000000000000..736fa2110f1d
--- /dev/null
+++ b/2018/03/05/tensor-comprehensions.html
@@ -0,0 +1,11 @@
+
+
+
+ Redirecting…
+
+
+
+
+ Redirecting…
+ Click here if you are not redirected.
+
diff --git a/2018/04/22/0_4_0-migration-guide.html b/2018/04/22/0_4_0-migration-guide.html
new file mode 100644
index 000000000000..635d247ff5ee
--- /dev/null
+++ b/2018/04/22/0_4_0-migration-guide.html
@@ -0,0 +1,11 @@
+
+
+
+ Redirecting…
+
+
+
+
+ Redirecting…
+ Click here if you are not redirected.
+
diff --git a/2018/05/02/road-to-1.0.html b/2018/05/02/road-to-1.0.html
new file mode 100644
index 000000000000..78e399bc998a
--- /dev/null
+++ b/2018/05/02/road-to-1.0.html
@@ -0,0 +1,11 @@
+
+
+
+ Redirecting…
+
+
+
+
+ Redirecting…
+ Click here if you are not redirected.
+
diff --git a/2019/04/29/road-to-1.0.html b/2019/04/29/road-to-1.0.html
new file mode 100644
index 000000000000..b19638439684
--- /dev/null
+++ b/2019/04/29/road-to-1.0.html
@@ -0,0 +1,11 @@
+
+
+
+ Redirecting…
+
+
+
+
+ Redirecting…
+ Click here if you are not redirected.
+
diff --git a/2019/05/08/model-serving-in-pyorch.html b/2019/05/08/model-serving-in-pyorch.html
new file mode 100644
index 000000000000..a578a77ac542
--- /dev/null
+++ b/2019/05/08/model-serving-in-pyorch.html
@@ -0,0 +1,11 @@
+
+
+
+ Redirecting…
+
+
+
+
+ Redirecting…
+ Click here if you are not redirected.
+
diff --git a/2019/05/23/torchvision03.html b/2019/05/23/torchvision03.html
new file mode 100644
index 000000000000..8547da0cdc64
--- /dev/null
+++ b/2019/05/23/torchvision03.html
@@ -0,0 +1,11 @@
+
+
+
+ Redirecting…
+
+
+
+
+ Redirecting…
+ Click here if you are not redirected.
+
diff --git a/2019/06/10/pytorch_hub.html b/2019/06/10/pytorch_hub.html
new file mode 100644
index 000000000000..de517a02dd78
--- /dev/null
+++ b/2019/06/10/pytorch_hub.html
@@ -0,0 +1,11 @@
+
+
+
+ Redirecting…
+
+
+
+
+ Redirecting…
+ Click here if you are not redirected.
+
diff --git a/2019/07/23/mapillary-research.html b/2019/07/23/mapillary-research.html
new file mode 100644
index 000000000000..90b4512c4c08
--- /dev/null
+++ b/2019/07/23/mapillary-research.html
@@ -0,0 +1,11 @@
+
+
+
+ Redirecting…
+
+
+
+
+ Redirecting…
+ Click here if you are not redirected.
+
diff --git a/2019/08/06/pytorch_aug2019_releases.html b/2019/08/06/pytorch_aug2019_releases.html
new file mode 100644
index 000000000000..29dddfd8c52c
--- /dev/null
+++ b/2019/08/06/pytorch_aug2019_releases.html
@@ -0,0 +1,11 @@
+
+
+
+ Redirecting…
+
+
+
+
+ Redirecting…
+ Click here if you are not redirected.
+
diff --git a/404.html b/404.html
index dccbfd661ab7..1d1727fd5d38 100644
--- a/404.html
+++ b/404.html
@@ -1,11 +1,307 @@
----
-title: Oops!
-id: 404
-permalink: /404.html
-layout: general
----
-
-
+
+
+
+
+
+
+
+ Oops! | PyTorch
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
Oops!
@@ -80,4 +376,310 @@
Click here to go back to the main page.
-
\ No newline at end of file
+
+
+
+
+
+
+
+
+
+
+
Docs
+
Access comprehensive developer documentation for PyTorch
+
View Docs
+
+
+
+
Tutorials
+
Get in-depth tutorials for beginners and advanced developers
+
View Tutorials
+
+
+
+
Resources
+
Find development resources and get your questions answered
+
View Resources
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
To analyze traffic and optimize your experience, we serve cookies on this site. By clicking or navigating, you agree to allow our usage of cookies. As the current maintainers of this site, Facebook’s Cookies Policy applies. Learn more, including about available controls: Cookies Policy .
+
+
+
+
+
+
+