Skip to main content

A package for calling Slang modules from Python and PyTorch.

Project description

Slang-Torch Package

This package allows you to use Slang as a language to write PyTorch kernels.

Slang user guide: https://shader-slang.com/slang/user-guide/

slangtorch documentation: https://shader-slang.org/slang/docs/user-guide/a1-02-slangpy

Installation Instructions

Note: Running slangtorch requires a CUDA-capable GPU.

  • Install the CUDA Toolkit v12.0 or later
  • Install PyTorch v2.x with CUDA support from https://pytorch.org/.
  • pip install slangtorch to install slangtorch.

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

slangtorch-1.3.15.tar.gz (11.3 MB view details)

Uploaded Source

Built Distribution

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

slangtorch-1.3.15-py3-none-any.whl (11.4 MB view details)

Uploaded Python 3

File details

Details for the file slangtorch-1.3.15.tar.gz.

File metadata

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

File hashes

Hashes for slangtorch-1.3.15.tar.gz
Algorithm Hash digest
SHA256 8c190c0342dd34567d1614d585e50f742e2b572d8153cf509fcf67074214b52e
MD5 44708c8e958267aa4341fd9a121e8945
BLAKE2b-256 30e9735fde127bb5ecb2c787f3ec1d011e4e1042b43b4162a16e4427925b14cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for slangtorch-1.3.15.tar.gz:

Publisher: publish.yml on shader-slang/slang-torch

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

File details

Details for the file slangtorch-1.3.15-py3-none-any.whl.

File metadata

  • Download URL: slangtorch-1.3.15-py3-none-any.whl
  • Upload date:
  • Size: 11.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for slangtorch-1.3.15-py3-none-any.whl
Algorithm Hash digest
SHA256 a6d612599393b49f956028ecec6d34f78793322bb024ec10d0e981b95c5be6b5
MD5 53f0e440123530c6d06afd18a1e7016c
BLAKE2b-256 4d0fa9e44d0a439fffc809a4a99af9c0b96b546ead1141200f3e0aa6d0887166

See more details on using hashes here.

Provenance

The following attestation bundles were made for slangtorch-1.3.15-py3-none-any.whl:

Publisher: publish.yml on shader-slang/slang-torch

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