Skip to main content

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.

Building Wheels Locally

To build the slangtorch package locally, run the build-package-local.sh script. This will pull the latest Slang binaries and create a wheel for both Linux and Windows.

Metadata

Release files for slangtorch 1.3.22

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for slangtorch 1.3.22
File Interpreter ABI Platform Actions
slangtorch-1.3.22-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for slangtorch-1.3.22-py3-none-win_amd64.whl
slangtorch-1.3.22-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for slangtorch-1.3.22-py3-none-manylinux_2_28_aarch64.whl
slangtorch-1.3.22-py3-none-manylinux_2_27_x86_64.whl Python 3 none Linux glibc 2.27+ x86-64 Details for slangtorch-1.3.22-py3-none-manylinux_2_27_x86_64.whl

Total release size: 42.5 MB

Release files / slangtorch-1.3.22-py3-none-win_amd64.whl

Download URL slangtorch-1.3.22-py3-none-win_amd64.whl
Size 12.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
377891b2ed697b3a2bc4af53c7f2ae5b580a80251f6f672b461481137f47dff5
BLAKE2b-256 checksum
How to use checksums
8ee19d0da9dfd5b221db931ef88f5b7d8436f9ceffbe91896f0eafd11460fd06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.

Transparency log

Release files / slangtorch-1.3.22-py3-none-manylinux_2_28_aarch64.whl

Download URL slangtorch-1.3.22-py3-none-manylinux_2_28_aarch64.whl
Size 14.7 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
f4cc30da8231cdb2dd960642f1e9df512c287873eb49120074af0e49f7fc3586
BLAKE2b-256 checksum
How to use checksums
15ab62f03a0d6fdf88d09d8f5095175cff74aea2acb0d784a44f3a51feff1547
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.

Transparency log

Release files / slangtorch-1.3.22-py3-none-manylinux_2_27_x86_64.whl

Download URL slangtorch-1.3.22-py3-none-manylinux_2_27_x86_64.whl
Size 15.2 MB
Tags Linux glibc 2.27+ x86-64 Python 3
SHA-256 checksum
How to use checksums
7755f2f53509ebbd65839dcd8a104e7105aeaf3e3600aea9385c2bec9beb2eaa
BLAKE2b-256 checksum
How to use checksums
59dbf58a546564b8992e8e4c66b3e1b99432a87acec4317b10b1b9c7927868b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.

Transparency log

Security for slangtorch 1.3.22

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 3 files in this release have been uploaded with provenance metadata.

Select from 3 files

Attestation for slangtorch-1.3.22-py3-none-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.3.22 This release

3 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page