superduper_torch
Superduper allows users to work with arbitrary torch models, with custom pre-, post-processing and input/ output data-types, as well as offering training with superduper
Installation
pip install superduper_torch
API
| Class | Description |
|---|---|
superduper_torch.model.TorchModel |
Torch model. This class is a wrapper around a PyTorch model. |
superduper_torch.training.TorchTrainer |
Configuration for the PyTorch trainer. |
Examples
TorchModel
import torch
from superduper_torch.model import TorchModel
model = TorchModel(
object=torch.nn.Linear(32, 1),
identifier="test",
preferred_devices=("cpu",),
postprocess=lambda x: int(torch.sigmoid(x).item() > 0.5),
)
model.predict(torch.randn(32))
Training Example
Read more about this here
Metadata
Release files for superduper-torch 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| superduper_torch-0.10.0.tar.gz | 18.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| superduper_torch-0.10.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.9 kB
Release files / superduper_torch-0.10.0.tar.gz
| Download URL | superduper_torch-0.10.0.tar.gz |
|---|---|
| Size | 18.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7adc6966dd23e00c077b2b9eda0add84d4ca3445a43d8112389e95366feeb5f
|
|
BLAKE2b-256 checksum How to use checksums |
4850b22cbffbb3a3923a24380e979eab43e2bea8cbb752330e00a1a26f9a85ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2025.
Transparency logRelease files / superduper_torch-0.10.0-py3-none-any.whl
| Download URL | superduper_torch-0.10.0-py3-none-any.whl |
|---|---|
| Size | 17.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
471e4f407e84c4eaa5d6788928cc77cd5b11874fa199f652ca6e74060635b9de
|
|
BLAKE2b-256 checksum How to use checksums |
20929f7745d05575c03503bd2aaba0f33996b580a8643de074ef0109c1f69a8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2025.
Transparency log