[docs] Mention inline CUDA extensions in tutorial
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 9.3k
- Forks
- 4.4k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 4
Description
It would be nice to mention load_inline (https://github.com/pytorch/pytorch/pull/7059) in the tutorial
https://pytorch.org/tutorials/advanced/cpp_extension.html
A practical use-case for an example may be a bilateral filter from https://github.com/NVIDIA/FastPhotoStyle/blob/master/smooth_filter.py (currentlly uses CuPY and pynvrtc).
cc @jlin27 @mruberry
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the C++ extension tutorial at https://pytorch.org/tutorials/advanced/cpp_extension.html and review the referenced load_inline pull request. Update the tutorial to mention inline CUDA extensions; if adding a practical example, use the bilateral-filter reference in smooth_filter.py and clarify the expected CuPy and pynvrtc comparison.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100