pytorch / pytorch/tutorials

Generalize PyTorch Custom Operatiors documentation

Open
#3,485 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
9.3k
Forks
4.4k
Avg merge
1d 21h
Merged PRs (30d)
4

Description

📚 The doc issue

Based on the feedback received in a PR for sycl custom op documention, we were requested to open a documentation issue to track and generalize the pytorch custom op documention first.

https://docs.pytorch.org/tutorials/advanced/custom_ops_landing_page.html

Currently, the above doc is CUDA specific, we need to generalize it and add sub-page as needed for specific backend impl. Please share any comments or feedback.

Suggest a potential alternative/fix

No response

cc @svekars @sekyondaMeta @AlannaBurke

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked custom operations landing page and compare its CUDA-specific guidance with the issue's request for backend-neutral documentation. Identify which guidance should remain general and where backend-specific implementation details need separate sub-pages. Done means the documentation supports generalized PyTorch custom operations while preserving clear backend-specific guidance.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.