Skip to main content

CULiNGAM - CUDA Accelerated LiNGAM Analysis

Introduction

CULiNGAM is a high-performance library that accelerates Linear Non-Gaussian Acyclic Model (LiNGAM) analysis on GPUs. It leverages the computing power of NVIDIA GPUs to provide fast and efficient computations for LiNGAM applications, making it ideal for large-scale data analysis in fields such as bioinformatics, economics, and machine learning.

Installation

To install CULiNGAM, you need a system with NVIDIA CUDA installed and a compatible GPU. This library is tested with CUDA 12.2 and designed for GPUs with the architecture sm_86, although it may work with other versions and architectures with appropriate adjustments.

Prerequisites

  • NVIDIA GPU with CUDA Compute Capability 8.6 or higher
  • CUDA Toolkit 12.2 or compatible version
  • Python 3.6 or newer
  • Numpy
  • A C++17 compatible compiler

Installing from PyPI

CULiNGAM is available on PyPI and can be easily installed with pip:

pip install culingam

Installing CULiNGAM manually

  1. Clone the repository to your local machine:
git clone https://github.com/Viktour19/culingam
  1. Ensure that CUDA_HOME environment variable is set to your CUDA Toolkit installation path. If not, you can set it as follows (example for default CUDA installation path):
export CUDA_HOME=/usr/local/cuda-12.2
  1. Optionally, set the GPU_ARCH environment variable to match your GPU architecture if it differs from the default sm_86:
export GPU_ARCH=sm_xx  # Replace xx with your GPU's compute capability
  1. Install the library using pip:
pip install .

Usage

After installation, you can use CULiNGAM in your Python projects to accelerate LiNGAM analysis. Here's a simple example to get started:

https://github.com/Viktour19/culingam/blob/main/examples/basic.py

Support

For bugs, issues, and feature requests, please submit a report to the repository's issue tracker. Contributions are also welcome.

Author

Victor Akinwande

License and Acknowledgment

This project is licensed under the MIT License - see the LICENSE file for details. A good amount of the code is adapted from sequential implementations of the LiNGAM algorithms present in CULiNGAM: https://github.com/cdt15/lingam.

Metadata

Release files for culingam 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for culingam 0.0.8
File Size Uploaded Provenance Actions
culingam-0.0.8.tar.gz 27.3 kB Without provenance Details for culingam-0.0.8.tar.gz

Release files / culingam-0.0.8.tar.gz

Download URL culingam-0.0.8.tar.gz
Size 27.3 kB
Tags Source
SHA-256 checksum
How to use checksums
331db3a28cb667bab468d7585233c2646668989a64ccc73da1a410227dfb72d2
BLAKE2b-256 checksum
How to use checksums
8b80fe3b2b9df4309fe4fe537989abddd5d18fa615d9a0ce982603aba9b824dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.18

Security for culingam 0.0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page