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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

slangtorch-1.3.22-py3-none-win_amd64.whl (12.6 MB view details)

Uploaded Python 3Windows x86-64

slangtorch-1.3.22-py3-none-manylinux_2_28_aarch64.whl (14.7 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

slangtorch-1.3.22-py3-none-manylinux_2_27_x86_64.whl (15.2 MB view details)

Uploaded Python 3manylinux: glibc 2.27+ x86-64

File details

Details for the file slangtorch-1.3.22-py3-none-win_amd64.whl.

File metadata

  • Download URL: slangtorch-1.3.22-py3-none-win_amd64.whl
  • Upload date:
  • Size: 12.6 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for slangtorch-1.3.22-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 377891b2ed697b3a2bc4af53c7f2ae5b580a80251f6f672b461481137f47dff5
MD5 4e257ed1e24144fd8b8bc1f7dca0ba06
BLAKE2b-256 8ee19d0da9dfd5b221db931ef88f5b7d8436f9ceffbe91896f0eafd11460fd06

See more details on using hashes here.

Provenance

The following attestation bundles were made for slangtorch-1.3.22-py3-none-win_amd64.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.

File details

Details for the file slangtorch-1.3.22-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for slangtorch-1.3.22-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f4cc30da8231cdb2dd960642f1e9df512c287873eb49120074af0e49f7fc3586
MD5 1934c3a1738225f7a7a3791d058c4163
BLAKE2b-256 15ab62f03a0d6fdf88d09d8f5095175cff74aea2acb0d784a44f3a51feff1547

See more details on using hashes here.

Provenance

The following attestation bundles were made for slangtorch-1.3.22-py3-none-manylinux_2_28_aarch64.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.

File details

Details for the file slangtorch-1.3.22-py3-none-manylinux_2_27_x86_64.whl.

File metadata

File hashes

Hashes for slangtorch-1.3.22-py3-none-manylinux_2_27_x86_64.whl
Algorithm Hash digest
SHA256 7755f2f53509ebbd65839dcd8a104e7105aeaf3e3600aea9385c2bec9beb2eaa
MD5 6e6966ddf8628529214d6a5e87f6dbc3
BLAKE2b-256 59dbf58a546564b8992e8e4c66b3e1b99432a87acec4317b10b1b9c7927868b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for slangtorch-1.3.22-py3-none-manylinux_2_27_x86_64.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.

Release history Release notifications | RSS feed

This release

1.3.22 This release

3 files

1.3.21

2 files

1.3.20

2 files

1.3.19

2 files

1.3.18

2 files

1.3.17

2 files

1.3.16

2 files

1.3.15

2 files

1.3.14

2 files

1.3.13

2 files

1.3.12

2 files

1.3.11

2 files

1.3.10

2 files

1.3.9

2 files

1.3.8

2 files

1.3.7

2 files

1.3.4

2 files

1.3.3

2 files

1.3.2

2 files

1.3.1

2 files

1.3.0

2 files

1.2.8

2 files

1.2.7

2 files

1.2.6

2 files

1.2.5

2 files

1.2.4

2 files

1.2.3

2 files

1.2.2

2 files

1.2.1

2 files

1.2.0

2 files

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