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.0.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.0.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.0.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.0.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.0.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.0.post23-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | spexmlp-2.0.0.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 |
b4728a546aaf653d30e6497e70f1ace80b3fff98674af743140c0605e1b0fdf0
|
|
BLAKE2b-256 checksum How to use checksums |
e8ce025e99417befb32fd37220912420a0af017c163e9c828f2a3a0847235d64
|
| 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.0.post23-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | spexmlp-2.0.0.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 |
18cb79b8c71004d12c33bb21216d90d4aef87a5275626ec0e4d2e0005567616d
|
|
BLAKE2b-256 checksum How to use checksums |
200ff3f92d5e2970debfaeaccfcd91daed02797b91bcb59cec3ba8e79acc6779
|
| 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.0.post23-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | spexmlp-2.0.0.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 |
bc301416a94ab9567ead7768b9cfde3ef57394747074da26766bab45b1f9a1e9
|
|
BLAKE2b-256 checksum How to use checksums |
36c2d038790be0652c63999a80426d5079eafa4c810eecea4d326cb51d81a3b9
|
| 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.0.post23-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | spexmlp-2.0.0.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 |
59e41e392f83f11c0eeed337c84b49b100b95535580afd6151f137c36b7c278b
|
|
BLAKE2b-256 checksum How to use checksums |
e0c772d8611c151c19d0cc67b173a7abf3c47a5b7baf7f54747ce0e5f8ef57e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.13
|