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-0.1.tar.gz (1.2 kB view details)

Uploaded Source

Built Distributions

bigmultiplier-0.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

bigmultiplier-0.1-py2.py3-none-any.whl (3.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file bigmultiplier-0.1.tar.gz.

File metadata

  • Download URL: bigmultiplier-0.1.tar.gz
  • Upload date:
  • Size: 1.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for bigmultiplier-0.1.tar.gz
Algorithm Hash digest
SHA256 19edf1da47d23ccf55085d398121ef3fc4b825875cb1064c22a719c59e9670b5
MD5 d3fa3eccb4911ac0f3590558bd9e57b4
BLAKE2b-256 4f2933393dd8abdcb86386b5e1a11ed5005adc6a5685e7967970e4a13276ef6a

See more details on using hashes here.

File details

Details for the file bigmultiplier-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for bigmultiplier-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6c0ebcc870bda92c207446094fd1fe59d397dea5d8cd0c5ee28c66ed339c4ad5
MD5 2ed9b8687201aac03ccf5096caa2953c
BLAKE2b-256 378728295229380da00f0217f57f0bd493a6ca749f53d03c692d2b8372898511

See more details on using hashes here.

File details

Details for the file bigmultiplier-0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for bigmultiplier-0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 17e6a9bad484949a26e74f81fdda6613a964ade0aec89e9a654ceebd6b491788
MD5 4034dfdd607885e964c02d1c16a6c776
BLAKE2b-256 9403877c76e6e6c01c2d532a409cc3b30e8e4127ec47a113b4acb6b38a9917a8

See more details on using hashes here.

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