Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/YuxueYang1204/CudaDemo

Implement custom operators in PyTorch with cuda/c++
https://github.com/YuxueYang1204/CudaDemo

Last synced: 2 months ago
JSON representation

Implement custom operators in PyTorch with cuda/c++

Awesome Lists containing this project

README

        

# CudaDemo

A simple demo to show how to implement custom operators in PyTorch with cuda/c++.

More details can be seen in [知乎: 用Cuda实现PyTorch算子](https://zhuanlan.zhihu.com/p/595851188).

## Usage
With PyTorch installation, simply run `pip install -e .`

## More

[CUSTOM C++ AND CUDA EXTENSIONS](https://pytorch.org/tutorials/advanced/cpp_extension.html)

[THE C++ FRONTEND](https://pytorch.org/cppdocs/frontend.html)

[LIBRARY API](https://pytorch.org/cppdocs/api/library_root.html)

[详解PyTorch编译并调用自定义CUDA算子的三种方式](https://zhuanlan.zhihu.com/p/358778742)