https://github.com/mjun0812/torch_cpp
https://github.com/mjun0812/torch_cpp
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mjun0812/torch_cpp
- Owner: mjun0812
- Created: 2024-01-18T12:37:47.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-25T08:02:50.000Z (9 months ago)
- Last Synced: 2025-04-25T08:39:20.866Z (9 months ago)
- Language: Cuda
- Size: 1.61 GB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PyTorch C++ Module
PyTorch C++ Module package.
## Install
### wheel install
Download whl file from [releases](https://github.com/mjun0812/torch_cpp/releases) and install it.
```bash
pip install torch_cpp_....whl
```
### source install
Before installing this repository, you need to install torch and CUDA
to build module.
```bash
pip install torch
# Source Install
git clone https://github.com/mjun0812/torch_cpp.git
cd torch_cpp
python setup.py build install --user
# pip install from github
pip install git+https://github.com/mjun0812/torch_cpp.git
```
## Provided Module
- [DCNv3](https://github.com/OpenGVLab/InternImage)
- [DCNv4](https://github.com/OpenGVLab/DCNv4)
- [DeformableAttention](https://github.com/fundamentalvision/Deformable-DETR)