Giter VIP home page Giter VIP logo

sputnik's Introduction

Sputnik

Sputnik is a library of sparse linear algebra kernels and utilities for deep learning.

Build

Sputnik uses the CMake build system. Sputnik depends on the CUDA toolkit (v10.1+) and supports SM70+. The only additional dependency for the library is google/glog. To build the library, enter the project directory and run the following commands:

mkdir build && cd build

cmake .. -DCMAKE_BUILD_TYPE=Release

make -j12

The test and benchmark suites additionally depend on abseil/abseil-cpp, google/googltest, and google/benchmark. These dependencies are includes as submodules in third_party. To build the test suite and/or benchmark suite, set -DBUILD_TEST=ON and/or -DBUILD_BENCHMARK=ON in your cmake command.

cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_TEST=ON -DBUILD_BENCHMARK=ON -DCUDA_ARCHS="70;75"

Docker

Sputnik provides a Dockerfile that builds the proper environment with all dependencies. Note that nvidia-docker must be installed to run on GPU. To build the image, run the following command:

docker build . -t sputnik-dev

To launch the container with the sputnik source mounted under /mount (assuming you're working out of $HOME), run the following:

sudo docker run --runtime=nvidia -v ~/:/mount/ -it sputnik-dev:latest

Citation

If you make use of this library, please cite:

@inproceedings{sgk_sc2020,
  author    = {Trevor Gale and Matei Zaharia and Cliff Young and Erich Elsen},
  title     = {Sparse {GPU} Kernels for Deep Learning},
  booktitle = {Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis, {SC} 2020},
  year      = {2020},
}

The sparse models and dataset of sparse matrices from deep neural networks from the above paper can be found here.

Disclaimer

This is not an official Google product.

sputnik's People

Contributors

tgale96 avatar chr1sj0nes avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.