Skip to content

SysCV/vis4d_cuda_ops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vis4D Cuda Operations

Installation

You can directly install with pip and set TORCH_CUDA_ARCH_LIST to specify the cuda architecture if needed.

export TORCH_CUDA_ARCH_LIST="5.2 6.0 6.1 7.0 7.5 8.0 8.6+PTX"

pip install -v .

Usage

import torch
from vis4d_cuda_ops import ms_deform_attn_forward, ms_deform_attn_backward
...

Add a new Op:

  1. Add cuda and cpu ops.
  2. Delcare its Python interface in src/vision.cpp.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published