semvec/pypi-packages huggingface dataset:
qct-cuda-ops 0.0.1
CUDA ops for 3D operations
License: Apache License 2.0
Keywords: CUDA OPS,NMS

# README #

This README would normally document whatever steps are necessary to get your application up and running.

### What is this repository for? ###

* Quick summary: 
* Version: 0.0.1
* [Learn Markdown](https://bitbucket.org/tutorials/markdowndemo)

### How do I get set up? ###

#### Tested on
  - Cudatoolkit 11.3
  - torch 1.11.0
  - python 3.8

#### Prerequisite 
- Install cudatoolkit 11.3 
- Follow [this](https://wiki.qure.ai/doc/how-to-install-cuda-locally-OOhkyeoA94) guide for installation

#### Create conda environment
```
conda create -n qct_cuda_ops python=3.8
conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch
```
- make sure your torch.version.cuda == cuda_home_version
```
python -m torch.utils.collect_env
```
#### Install
```
git clone git@bitbucket.org:aiinnovation/qct_cuda_ops.git
cd qct_cuda_ops
python setup.py develop 
```
#### Test the installation
```
python test/ops_test_NMS.py
```

#### create wheel
```
pip wheel . # python, torch, cuda version should be same while building are installation env
```

#### Install the wheel
```
pip install qct_cuda_ops-0.0.1-cp38-cp38-linux_x86_64.whl # change the path if stored in some other place
```

#### Common errors
- `dynamic module does not define module export function`: make sure that python versions are same.

### Contribution guidelines ###

* Writing tests
* Code review
* Other guidelines

### Who do I talk to? ###

* Repo owner or admin
* Other community or team contact