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.13.tar.gz (20.1 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.13-py3-none-any.whl (20.2 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: slangtorch-1.3.13.tar.gz
  • Upload date:
  • Size: 20.1 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.13.tar.gz
Algorithm Hash digest
SHA256 0b273740bef77b4035600be9d15d308848e1674228369ad028273953d0ebd452
MD5 9e3eaab1e6e4e76f94a2d7d3f81acdfe
BLAKE2b-256 6b7f39b1e01b3a45a1db357cee1f1ee8cf840b919c00b9b06d5829657ea40852

See more details on using hashes here.

Provenance

The following attestation bundles were made for slangtorch-1.3.13.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.13-py3-none-any.whl.

File metadata

  • Download URL: slangtorch-1.3.13-py3-none-any.whl
  • Upload date:
  • Size: 20.2 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.13-py3-none-any.whl
Algorithm Hash digest
SHA256 5af68d22aabea40b37fc665b594f4008b59340926178b967d1474b4911f870a7
MD5 97f9392960ed1d945c27d6e2bcc16160
BLAKE2b-256 9edcf2bf54aca2621f2c41d8b1cced7062da46d97fcaa9f7cc028eb2d534260b

See more details on using hashes here.

Provenance

The following attestation bundles were made for slangtorch-1.3.13-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