Skip to main content

A Python module for orchestrating and dispatching large computations across multi-GPU systems using Vulkan.

Project description

Getting Started

Welcome to vkdispatch! This guide will help you install the library and run your first GPU-accelerated code.

[WARNING: The documentation is still under heavy development, and has many missing sections]

Note: vkdispatch requires a Vulkan-compatible GPU and drivers installed on your system. Please ensure your system meets these requirements before proceeding.

Installation

The default installation method for vkdispatch is through PyPI (pip):

# Install the package
pip install vkdispatch

On mainstream platforms — Windows (x86_64), macOS (x86_64 and Apple Silicon/arm64), and Linux (x86_64) — pip will download a prebuilt wheel (built with cibuildwheel on GitHub Actions and tagged as manylinux where applicable), so no compiler is needed.

On less common platforms (e.g., non-Apple ARM or other niche architectures), pip may fall back to a source build, which takes a few minutes. See Building From Source for toolchain requirements and developer-oriented instructions.

Tip: If you see output like Building wheel for vkdispatch (pyproject.toml), you’re compiling from source.

Verifying Your Installation

To ensure vkdispatch is installed correctly and can detect your GPU, run:

# Quick device listing
vdlist

# If the above command is unavailable, try:
python3 -m vkdispatch

If the installation was successful, you should see output listing your GPU(s), for example:

Device 0: Apple M2 Pro
    Vulkan Version: 1.2.283
    Device Type: Integrated GPU

    Features:
        Float32 Atomic Add: True

    Properties:
        64-bit Float Support: False
        16-bit Float Support: True
        64-bit Int Support: True
        16-bit Int Support: True
        Max Push Constant Size: 4096 bytes
        Subgroup Size: 32
        Max Compute Shared Memory Size: 32768

    Queues:
        0 (count=1, flags=0x7): Graphics | Compute
        1 (count=1, flags=0x7): Graphics | Compute
        2 (count=1, flags=0x7): Graphics | Compute
        3 (count=1, flags=0x7): Graphics | Compute

Next Steps

Happy GPU programming!

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

vkdispatch_core-0.0.32.tar.gz (4.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vkdispatch_core-0.0.32-py3-none-any.whl (139.8 kB view details)

Uploaded Python 3

File details

Details for the file vkdispatch_core-0.0.32.tar.gz.

File metadata

  • Download URL: vkdispatch_core-0.0.32.tar.gz
  • Upload date:
  • Size: 4.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for vkdispatch_core-0.0.32.tar.gz
Algorithm Hash digest
SHA256 826df83dd672e6915e7e965462987c52b36239532e31e3315e1fe22b2efdc07d
MD5 f618588fa2980e55ff9ce8b00d51fda2
BLAKE2b-256 f4b7fc980efb0f4759c6369221c6a3540505389580bd1680ba50225c149ff7d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for vkdispatch_core-0.0.32.tar.gz:

Publisher: python-publish.yml on sharhar/vkdispatch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vkdispatch_core-0.0.32-py3-none-any.whl.

File metadata

File hashes

Hashes for vkdispatch_core-0.0.32-py3-none-any.whl
Algorithm Hash digest
SHA256 79e0616f7850c860dbd9982bea10cc2c1874e7c25f6f8d11299a129de8250a00
MD5 3b811896ec04ea7fbea3f09dbf772f72
BLAKE2b-256 f3a60ab151de93051e9aa7ea9e849033845ef436bc84a885bd32939a10987289

See more details on using hashes here.

Provenance

The following attestation bundles were made for vkdispatch_core-0.0.32-py3-none-any.whl:

Publisher: python-publish.yml on sharhar/vkdispatch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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