Giter Site home page Giter Site logo

pydataphl's Introduction

PyData PHL Feb 2020: Introduction to using GPUs for Analytics

https://www.meetup.com/PyData-PHL/events/268253667/

In this talk, I highlighted the basic concepts of making Python code run faster, including the use of parallelization using GPUs. To help users replicate my environment, I created an environment.yml file to use with conda:

conda env create -f environment.yml
conda activate pydataphl

To run the GPU portion of this notebook, you need to use an NVIDIA GPU. I tried to make this work with Google Colab, but I couldn't get all of the packages to install properly. If someone figures this out, I'd happily accept a PR with the instructions.

pydataphl_20200218.ipynb

This is the notebook that was presented during the actual meetup. In trying to make the data sizes accessible to any NVIDIA GPU a user might have, the relative performance improvements were directionally correct but not as impressive as if I had used larger data.

So if you were present at the meetup and want to see the original notebook, this it is, but the larger notebook is more impressive in terms of performance.

pydataphl_20200219-larger.ipynb

This notebook shows the same relative comparisons, but with 256x more data (75MM vs. 295k). The performance improvements are much more in-line with what you would see in the real world when you keep the GPU saturated with data to process.

pydataphl's People

Contributors

randyzwitch avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

briancaffey

pydataphl's Issues

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.