Skip to main content

A package for help matrix multiplication

Project description

https://travis-ci.org/somedanalytics/big-multiplier.svg?branch=master

This repository created for matrix multiplication.

The purpose is to prevent being out of memory on GPU.

Doing matrix multiplication is a massive calculation for CPU. However generally GPU rams are not enough. Sometimes it is not possible to place the two of the matrix on the GPU ram.

In this implementation you will find a Theano symbolic multiplication. This function will divide your big matrixes to smaller blocks in order to make possible the calculation on GPU.

Just call the method

result_sparse_matrix = calculate(sparse_matrix_1, sparse_matrix_2)

Implementation is using scipy lil and csr sparse matrix.

Install

pip install bigmultiplier

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bigmultiplier-1.0.0.tar.gz (1.6 kB view hashes)

Uploaded Source

Built Distribution

bigmultiplier-1.0.0-py3-none-any.whl (3.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page