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.34.tar.gz (4.9 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.34-py3-none-any.whl (178.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vkdispatch_core-0.0.34.tar.gz
  • Upload date:
  • Size: 4.9 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.34.tar.gz
Algorithm Hash digest
SHA256 3a7f47f7f228c50c1b508246ecacf0c3bc9f537c96997ca09c8443662b00a344
MD5 8de4c9272dd1b85f0ac85f035f40b5e2
BLAKE2b-256 caefab4ae660fbb29e578d933834c1c71633768e83c5fc99281ae136c8725f77

See more details on using hashes here.

Provenance

The following attestation bundles were made for vkdispatch_core-0.0.34.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.34-py3-none-any.whl.

File metadata

File hashes

Hashes for vkdispatch_core-0.0.34-py3-none-any.whl
Algorithm Hash digest
SHA256 4f29f6394164e72b4a5fc56cc77a14c22c446899b5f14362c554ca4de3e517a3
MD5 a91979f1d5d06fa701c63f160fb5d30e
BLAKE2b-256 bc2f36aa26512c05cc6b0019b6de4b4ab83eca7d4a3504b86e7de1efdba5dd0d

See more details on using hashes here.

Provenance

The following attestation bundles were made for vkdispatch_core-0.0.34-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