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.12.tar.gz (19.9 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.12-py3-none-any.whl (20.0 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for slangtorch-1.3.12.tar.gz
Algorithm Hash digest
SHA256 39b39e27bcd3cfde504b694a286dfdb6e6d05d41e78521fb7c84545be4178778
MD5 d6ab7e377267c491f55e33d3eccdee1f
BLAKE2b-256 6c0f5a1bbbbe193f0810a4924849967ddc754e8ce56fe753b722a9bdd8e01edd

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for slangtorch-1.3.12-py3-none-any.whl
Algorithm Hash digest
SHA256 eb2405f88bcefb0c408d61215789446062ba1496343bf7ac0a9cc22de6173872
MD5 e587bc7a75fc9d924d6c32afec013b6c
BLAKE2b-256 f4ec375117469c885e6ffdd2e38f888e0c30dcdeeeeae0ef2ab30f0056be69d1

See more details on using hashes here.

Provenance

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