mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Page:
Debugging CI Failures without SSH Access
Pages
A quick guide on how to add and cache dependencies on PyTorch CI
Adding and maintaining type annotations in PyTorch
Autograd Basics
Autograd Onboarding Lab
Best Practices to Edit and Compile PyTorch Source Code On Windows
Bot commands
Boxing and Unboxing in the PyTorch Operator Library
Build PyTorch and LibTorch on Windows ARM64
CUDA basics
Code review values
Codegen and Structured Kernels
Continuous Integration
Core Frontend Onboarding
Cpp API Quick Walkthrough
Data Basics
DataPipes Testing Requirements
Debugging CI Failures without SSH Access
Debugging Windows with Remote Desktop or CDB (CLI windbg) on CircleCI
Debugging using with ssh for Github Actions
Dev Infra Office Hours
Developer FAQ
Dispatcher Structured Kernels Lab
Docker image build on CircleCI
Docstring Guidelines
Getting help as a contributor
Guide for adding type annotations to PyTorch
Home
How to propose feature changes to PyTorch
How to support `torch.set_deterministic()` in PyTorch operators
How to use TensorIterator
Life of a Tensor
MPS Backend
Memory format propagation rules
Modular components for benchmarking PyTorch snippets. (Experimental)
Module Onboarding Lab
Multiprocessing Technical Notes
OpInfos FAQ
Operators with Channels Last support
Public API definition and documentation
Pull request review etiquette
PyTorch's Python Frontend Backward and Forward Compatibility Policy
PyTorch AutoLabel Bot
PyTorch Basics
PyTorch CI Metrics Dashboards: the HUD
PyTorch Data Flow and Interface Diagram
PyTorch IR
PyTorch ONNX Exporter Code Reviews and Duty Rotation
PyTorch ONNX Topics
PyTorch ONNX exporter
PyTorch OSS benchmark infra
PyTorch Ops to oneDNN Functions Mapping
PyTorch Versions
PyTorch Workflow Cheatsheet
PyTorch dispatcher walkthrough
Pytorch Training Loops
Running and writing tests
Sharing design documents for discussion
Software Architecture for c10
TH to ATen porting guide
Tensor and Operator Basics
The PyTorch Contribution Process
The Ultimate Guide to PyTorch Contributions
The torch.fft module in PyTorch 1.7
Troubleshooting Documentation Build
Troubleshooting
Using hud.pytorch.org
What is considered a SEV?
Where or how should I add documentation
Writing Python in cpp (a manifesto)
Writing memory format aware operators
Writing tests in PyTorch 1.8
clang format
function transforms (aka torch.func, functorch)
lintrunner
nn Basics
torch.nn Module Documentation Style Guide
torch.onnx Namespacing
vmap Basics
vmap Onboarding Lab
Clone
Table of Contents
This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Debugging without SSH Access
Linux CPU job
- Download docker on an x86 machine.
- In the CI job, find the step titled “Use following to pull public copy of the image”. It will have a command to pull the docker image. Pull and run the docker image (ex
docker run –rm -it ghcr.io/pytorch/ci-image:pytorch-linux-focal-cuda12.1-cudnn9-py3-gcc9-93520d5082026249ce8ae0413d61e4891366a9df
). The ghcr containers should be public, but firewalls and VPNs might result in permissions issues. - Find the wheel for your job: go to the HUD page build your commit. Search for “Expand to see all artifacts” and search for the build that corresponds to the test. This should also be publicly available.
- Inside your docker container in jenkins folder (this should be home folder), download the build artifact link and unzip. Install the wheel inside the dist folder using pip.
- Clone pytorch and check out the corresponding sha (can be found in the bottom of the “Checkout PyTorch” step in the CI job).
Notes:
Tests are usually run through pytest <test file>.py -k <test name>
or python <test file>.py -k <test name>
Additional resources
I would love to contribute to PyTorch!