xpm-torch
PyTorch training framework built on experimaestro and Lightning Fabric.
Features
- Module system:
Modulebase class combining experimaestroConfigwithtorch.nn.Module, with safetensors serialization - Training:
Learnertask with checkpointing, validation listeners, and TensorBoard logging - HuggingFace Hub: Upload/download models via
ExperimaestroHFHub(from experimaestro) - Distributed training: Lightning Fabric integration for multi-GPU/node training
Installation
pip install xpm-torch
Quick Start
from xpm_torch.module import Module
from experimaestro import Param
import torch
import torch.nn as nn
class MyModel(Module):
input_dim: Param[int]
hidden_dim: Param[int]
def __initialize__(self):
self.fc1 = nn.Linear(self.input_dim, self.hidden_dim)
def forward(self, x):
return self.fc1(x)
# Create config, then instance
cfg = MyModel.C(input_dim=50, hidden_dim=100)
model = cfg.instance()
model.initialize()
# Save/load with safetensors
from pathlib import Path
model.save_model(Path("checkpoint/model"))
model.load_model(Path("checkpoint/model"))
License
GPL-3.0
Metadata
Release files for xpm-torch 0.2.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 | Provenance | |
|---|---|---|---|---|
| xpm_torch-0.2.0.tar.gz | 215.0 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xpm_torch-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 269.6 kB
Release files / xpm_torch-0.2.0.tar.gz
| Download URL | xpm_torch-0.2.0.tar.gz |
|---|---|
| Size | 215.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1090fbd6c5f36cfd1e9e97acb0323791060cfd63a5498ab0511f29c296934a05
|
|
BLAKE2b-256 checksum How to use checksums |
283232840d41ac77371673770cee729c3dfbf8266c090998653cd80449e84355
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 5, 2026.
Transparency logRelease files / xpm_torch-0.2.0-py3-none-any.whl
| Download URL | xpm_torch-0.2.0-py3-none-any.whl |
|---|---|
| Size | 54.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
74e6191d84dcb908c4d45be9f0bddd84658067e9a765716949f6d234acfcc2a6
|
|
BLAKE2b-256 checksum How to use checksums |
6b6b9e79b8d2bdd3a961029e5f9d4c26b1a7e32c7276e3a33abc544a3be61870
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 5, 2026.
Transparency logSecurity for xpm-torch 0.2.0
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for xpm_torch-0.2.0.tar.gz
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 Jun 5, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.