Skip to content

Code for the 2024 SPAA Paper "Distributed-Memory Randomized Algorithms for Sparse Tensor CP Decomposition"

Notifications You must be signed in to change notification settings

vbharadwaj-bk/rdist_tensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distributed Randomized Algorithms for Sparse Tensor CP Decomposition

This repository contains code for the paper Distributed-Memory Randomized Algorithms for Sparse CP Decomposition, to appear at SPAA 2024.

What can I do with it?

You can test two randomized algorithms, CP-ARLS-LEV and STS-CP, that can decompose billion-scale sparse tensors on a cluster of CPUs.

Building our code

Step 0: Clone the repository

Clone the repo and cd into it.

[zsh]> git clone https://github.com/vbharadwaj-bk/fast_tensor_leverage.git
[zsh]> cd fast_tensor_leverage

Step 1: Install Python packages

Install Python dependencies with the following command:

[zsh]> pip install -r requirements.txt

We rely on the Pybind11 and cppimport packages. We use the HDF5 format to store sparse tensors, so you need the h5py package if you want to perform sparse tensor decomposition.

Step 2: Configure the compile and runtime environments

Within the repository, run the following command:

[zsh]> python configure.py

About

Code for the 2024 SPAA Paper "Distributed-Memory Randomized Algorithms for Sparse Tensor CP Decomposition"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published