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.post24
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.post24-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.post24-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.post24-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.post24-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: 213.7 MB
Release files / spexmlp-2.0.0.post24-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | spexmlp-2.0.0.post24-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 53.4 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
79c57723b7d4247c604c11a874fd57ad279b84ae4ee7e9d0d0ee0d0d14873a37
|
|
BLAKE2b-256 checksum How to use checksums |
0ca38842a35b40015687e6a9095afc690479b7adaf3a0311d118ea798a5c4435
|
| 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.post24-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | spexmlp-2.0.0.post24-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 53.4 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
699a1b6b4a45c8881fac0ec1e5de9884baf6a2a647b9dd5db9caa2d5f8ea6de4
|
|
BLAKE2b-256 checksum How to use checksums |
c58d733d373cf1dc1a1d6e34d2f95cc6410acd4e83c545a28ac5e66722a50da0
|
| 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.post24-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | spexmlp-2.0.0.post24-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 53.4 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
c1aa7df5c251904e511c4a659f9787b786212a7e4367c5bb0a0c304550a950cc
|
|
BLAKE2b-256 checksum How to use checksums |
ac911e90ead9d5308689b446df77771d835a149cc49f0ff9aedabe67abe4bbc9
|
| 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.post24-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | spexmlp-2.0.0.post24-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 53.4 MB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
0e466348fce81f8e3dddc398cdd3af29e65b4f000a814db5d13eb01de0338e21
|
|
BLAKE2b-256 checksum How to use checksums |
418c445c1e03bd1bdd7f7bd3685b9e1ab72ab96c0746bfd389e531ffdc742abe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.13
|