USAGE
from torch import nn
from spexmlp.eswiglu import load_license,sFusedSwiglu
load_license(path="mylicense.dat",device="cuda:0")
model=sFusedSwiglu(1280,1280*3,1024)
x=torch.zeros((256,1280),dtype=torch.float16,device='cuda:0')
dy=torch.randn((256,1024),dtype=torch.float16,device='cuda:0')
y=model(x)
y.backward(dy)
print(x.grad)
Metadata
Release files for spexmlp 2.0.1.post23
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| spexmlp-2.0.1.post23-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.17+ x86-64 | Details |
| spexmlp-2.0.1.post23-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.17+ x86-64 | Details |
| spexmlp-2.0.1.post23-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.17+ x86-64 | Details |
| spexmlp-2.0.1.post23-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.8 | CPython 3.8 | Linux glibc 2.17+ x86-64 | Details |
Total release size: 212.3 MB
Release files / spexmlp-2.0.1.post23-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | spexmlp-2.0.1.post23-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 53.1 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
ba221e73e98ce0eb441c2fa70e99ef3af19f5d2d2aafb12b602c27b42876e402
|
|
BLAKE2b-256 checksum How to use checksums |
dded8cd0aa0e06c69c107eb505c0e76caa8193b6f1c706e88ef662c8c7f43d85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.13
|
Release files / spexmlp-2.0.1.post23-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | spexmlp-2.0.1.post23-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 53.1 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
a5709019e2c110033cc139f300ec7dc75b9b791939e65f33c89ab70012d74a2b
|
|
BLAKE2b-256 checksum How to use checksums |
a2bd3c00cb14b825ed3561320ced4e45e2a7db424abe66f4d9fe4e8ab07b2744
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.13
|
Release files / spexmlp-2.0.1.post23-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | spexmlp-2.0.1.post23-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 53.1 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
cf4511fb2d2bf77adef174b78f58bc8bbb3b01d7901786277459038aa771c486
|
|
BLAKE2b-256 checksum How to use checksums |
ac7adfb759890c3e7568c51bd71d8217f6d63d97f71f6995f43816cb134d7f8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.13
|
Release files / spexmlp-2.0.1.post23-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | spexmlp-2.0.1.post23-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 53.1 MB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
cb4c689029a10416d0c52d15b9f62dcf1de17a2dc79298fa949c3009688d330a
|
|
BLAKE2b-256 checksum How to use checksums |
74f49799379fed26910647a34dd01f43212a53f3016e4fdc8d1754459b2d24e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.13
|