Fetch the repository succeeded.
This folder contains a number of scripts which are used as
part of the PyTorch build process. This directory also doubles
as a Python module hierarchy (thus the __init__.py
).
Modern infrastructure:
Build system pieces:
Developer tools which you might find useful:
.github/workflows/*.yml
into a specified dir, on which linters such as
linter/run_shellcheck.sh can be run. Assumes that every run
script has shell: bash
unless a different shell is explicitly listed on that
specific step (so defaults
doesn't currently work), but also has some rules
for other situations such as actions/github-script. Exits with nonzero
status if any of the extracted scripts contain GitHub Actions expressions:
${{<expression> }}
mypy
on a single file using the
appropriate subset of our mypy*.ini
configs.*.sh
files (recursively) in
the directories specified as arguments, and run ShellCheck on all of them.--regex
) from a --file
, convert to
the JSON format accepted by pytorch/add-annotations-github-action, and
translate line numbers from HEAD
back in time to the given --commit
by
running git diff-index --unified=0
appropriately..vscode/settings_recommended.json
into your workspace-local
.vscode/settings.json
, preferring the former in case of conflicts but
otherwise preserving the latter as much as possible.Important if you want to run on AMD GPU:
Tools which are only situationally useful:
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。