Gpustats
Library for GPU-related statistical functions
Install / Use
/learn @dukestats/GpustatsREADME
======== GPUStats
gpustats is a PyCUDA-based library implementing functionality similar to that present in scipy.stats. It implements a simple framework for specifying new CUDA kernels and extending existing ones. Here is a (partial) list of target functionality:
-
Probability density functions (pdfs). These are intended to speed up likelihood calculations in particular in Bayesian inference applications, such as in PyMC
-
Random variable generation using CURAND
Requirements
- NumPy
- SciPy
- Working PyCUDA (http://pypi.python.org/pypi/pycuda) installation
- (optional) PyMC, for test suite
Installation and testing
To install, run:
::
python setup.py install
If you have nose installed, you may run the test suite by running:
::
import gpustats
gpustats.test()
Use
::
import gpustats
Some development guidelines
- Use spaces (4 per indent), not tabs
- Trim whitespace at the end of lines (most text editors will do this for you)
- PEP8-consistent Python style
People
Cliburn Chan cliburn.chan (at) duke.edu Andrew Cron ajc40 (at) stat.duke.edu Jacob Frelinger jacob.frelinger (at) duke.edu Wes McKinney wesmckinn (at) gmail.com Adam Richards adam.richards (at) duke.edu Marc Suchard msuchard (at) ucla.edu Quanli Wang quanli (at) stat.duke.edu Mike West mw (at) stat.duke.edu
Notes
Requires working PyCUDA installation
Related Skills
node-connect
349.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.7kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
