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.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.1.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.1.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.1.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.1.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.1.post24-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | spexmlp-2.0.1.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 |
1c02032c01bc0577258d093f3b7dda3cd9343ce31d211d8822479fa40c5b6b15
|
|
BLAKE2b-256 checksum How to use checksums |
d3ab56659ac4bc0f24af9dfa9dc09d5304530e85d69980e063164e16acf27bbb
|
| 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.post24-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | spexmlp-2.0.1.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 |
e3e6f0a000e714e6b0547d452387af1a73cb20f6fb222219e51d57d138dc1971
|
|
BLAKE2b-256 checksum How to use checksums |
c4dd37c48519e953ee3036c9524a1f3789f5adfcb8d1292597d77c6666a79bed
|
| 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.post24-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | spexmlp-2.0.1.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 |
453a2182340853c7a1c761bc2c8beca801d70add55be9004459521c8cf98e0cf
|
|
BLAKE2b-256 checksum How to use checksums |
e4a4f1584ed98f5430a4b419c20327a0a4bbd2d0ab10878872df5a0c6110a664
|
| 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.post24-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | spexmlp-2.0.1.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 |
392beebb4e9cbda637c79d1eeb073ef2d249c582893ce0d4a4d6480c8212a5dc
|
|
BLAKE2b-256 checksum How to use checksums |
305a46fb75f4fd59e4d01b914a70f8d3e421a7e395f67c551685c36344d4dc1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.13
|