Skip to content

sparklesea/dgSPARSE-Lib

 
 

Repository files navigation

dgSPARSE Library

License: MIT Latest Release

Introdution

The dgSPARSE Library (Deep Geometric Sparse Library) is a high performance library for sparse kernel acceleration on GPUs based on CUDA. Now we aims to provide PyTorch-Based Fast and Efficient Processing kernel for users to have better experience in running applications like GNN, Rec sys and 3D pointcloud detection.

Installation

First, setup the the following environment variables:

export CUDA_HOME=/usr/local/cuda # your cuda path
export LD_LIBRARY_PATH=$CUDA_HOME/lib64 # your cuda lib path

Then, install with pip.

pip install -e .

Our new package via conda install will be coming soon! Wait and see our v0.1.1 update then.

A demo for SpMM inference time compared to other main-stream library. (Tested on RTX 3090 with feature=64). image1

Run Examples

Previously we provide C++ examples for SpMM and SDDMM kernels. To run these examples, please build dgsparse through make exp. Then, you could run our kernels in the example folder. Check more details in README under example directory.

Documentation

Our new docs for python API will be coming soon! Now you can refer to dgSPARSE Library Documentation for more details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Cuda 67.0%
  • Python 15.5%
  • C++ 13.8%
  • Shell 1.5%
  • C 1.3%
  • Makefile 0.7%
  • Dockerfile 0.2%