Skip to main content

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)

Source distribution for superduper-torch 0.10.0
File Size Uploaded
superduper_torch-0.10.0.tar.gz 18.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for superduper-torch 0.10.0
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

0.10.0 This release

2 release files

0.9.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.0.5

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page