diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index c5dd6181d4a..937417f4999 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -13,17 +13,17 @@ body: - type: textarea attributes: label: Add Link - description: | + description: | **Add the link to the tutorial*** placeholder: | Link to the tutorial on the website: validations: - required: true + required: true - type: textarea attributes: label: Describe the bug - description: | - **Add the bug description** + description: | + **Add the bug description** placeholder: | Provide a detailed description of the issue with code samples if relevant ```python diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index c6e0885eaa9..c1c449c29fe 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -18,7 +18,7 @@ body: - type: textarea attributes: label: Existing tutorials on this topic - description: | + description: | **Add a list of existing tutorials on the same topic.** placeholder: | List tutorials that already explain this functionality if exist. On pytorch.org or elsewhere. diff --git a/.github/scripts/docathon-label-sync.py b/.github/scripts/docathon-label-sync.py index 7eeca6f7659..7241e1370ce 100644 --- a/.github/scripts/docathon-label-sync.py +++ b/.github/scripts/docathon-label-sync.py @@ -30,7 +30,7 @@ def main(): # if the issue has a docathon label, add all labels from the issue to the PR. if not docathon_label_present: print("The 'docathon-h1-2025' label is not present in the issue.") - return + return pull_request_labels = pull_request.get_labels() issue_label_names = [label.name for label in issue_labels] labels_to_add = [label for label in issue_label_names if label not in pull_request_labels] @@ -39,8 +39,8 @@ def main(): return pull_request.add_to_labels(*labels_to_add) print("Labels added to the pull request!") - - + + if __name__ == "__main__": main() diff --git a/.github/workflows/MonthlyLinkCheck.yml b/.github/workflows/MonthlyLinkCheck.yml index 4c8a841c57b..aaddcda926f 100644 --- a/.github/workflows/MonthlyLinkCheck.yml +++ b/.github/workflows/MonthlyLinkCheck.yml @@ -1,4 +1,4 @@ -#Runs once a month and checks links in the repo to ensure they are valid +#Runs once a month and checks links in the repo to ensure they are valid #If action fails, it creates an issue with the failing links and an "incorrect link" label #If link is valid but failing, it can be added to the .lycheeignore file #Action can also be run manually as needed. @@ -34,8 +34,8 @@ jobs: content-filepath: ./lychee/out.md labels: 'incorrect link' #token: ${{ secrets.CUSTOM_TOKEN }} - - + + - name: Suggestions if: failure() run: | diff --git a/.github/workflows/StalePRs.yml b/.github/workflows/StalePRs.yml index 4fbfc78550d..e7393948518 100644 --- a/.github/workflows/StalePRs.yml +++ b/.github/workflows/StalePRs.yml @@ -21,7 +21,7 @@ on: jobs: stale: if: ${{ github.repository == 'pytorch/tutorials' }} - runs-on: ubuntu-latest + runs-on: ubuntu-latest permissions: contents: read pull-requests: write @@ -154,4 +154,3 @@ jobs: } } core.info(`Processed ${numProcessed} PRs total.`); - diff --git a/.github/workflows/link_checkPR.yml b/.github/workflows/link_checkPR.yml index e91b31f5a31..830e470c1c0 100644 --- a/.github/workflows/link_checkPR.yml +++ b/.github/workflows/link_checkPR.yml @@ -31,7 +31,7 @@ jobs: issue_number: context.issue.number }); return labels.data.some(label => label.name === 'skip-link-check'); - + - name: Check Links if: steps.skip-label.outputs.result == 'false' uses: lycheeverse/lychee-action@v1 @@ -39,7 +39,7 @@ jobs: args: --accept=200,403,429 --base . --verbose --no-progress ${{ steps.changed-files.outputs.all_changed_files }} token: ${{ secrets.CUSTOM_TOKEN }} fail: true - + - name: Skip Message if: steps.skip-label.outputs.result == 'true' run: echo "Link check was skipped due to the presence of the 'skip-link-check' label." @@ -48,7 +48,7 @@ jobs: - name: No Files to Check if: steps.skip-label.outputs.result == 'false' && steps.changed-files.outputs.any_changed == 'true' run: echo "No relevant files were changed in this PR that require link checking." - + - name: Suggestions if: failure() run: | diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml index 9556c8c3683..e1cba836c96 100644 --- a/.github/workflows/spelling.yml +++ b/.github/workflows/spelling.yml @@ -17,7 +17,7 @@ jobs: script: | let skipCheck = false; let changedFiles = []; - + if (context.eventName === 'pull_request') { // Check for skip label const { data: labels } = await github.rest.issues.listLabelsOnIssue({ @@ -26,7 +26,7 @@ jobs: issue_number: context.issue.number }); skipCheck = labels.some(label => label.name === 'skip-spell-check'); - + if (!skipCheck) { // Get changed files in PR const { data: files } = await github.rest.pulls.listFiles({ @@ -34,7 +34,7 @@ jobs: repo: context.repo.repo, pull_number: context.issue.number }); - + changedFiles = files .filter(file => file.filename.match(/\.(py|rst|md)$/)) .map(file => file.filename); @@ -43,7 +43,7 @@ jobs: // For push events, we'll still need to use git diff // We'll handle this after checkout } - + core.setOutput('skip', skipCheck.toString()); core.setOutput('files', changedFiles.join('\n')); core.setOutput('is-pr', (context.eventName === 'pull_request').toString()); @@ -73,7 +73,7 @@ jobs: else FILES="${{ steps.push-files.outputs.files }}" fi - + if [ -z "$FILES" ]; then echo "skip=true" >> $GITHUB_OUTPUT echo "No relevant files changed (*.py, *.rst, *.md), skipping spell check" @@ -110,7 +110,7 @@ jobs: else mapfile -t FILES <<< "${{ steps.push-files.outputs.files }}" fi - + # Check each file individually FINAL_EXIT_CODE=0 SPELLCHECK_LOG="" diff --git a/.jenkins/build.sh b/.jenkins/build.sh index 9162152ff78..0187f6ba84c 100755 --- a/.jenkins/build.sh +++ b/.jenkins/build.sh @@ -152,11 +152,11 @@ elif [[ "${JOB_TYPE}" == "manager" ]]; then if [[ "$COMMIT_SOURCE" == "refs/heads/master" || "$COMMIT_SOURCE" == "refs/heads/main" ]]; then git clone https://github.com/pytorch/tutorials.git -b gh-pages gh-pages # Clean up directories that contain tutorials - + for dir in beginner intermediate prototype recipes advanced distributed vision text audio; do rm -rf "gh-pages/$dir" done - + cp -r docs/* gh-pages/ pushd gh-pages # DANGER! DO NOT REMOVE THE `set +x` SETTING HERE! diff --git a/.jenkins/post_process_notebooks.py b/.jenkins/post_process_notebooks.py index 1dbd3422a9c..d10eb5a1bcc 100644 --- a/.jenkins/post_process_notebooks.py +++ b/.jenkins/post_process_notebooks.py @@ -5,7 +5,7 @@ """ This post-processing script needs to run after the .ipynb files are generated. The script removes extraneous ```{=html} syntax from the -admonitions and splits the cells that have video iframe into a +admonitions and splits the cells that have video iframe into a separate code cell that can be run to load the video directly in the notebook. This script is included in build.sh. """ @@ -36,7 +36,7 @@ def process_video_cell(notebook_path): before_html_block = match.group(1) code_block = match.group(2) - # Add a comment to run the cell to display the video + # Add a comment to run the cell to display the video code_block = "# Run this cell to load the video\n" + code_block # Create a new code cell new_code_cell = nbf.v4.new_code_cell(source=code_block) diff --git a/.lintrunner.toml b/.lintrunner.toml index 86a531f340c..af93353ef8e 100644 --- a/.lintrunner.toml +++ b/.lintrunner.toml @@ -9,16 +9,6 @@ exclude_patterns = [ "_static/**/*", # Contains some files that should usually not be linted # All files below this should be checked and either removed from the # exclusion list by fixing them or have a reason to be excluded. - ".github/ISSUE_TEMPLATE/bug-report.yml", - ".github/ISSUE_TEMPLATE/feature-request.yml", - ".github/scripts/docathon-label-sync.py", - ".github/workflows/MonthlyLinkCheck.yml", - ".github/workflows/StalePRs.yml", - ".github/workflows/link_checkPR.yml", - ".github/workflows/spelling.yml", - ".jenkins/post_process_notebooks.py", - ".lycheeignore", - "CONTRIBUTING.md", "advanced_source/coding_ddpg.py", "advanced_source/cpp_autograd.rst", "advanced_source/cpp_custom_ops.rst", @@ -60,7 +50,6 @@ exclude_patterns = [ "beginner_source/saving_loading_models.py", "beginner_source/template_tutorial.py", "beginner_source/transfer_learning_tutorial.py", - "docathon-leaderboard.md", "intermediate_source/TCPStore_libuv_backend.rst", "intermediate_source/ax_multiobjective_nas_tutorial.py", "intermediate_source/compiled_autograd_tutorial.rst", @@ -108,9 +97,6 @@ exclude_patterns = [ "recipes_source/torch_compiler_set_stance_tutorial.py", "recipes_source/torch_export_aoti_python.py", "recipes_source/xeon_run_cpu.rst", - "redirects.py", - "tutorial_submission_policy.md", - ".jenkins/build.sh", "advanced_source/cpp_export.rst", "advanced_source/torch-script-parallelism.rst", "advanced_source/torch_script_custom_classes.rst", @@ -148,9 +134,9 @@ include_patterns = ['**'] exclude_patterns = [ "_static/**/*", # Contains some files that should usually not be linted ".lintrunner.toml", # Ironically needs to contain the tab character to find in other files + "Makefile", # Wants tabs for indentationo # All files below this should be checked and either removed from the # exclusion list by fixing them or have a reason to be excluded. - "Makefile", "advanced_source/README.txt", "advanced_source/cpp_frontend.rst", "advanced_source/torch_script_custom_ops.rst", @@ -202,8 +188,6 @@ exclude_patterns=[ "_static/**/*", # Contains some files that should usually not be linted # All files below this should be checked and either removed from the # exclusion list by fixing them or have a reason to be excluded. - ".github/workflows/StalePRs.yml", - "CONTRIBUTING.md", "advanced_source/extend_dispatcher.rst", "advanced_source/neural_style_tutorial.py", "advanced_source/sharding.rst", diff --git a/.lycheeignore b/.lycheeignore index e3113ca5152..fc1e3f1fa85 100644 --- a/.lycheeignore +++ b/.lycheeignore @@ -13,5 +13,5 @@ https://pytorch.org/tutorials/beginner/colab/n # Ignore local host link from intermediate_source/tensorboard_tutorial.rst http://localhost:6006 -# Ignore local host link from advanced_source/cpp_frontend.rst +# Ignore local host link from advanced_source/cpp_frontend.rst https://www.uber.com/blog/deep-neuroevolution/ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c4038d168c3..84555be4b19 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -162,7 +162,7 @@ Write for a global audience with an instructive and directive voice. - PyTorch has a global audience; use clear, easy to understand language. Avoid idioms or other figures of speech. -- To keep your instructions concise, use +- To keep your instructions concise, use [active voice](https://writing.wisc.edu/handbook/style/ccs_activevoice/) as much as possible. - For a short guide on the essentials of writing style, [The Elements of Style](https://www.gutenberg.org/files/37134/37134-h/37134-h.htm) @@ -260,7 +260,7 @@ For Python files, our CI system runs your code during each build. In order for your tutorial to appear on the website, and through tag search, you need to include it in `index.rst`, or for recipes, in -`recipes_index.rst`. +`recipes_index.rst`. 1. Open the relevant file [`index.rst`](https://github.com/pytorch/tutorials/blob/main/index.rst) @@ -366,4 +366,3 @@ build. You can see an example Netlify preview at the following URL: ## Do not merge the PR yourself ## Please **DO NOT MERGE** your own PR; the tutorial won't be published. In order to avoid potential build breaks with the tutorials site, only certain maintainers can authorize publishing. - diff --git a/docathon-leaderboard.md b/docathon-leaderboard.md index 3c8f4bf3994..cebf297d0bf 100644 --- a/docathon-leaderboard.md +++ b/docathon-leaderboard.md @@ -1,12 +1,12 @@ # 🎉 PyTorch Docathon Leaderboard 2025 🎉 -This is the list of the docathon contributors that have participated and contributed to the PyTorch H1 2025 docathon. A big shout out to everyone who have participated! -We have awarded points for each merged PR as follows: +This is the list of the docathon contributors that have participated and contributed to the PyTorch H1 2025 docathon. A big shout out to everyone who have participated! +We have awarded points for each merged PR as follows: * easy - 2 points * medium - 5 points * advanced - 10 points - + We have granted half points (1, 2, and 5 respectively) for all additional PRs merged against the same issue. In some cases, we have awarded credit for the PRs that were not merged or issues that have been closed without a merged PR. @@ -47,118 +47,118 @@ In some cases, we have awarded credit for the PRs that were not merged or issues # 🎉 Docathon H1 2024 Leaderboard 🎉 -This is the list of the docathon contributors that have participated and contributed to the PyTorch H1 2024 docathon. -A big shout out to everyone who have participated! We have awarded points for each merged PR. -For the **easy** label, we have awarded 2 points. For the **medium** label, we have awarded 5 points. -For the **advanced** label, we have awarded 10 points. In some cases, we have awarded credit for the PRs that -were not merged or issues that have been closed without a merged PR. +This is the list of the docathon contributors that have participated and contributed to the PyTorch H1 2024 docathon. +A big shout out to everyone who have participated! We have awarded points for each merged PR. +For the **easy** label, we have awarded 2 points. For the **medium** label, we have awarded 5 points. +For the **advanced** label, we have awarded 10 points. In some cases, we have awarded credit for the PRs that +were not merged or issues that have been closed without a merged PR. | Author | Points | PR | |--- | --- | ---| -| ahoblitz | 34 | https://github.com/pytorch/pytorch/pull/128566, https://github.com/pytorch/pytorch/pull/128408, https://github.com/pytorch/pytorch/pull/128171, https://github.com/pytorch/pytorch/pull/128083, https://github.com/pytorch/pytorch/pull/128082, https://github.com/pytorch/pytorch/pull/127983, https://github.com/pytorch/xla/pull/7214 | -| afrittoli | 25 | https://github.com/pytorch/pytorch/pull/128139, https://github.com/pytorch/pytorch/pull/128133, https://github.com/pytorch/pytorch/pull/128132, https://github.com/pytorch/pytorch/pull/128129, https://github.com/pytorch/pytorch/pull/128127 | -| kiszk | 20 | https://github.com/pytorch/pytorch/pull/128337, https://github.com/pytorch/pytorch/pull/128123, https://github.com/pytorch/pytorch/pull/128022, https://github.com/pytorch/pytorch/pull/128312 | -| loganthomas | 19 | https://github.com/pytorch/pytorch/pull/128676, https://github.com/pytorch/pytorch/pull/128192, https://github.com/pytorch/pytorch/pull/128189, https://github.com/pytorch/tutorials/pull/2922, https://github.com/pytorch/tutorials/pull/2910, https://github.com/pytorch/xla/pull/7195 | -| ignaciobartol | 17 | https://github.com/pytorch/pytorch/pull/128741, https://github.com/pytorch/pytorch/pull/128135, https://github.com/pytorch/pytorch/pull/127938, https://github.com/pytorch/tutorials/pull/2936 | -| arunppsg | 17 | https://github.com/pytorch/pytorch/pull/128391, https://github.com/pytorch/pytorch/pull/128021, https://github.com/pytorch/pytorch/pull/128018, https://github.com/pytorch-labs/torchfix/pull/59 | -| alperenunlu | 17 | https://github.com/pytorch/tutorials/pull/2934, https://github.com/pytorch/tutorials/pull/2909, https://github.com/pytorch/pytorch/pull/104043 | -| anandptl84 | 10 | https://github.com/pytorch/pytorch/pull/128196, https://github.com/pytorch/pytorch/pull/128098 | -| GdoongMathew | 10 | https://github.com/pytorch/pytorch/pull/128136, https://github.com/pytorch/pytorch/pull/128051 | -| ZhaoqiongZ | 10 | https://github.com/pytorch/pytorch/pull/127872 | -| ZailiWang | 10 | https://github.com/pytorch/tutorials/pull/2931 | -| jingxu10 | 8 | https://github.com/pytorch/pytorch/pull/127280, https://github.com/pytorch/pytorch/pull/127279, https://github.com/pytorch/pytorch/pull/127278, https://github.com/pytorch/tutorials/pull/2919 | -| sitamgithub-MSIT | 7 | https://github.com/pytorch/tutorials/pull/2900, https://github.com/pytorch/xla/pull/7208 | -| spzala | 5 | https://github.com/pytorch/pytorch/pull/128679, https://github.com/pytorch/pytorch/pull/128657 | -| TharinduRusira | 5 | https://github.com/pytorch/pytorch/pull/128197 | -| zabboud | 5 | https://github.com/pytorch/pytorch/pull/128055 | -| orion160 | 5 | https://github.com/pytorch/tutorials/pull/2912 | -| Ricktho1 | 5 | https://github.com/pytorch/xla/pull/7273 | -| IvanLauLinTiong | 4 | https://github.com/pytorch/pytorch/pull/128526, https://github.com/pytorch/tutorials/pull/2849 | -| sshkhr | 2 | https://github.com/pytorch/pytorch/pull/128155 | -| rk7697 | 2 | https://github.com/pytorch/pytorch/pull/127993 | -| hippocookie | 2 | https://github.com/pytorch/tutorials/pull/2937 | -| diningeachox | 2 | https://github.com/pytorch/tutorials/pull/2935 | -| akhil-maker | 2 | https://github.com/pytorch/tutorials/pull/2899 | -| saurabhkthakur | 2 | https://github.com/pytorch/tutorials/pull/2896 | +| ahoblitz | 34 | https://github.com/pytorch/pytorch/pull/128566, https://github.com/pytorch/pytorch/pull/128408, https://github.com/pytorch/pytorch/pull/128171, https://github.com/pytorch/pytorch/pull/128083, https://github.com/pytorch/pytorch/pull/128082, https://github.com/pytorch/pytorch/pull/127983, https://github.com/pytorch/xla/pull/7214 | +| afrittoli | 25 | https://github.com/pytorch/pytorch/pull/128139, https://github.com/pytorch/pytorch/pull/128133, https://github.com/pytorch/pytorch/pull/128132, https://github.com/pytorch/pytorch/pull/128129, https://github.com/pytorch/pytorch/pull/128127 | +| kiszk | 20 | https://github.com/pytorch/pytorch/pull/128337, https://github.com/pytorch/pytorch/pull/128123, https://github.com/pytorch/pytorch/pull/128022, https://github.com/pytorch/pytorch/pull/128312 | +| loganthomas | 19 | https://github.com/pytorch/pytorch/pull/128676, https://github.com/pytorch/pytorch/pull/128192, https://github.com/pytorch/pytorch/pull/128189, https://github.com/pytorch/tutorials/pull/2922, https://github.com/pytorch/tutorials/pull/2910, https://github.com/pytorch/xla/pull/7195 | +| ignaciobartol | 17 | https://github.com/pytorch/pytorch/pull/128741, https://github.com/pytorch/pytorch/pull/128135, https://github.com/pytorch/pytorch/pull/127938, https://github.com/pytorch/tutorials/pull/2936 | +| arunppsg | 17 | https://github.com/pytorch/pytorch/pull/128391, https://github.com/pytorch/pytorch/pull/128021, https://github.com/pytorch/pytorch/pull/128018, https://github.com/pytorch-labs/torchfix/pull/59 | +| alperenunlu | 17 | https://github.com/pytorch/tutorials/pull/2934, https://github.com/pytorch/tutorials/pull/2909, https://github.com/pytorch/pytorch/pull/104043 | +| anandptl84 | 10 | https://github.com/pytorch/pytorch/pull/128196, https://github.com/pytorch/pytorch/pull/128098 | +| GdoongMathew | 10 | https://github.com/pytorch/pytorch/pull/128136, https://github.com/pytorch/pytorch/pull/128051 | +| ZhaoqiongZ | 10 | https://github.com/pytorch/pytorch/pull/127872 | +| ZailiWang | 10 | https://github.com/pytorch/tutorials/pull/2931 | +| jingxu10 | 8 | https://github.com/pytorch/pytorch/pull/127280, https://github.com/pytorch/pytorch/pull/127279, https://github.com/pytorch/pytorch/pull/127278, https://github.com/pytorch/tutorials/pull/2919 | +| sitamgithub-MSIT | 7 | https://github.com/pytorch/tutorials/pull/2900, https://github.com/pytorch/xla/pull/7208 | +| spzala | 5 | https://github.com/pytorch/pytorch/pull/128679, https://github.com/pytorch/pytorch/pull/128657 | +| TharinduRusira | 5 | https://github.com/pytorch/pytorch/pull/128197 | +| zabboud | 5 | https://github.com/pytorch/pytorch/pull/128055 | +| orion160 | 5 | https://github.com/pytorch/tutorials/pull/2912 | +| Ricktho1 | 5 | https://github.com/pytorch/xla/pull/7273 | +| IvanLauLinTiong | 4 | https://github.com/pytorch/pytorch/pull/128526, https://github.com/pytorch/tutorials/pull/2849 | +| sshkhr | 2 | https://github.com/pytorch/pytorch/pull/128155 | +| rk7697 | 2 | https://github.com/pytorch/pytorch/pull/127993 | +| hippocookie | 2 | https://github.com/pytorch/tutorials/pull/2937 | +| diningeachox | 2 | https://github.com/pytorch/tutorials/pull/2935 | +| akhil-maker | 2 | https://github.com/pytorch/tutorials/pull/2899 | +| saurabhkthakur | 2 | https://github.com/pytorch/tutorials/pull/2896 | # 🎉 Docathon H2 2023 Leaderboard 🎉 -This is the list of the docathon contributors that have participated and contributed to the H2 2023 PyTorch docathon. -A big shout out to everyone who have participated! We have awarded points for each merged PR. -For the **easy** label, we have awarded 2 points. For the **medium** label, we have awarded 5 points. -For the **advanced** label, we have awarded 10 points. In some cases, we have awarded half credit for the PRs that +This is the list of the docathon contributors that have participated and contributed to the H2 2023 PyTorch docathon. +A big shout out to everyone who have participated! We have awarded points for each merged PR. +For the **easy** label, we have awarded 2 points. For the **medium** label, we have awarded 5 points. +For the **advanced** label, we have awarded 10 points. In some cases, we have awarded half credit for the PRs that were not merged or issues that have been closed without a merged PR. Thank you all for your awesome contributions! 🎉 | Author | Points | PR | |--- | --- | ---| -| ahoblitz | 25 | https://github.com/pytorch/pytorch/pull/112992, https://github.com/pytorch/tutorials/pull/2662, https://github.com/pytorch/tutorials/pull/2647, https://github.com/pytorch/tutorials/pull/2642, https://github.com/pytorch/tutorials/pull/2640, https://github.com/pytorch/pytorch/pull/113092, https://github.com/pytorch/pytorch/pull/113348 | -| ChanBong | 22 | https://github.com/pytorch/pytorch/pull/113337, https://github.com/pytorch/pytorch/pull/113336, https://github.com/pytorch/pytorch/pull/113335, https://github.com/pytorch/tutorials/pull/2644, https://github.com/pytorch/tutorials/pull/2639 | -| alperenunlu | 22 | https://github.com/pytorch/pytorch/pull/113260, https://github.com/pytorch/tutorials/pull/2673, https://github.com/pytorch/tutorials/pull/2660, https://github.com/pytorch/tutorials/pull/2656, https://github.com/pytorch/tutorials/pull/2649, https://github.com/pytorch/pytorch/pull/113505, https://github.com/pytorch/pytorch/pull/113218, https://github.com/pytorch/pytorch/pull/113505 | -| spzala | 22 | https://github.com/pytorch/pytorch/pull/113200, https://github.com/pytorch/pytorch/pull/112693, https://github.com/pytorch/tutorials/pull/2667, https://github.com/pytorch/tutorials/pull/2635 | -| bjhargrave | 21 | https://github.com/pytorch/pytorch/pull/113358, https://github.com/pytorch/pytorch/pull/113206, https://github.com/pytorch/pytorch/pull/112786, https://github.com/pytorch/tutorials/pull/2661, https://github.com/pytorch/tutorials/pull/1272 | -| zabboud | 21 | https://github.com/pytorch/pytorch/pull/113233, https://github.com/pytorch/pytorch/pull/113227, https://github.com/pytorch/pytorch/pull/113177, https://github.com/pytorch/pytorch/pull/113219, https://github.com/pytorch/pytorch/pull/113311 | -| nvs-abhilash | 20 | https://github.com/pytorch/pytorch/pull/113241, https://github.com/pytorch/pytorch/pull/112765, https://github.com/pytorch/pytorch/pull/112695, https://github.com/pytorch/pytorch/pull/112657 | -| guptaaryan16 | 19 | https://github.com/pytorch/pytorch/pull/112817, https://github.com/pytorch/pytorch/pull/112735, https://github.com/pytorch/tutorials/pull/2674, https://github.com/pytorch/pytorch/pull/113196, https://github.com/pytorch/pytorch/pull/113532 | -| min-jean-cho | 17 | https://github.com/pytorch/pytorch/pull/113195, https://github.com/pytorch/pytorch/pull/113183, https://github.com/pytorch/pytorch/pull/113178, https://github.com/pytorch/pytorch/pull/113109, https://github.com/pytorch/pytorch/pull/112892 | -| markstur | 14 | https://github.com/pytorch/pytorch/pull/113250, https://github.com/pytorch/tutorials/pull/2643, https://github.com/pytorch/tutorials/pull/2638, https://github.com/pytorch/tutorials/pull/2636 | -| RustyGrackle | 13 | https://github.com/pytorch/pytorch/pull/113371, https://github.com/pytorch/pytorch/pull/113266, https://github.com/pytorch/pytorch/pull/113435 | -| Viditagarwal7479 | 12 | https://github.com/pytorch/pytorch/pull/112860, https://github.com/pytorch/tutorials/pull/2659, https://github.com/pytorch/tutorials/pull/2671 | -| kiszk | 10 | https://github.com/pytorch/pytorch/pull/113523, https://github.com/pytorch/pytorch/pull/112751 | -| awaelchli | 10 | https://github.com/pytorch/pytorch/pull/113216, https://github.com/pytorch/pytorch/pull/112674 | -| pilot-j | 10 | https://github.com/pytorch/pytorch/pull/112964, https://github.com/pytorch/pytorch/pull/112856 | -| krishnakalyan3 | 7 | https://github.com/pytorch/tutorials/pull/2653, https://github.com/pytorch/tutorials/pull/1235, https://github.com/pytorch/tutorials/pull/1705 | -| ash-01xor | 5 | https://github.com/pytorch/pytorch/pull/113511 | -| IvanLauLinTiong | 5 | https://github.com/pytorch/pytorch/pull/113052 | -| Senthi1Kumar | 5 | https://github.com/pytorch/pytorch/pull/113021 | -| ooooo-create | 5 | https://github.com/pytorch/pytorch/pull/112953 | -| stanleyedward | 5 | https://github.com/pytorch/pytorch/pull/112864, https://github.com/pytorch/pytorch/pull/112617 | -| leslie-fang-intel | 5 | https://github.com/pytorch/tutorials/pull/2668 | -| measty | 5 | https://github.com/pytorch/tutorials/pull/2675 | -| Hhhhhhao | 5 | https://github.com/pytorch/tutorials/pull/2676 | -| andrewashere | 3 | https://github.com/pytorch/pytorch/pull/112721 | -| aalhendi | 3 | https://github.com/pytorch/pytorch/pull/112947 | -| sitamgithub-MSIT | 3 | https://github.com/pytorch/pytorch/pull/113264 | -| Jarlaze | 3 | https://github.com/pytorch/pytorch/pull/113531 | -| jingxu10 | 2 | https://github.com/pytorch/tutorials/pull/2657 | -| cirquit | 2 | https://github.com/pytorch/tutorials/pull/2529 | -| prithviraj-maurya | 1 | https://github.com/pytorch/tutorials/pull/2652 | -| MirMustafaAli | 1 | https://github.com/pytorch/tutorials/pull/2645 | +| ahoblitz | 25 | https://github.com/pytorch/pytorch/pull/112992, https://github.com/pytorch/tutorials/pull/2662, https://github.com/pytorch/tutorials/pull/2647, https://github.com/pytorch/tutorials/pull/2642, https://github.com/pytorch/tutorials/pull/2640, https://github.com/pytorch/pytorch/pull/113092, https://github.com/pytorch/pytorch/pull/113348 | +| ChanBong | 22 | https://github.com/pytorch/pytorch/pull/113337, https://github.com/pytorch/pytorch/pull/113336, https://github.com/pytorch/pytorch/pull/113335, https://github.com/pytorch/tutorials/pull/2644, https://github.com/pytorch/tutorials/pull/2639 | +| alperenunlu | 22 | https://github.com/pytorch/pytorch/pull/113260, https://github.com/pytorch/tutorials/pull/2673, https://github.com/pytorch/tutorials/pull/2660, https://github.com/pytorch/tutorials/pull/2656, https://github.com/pytorch/tutorials/pull/2649, https://github.com/pytorch/pytorch/pull/113505, https://github.com/pytorch/pytorch/pull/113218, https://github.com/pytorch/pytorch/pull/113505 | +| spzala | 22 | https://github.com/pytorch/pytorch/pull/113200, https://github.com/pytorch/pytorch/pull/112693, https://github.com/pytorch/tutorials/pull/2667, https://github.com/pytorch/tutorials/pull/2635 | +| bjhargrave | 21 | https://github.com/pytorch/pytorch/pull/113358, https://github.com/pytorch/pytorch/pull/113206, https://github.com/pytorch/pytorch/pull/112786, https://github.com/pytorch/tutorials/pull/2661, https://github.com/pytorch/tutorials/pull/1272 | +| zabboud | 21 | https://github.com/pytorch/pytorch/pull/113233, https://github.com/pytorch/pytorch/pull/113227, https://github.com/pytorch/pytorch/pull/113177, https://github.com/pytorch/pytorch/pull/113219, https://github.com/pytorch/pytorch/pull/113311 | +| nvs-abhilash | 20 | https://github.com/pytorch/pytorch/pull/113241, https://github.com/pytorch/pytorch/pull/112765, https://github.com/pytorch/pytorch/pull/112695, https://github.com/pytorch/pytorch/pull/112657 | +| guptaaryan16 | 19 | https://github.com/pytorch/pytorch/pull/112817, https://github.com/pytorch/pytorch/pull/112735, https://github.com/pytorch/tutorials/pull/2674, https://github.com/pytorch/pytorch/pull/113196, https://github.com/pytorch/pytorch/pull/113532 | +| min-jean-cho | 17 | https://github.com/pytorch/pytorch/pull/113195, https://github.com/pytorch/pytorch/pull/113183, https://github.com/pytorch/pytorch/pull/113178, https://github.com/pytorch/pytorch/pull/113109, https://github.com/pytorch/pytorch/pull/112892 | +| markstur | 14 | https://github.com/pytorch/pytorch/pull/113250, https://github.com/pytorch/tutorials/pull/2643, https://github.com/pytorch/tutorials/pull/2638, https://github.com/pytorch/tutorials/pull/2636 | +| RustyGrackle | 13 | https://github.com/pytorch/pytorch/pull/113371, https://github.com/pytorch/pytorch/pull/113266, https://github.com/pytorch/pytorch/pull/113435 | +| Viditagarwal7479 | 12 | https://github.com/pytorch/pytorch/pull/112860, https://github.com/pytorch/tutorials/pull/2659, https://github.com/pytorch/tutorials/pull/2671 | +| kiszk | 10 | https://github.com/pytorch/pytorch/pull/113523, https://github.com/pytorch/pytorch/pull/112751 | +| awaelchli | 10 | https://github.com/pytorch/pytorch/pull/113216, https://github.com/pytorch/pytorch/pull/112674 | +| pilot-j | 10 | https://github.com/pytorch/pytorch/pull/112964, https://github.com/pytorch/pytorch/pull/112856 | +| krishnakalyan3 | 7 | https://github.com/pytorch/tutorials/pull/2653, https://github.com/pytorch/tutorials/pull/1235, https://github.com/pytorch/tutorials/pull/1705 | +| ash-01xor | 5 | https://github.com/pytorch/pytorch/pull/113511 | +| IvanLauLinTiong | 5 | https://github.com/pytorch/pytorch/pull/113052 | +| Senthi1Kumar | 5 | https://github.com/pytorch/pytorch/pull/113021 | +| ooooo-create | 5 | https://github.com/pytorch/pytorch/pull/112953 | +| stanleyedward | 5 | https://github.com/pytorch/pytorch/pull/112864, https://github.com/pytorch/pytorch/pull/112617 | +| leslie-fang-intel | 5 | https://github.com/pytorch/tutorials/pull/2668 | +| measty | 5 | https://github.com/pytorch/tutorials/pull/2675 | +| Hhhhhhao | 5 | https://github.com/pytorch/tutorials/pull/2676 | +| andrewashere | 3 | https://github.com/pytorch/pytorch/pull/112721 | +| aalhendi | 3 | https://github.com/pytorch/pytorch/pull/112947 | +| sitamgithub-MSIT | 3 | https://github.com/pytorch/pytorch/pull/113264 | +| Jarlaze | 3 | https://github.com/pytorch/pytorch/pull/113531 | +| jingxu10 | 2 | https://github.com/pytorch/tutorials/pull/2657 | +| cirquit | 2 | https://github.com/pytorch/tutorials/pull/2529 | +| prithviraj-maurya | 1 | https://github.com/pytorch/tutorials/pull/2652 | +| MirMustafaAli | 1 | https://github.com/pytorch/tutorials/pull/2645 | # 🎉 Docathon H1 2023 Leaderboard 🎉 -This is the list of the docathon contributors that have participated and contributed to the PyTorch docathon. -A big shout out to everyone who have participated! We have awarded points for each merged PR. -For the **easy** label, we have awarded 2 points. For the **medium** label, we have awarded 5 points. -For the **advanced** label, we have awarded 10 points. In some cases, we have awarded half credit for the PRs that +This is the list of the docathon contributors that have participated and contributed to the PyTorch docathon. +A big shout out to everyone who have participated! We have awarded points for each merged PR. +For the **easy** label, we have awarded 2 points. For the **medium** label, we have awarded 5 points. +For the **advanced** label, we have awarded 10 points. In some cases, we have awarded half credit for the PRs that were not merged or issues that have been closed without a merged PR. | Author | Points | PR | |--- | --- | ---| -| JoseLuisC99 | 22 | https://github.com/pytorch/tutorials/pull/2468, https://github.com/pytorch/tutorials/pull/2404, https://github.com/pytorch/tutorials/pull/2403, https://github.com/pytorch/tutorials/pull/2372, https://github.com/pytorch/examples/pull/1163, https://github.com/pytorch/tutorials/pull/2432 | -| QasimKhan5x | 21 | https://github.com/pytorch/tutorials/pull/2452, https://github.com/pytorch/tutorials/pull/2419, https://github.com/pytorch/tutorials/pull/2408, https://github.com/pytorch/tutorials/pull/2397, https://github.com/pytorch/tutorials/pull/2385, https://github.com/pytorch/tutorials/pull/2383 | -| bjhargrave | 12 | https://github.com/pytorch/tutorials/pull/2428, https://github.com/pytorch/tutorials/pull/2424, https://github.com/pytorch/tutorials/pull/2423 | -| Aidyn-A | 10 | https://github.com/pytorch/tutorials/pull/2441 | -| CaoE | 10 | https://github.com/pytorch/tutorials/pull/2439 | -| HemanthSai7 | 10 | https://github.com/pytorch/tutorials/pull/2392, https://github.com/pytorch/tutorials/pull/2375 | -| leslie-fang-intel | 10 | https://github.com/pytorch/tutorials/pull/2354 | -| Valentine233 | 10 | https://github.com/pytorch/tutorials/pull/2430 | -| TheMemoryDealer | 9 | https://github.com/pytorch/tutorials/pull/2389, https://github.com/pytorch/tutorials/pull/2369, https://github.com/pytorch/tutorials/pull/2367 | -| arunppsg | 8 | https://github.com/pytorch/tutorials/pull/2384, https://github.com/pytorch/tutorials/pull/821 | -| noqqaqq | 7 | https://github.com/pytorch/tutorials/pull/2407, https://github.com/pytorch/tutorials/pull/2386 | -| zabboud | 7 | https://github.com/pytorch/tutorials/pull/2405, https://github.com/pytorch/tutorials/pull/2400 | -| kiersten-stokes | 7 | https://github.com/pytorch/tutorials/pull/2401, https://github.com/pytorch/tutorials/pull/2398 | -| frasertajima | 6 | https://github.com/pytorch/tutorials/pull/2370, https://github.com/pytorch/tutorials/pull/2368, https://github.com/pytorch/tutorials/pull/2363 | -| nairbv | 5 | https://github.com/pytorch/tutorials/pull/2413 | -| mikebrow | 5 | https://github.com/pytorch/tutorials/pull/2374 | -| NeoKish | 4 | https://github.com/pytorch/tutorials/pull/2364, https://github.com/pytorch/tutorials/pull/2361 | -| fabiogomez11c | 3 | https://github.com/pytorch/tutorials/pull/2362, https://github.com/pytorch/tutorials/pull/1011 | -| onurtore | 2 | https://github.com/pytorch/tutorials/pull/2458 | -| NM512 | 2 | https://github.com/pytorch/tutorials/pull/2451 | -| j3soon | 2 | https://github.com/pytorch/tutorials/pull/2420 | -| Samsonboadi | 2 | https://github.com/pytorch/tutorials/pull/2406 | -| neuralninja27 | 2 | https://github.com/pytorch/tutorials/pull/2381 | -| akjalok | 2 | https://github.com/pytorch/tutorials/pull/2380 | -| tcNickolas | 2 | https://github.com/pytorch/tutorials/pull/2378 | -| Suhas-G | 2 | https://github.com/pytorch/tutorials/pull/2371 | -| BeniaminC | 2 | https://github.com/pytorch/tutorials/pull/2366 | -| ver2king | 2 | https://github.com/pytorch/tutorials/pull/2445, https://github.com/pytorch/tutorials/pull/2459 | -| mikgor | 1 | https://github.com/pytorch/tutorials/pull/2417 | -| spzala | 1 | https://github.com/pytorch/tutorials/pull/1579 | +| JoseLuisC99 | 22 | https://github.com/pytorch/tutorials/pull/2468, https://github.com/pytorch/tutorials/pull/2404, https://github.com/pytorch/tutorials/pull/2403, https://github.com/pytorch/tutorials/pull/2372, https://github.com/pytorch/examples/pull/1163, https://github.com/pytorch/tutorials/pull/2432 | +| QasimKhan5x | 21 | https://github.com/pytorch/tutorials/pull/2452, https://github.com/pytorch/tutorials/pull/2419, https://github.com/pytorch/tutorials/pull/2408, https://github.com/pytorch/tutorials/pull/2397, https://github.com/pytorch/tutorials/pull/2385, https://github.com/pytorch/tutorials/pull/2383 | +| bjhargrave | 12 | https://github.com/pytorch/tutorials/pull/2428, https://github.com/pytorch/tutorials/pull/2424, https://github.com/pytorch/tutorials/pull/2423 | +| Aidyn-A | 10 | https://github.com/pytorch/tutorials/pull/2441 | +| CaoE | 10 | https://github.com/pytorch/tutorials/pull/2439 | +| HemanthSai7 | 10 | https://github.com/pytorch/tutorials/pull/2392, https://github.com/pytorch/tutorials/pull/2375 | +| leslie-fang-intel | 10 | https://github.com/pytorch/tutorials/pull/2354 | +| Valentine233 | 10 | https://github.com/pytorch/tutorials/pull/2430 | +| TheMemoryDealer | 9 | https://github.com/pytorch/tutorials/pull/2389, https://github.com/pytorch/tutorials/pull/2369, https://github.com/pytorch/tutorials/pull/2367 | +| arunppsg | 8 | https://github.com/pytorch/tutorials/pull/2384, https://github.com/pytorch/tutorials/pull/821 | +| noqqaqq | 7 | https://github.com/pytorch/tutorials/pull/2407, https://github.com/pytorch/tutorials/pull/2386 | +| zabboud | 7 | https://github.com/pytorch/tutorials/pull/2405, https://github.com/pytorch/tutorials/pull/2400 | +| kiersten-stokes | 7 | https://github.com/pytorch/tutorials/pull/2401, https://github.com/pytorch/tutorials/pull/2398 | +| frasertajima | 6 | https://github.com/pytorch/tutorials/pull/2370, https://github.com/pytorch/tutorials/pull/2368, https://github.com/pytorch/tutorials/pull/2363 | +| nairbv | 5 | https://github.com/pytorch/tutorials/pull/2413 | +| mikebrow | 5 | https://github.com/pytorch/tutorials/pull/2374 | +| NeoKish | 4 | https://github.com/pytorch/tutorials/pull/2364, https://github.com/pytorch/tutorials/pull/2361 | +| fabiogomez11c | 3 | https://github.com/pytorch/tutorials/pull/2362, https://github.com/pytorch/tutorials/pull/1011 | +| onurtore | 2 | https://github.com/pytorch/tutorials/pull/2458 | +| NM512 | 2 | https://github.com/pytorch/tutorials/pull/2451 | +| j3soon | 2 | https://github.com/pytorch/tutorials/pull/2420 | +| Samsonboadi | 2 | https://github.com/pytorch/tutorials/pull/2406 | +| neuralninja27 | 2 | https://github.com/pytorch/tutorials/pull/2381 | +| akjalok | 2 | https://github.com/pytorch/tutorials/pull/2380 | +| tcNickolas | 2 | https://github.com/pytorch/tutorials/pull/2378 | +| Suhas-G | 2 | https://github.com/pytorch/tutorials/pull/2371 | +| BeniaminC | 2 | https://github.com/pytorch/tutorials/pull/2366 | +| ver2king | 2 | https://github.com/pytorch/tutorials/pull/2445, https://github.com/pytorch/tutorials/pull/2459 | +| mikgor | 1 | https://github.com/pytorch/tutorials/pull/2417 | +| spzala | 1 | https://github.com/pytorch/tutorials/pull/1579 | diff --git a/redirects.py b/redirects.py index 4b939962822..a5f650ec263 100644 --- a/redirects.py +++ b/redirects.py @@ -4,7 +4,7 @@ "beginner/deploy_seq2seq_hybrid_frontend_tutorial.html": "../index.html", "recipes/bundled_inputs.html": "../index.html", "advanced/super_resolution_with_onnxruntime.html": "../index.html", - "intermediate/torchserve_with_ipex.html": "../index.html", + "intermediate/torchserve_with_ipex.html": "../index.html", "intermediate/torchserve_with_ipex_2.html": "../index.html", "recipes/torchserve_vertexai_tutorial.html": "../index.html", "beginner/flava_finetuning_tutorial.html": "../index.html", diff --git a/tutorial_submission_policy.md b/tutorial_submission_policy.md index f83bf4d26dd..4717ec438d4 100644 --- a/tutorial_submission_policy.md +++ b/tutorial_submission_policy.md @@ -49,9 +49,9 @@ interested in contributing a tutorial, please follow these steps: description of the PR, explain why the changes are needed and how they improve the tutorial. - * These issues will be triaged by PyTorch maintainers on a case-by-case basis. + * These issues will be triaged by PyTorch maintainers on a case-by-case basis. * Link any supporting materials including discussions in other repositories. - + 1. **Await Approval:** * Wait for a response from the PyTorch Tutorials maintainers. A PyTorch tutorial maintainer will review your proposal and @@ -59,7 +59,7 @@ interested in contributing a tutorial, please follow these steps: A comment and an **approved** label will be added to your issue by a maintainer. The review process for new tutorial PRs submitted without the corresponding issue may take longer. - + 1. **Adhere to writing and styling guidelines:** * Once approved, follow the guidelines outlined in [CONTRIBUTING.md](https://github.com/pytorch/tutorials/blob/main/CONTRIBUTING.md) and use the provided [template](https://github.com/pytorch/tutorials/blob/main/beginner_source/template_tutorial.py) for creating your tutorial. @@ -70,7 +70,7 @@ interested in contributing a tutorial, please follow these steps: multiple GPU, parallel/distributed training, or requires extended execution time (25 minutes or more), we prefer submissions in Python file format. - + ## Maintaining Tutorials When you submit a new tutorial, we encourage you to keep it in sync @@ -78,7 +78,7 @@ with the latest PyTorch updates and features. Additionally, we may contact you to review any PRs, issues, and other related matters to ensure the tutorial remains a valuable resource. -Please note the following: +Please note the following: * If a tutorial breaks against the main branch, it will be excluded from the build and an issue will be filed against it,