tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

[docs] Mention inline CUDA extensions in tutorial

Open vadimkantorov opened this issue 7 years ago • 2 comments

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

vadimkantorov avatar Aug 06 '18 05:08 vadimkantorov

At least load_inline now appears in docs

vadimkantorov avatar Nov 04 '21 15:11 vadimkantorov

Although, caching of compiled binaries was recently still broken: https://github.com/pytorch/pytorch/issues/68066

vadimkantorov avatar Aug 17 '22 08:08 vadimkantorov