Registry / ai-ml / uni-pytorch

uni-pytorch

JSON →
library3.18.2pypypiunverified

A library by Sony Semiconductor Solutions Corporation for converting PyTorch models to Uni models. Current version 3.18.2, supports Python 3.10-3.12. Released on a rolling cadence.

pip install uni-pytorch
INSTALL
IMPORT
SIG · UNI-PYTORCH
U
uni-pytorch
ai-mlpythonv3.18.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

UniModel
from uni import UniModel
from uni_pytorch import UniModel

Basic usage: instantiate UniModel and run inference.

import torch from uni_pytorch import UniModel model = UniModel() x = torch.randn(1, 3, 224, 224) output = model(x) print(output.shape)
Debug
Known issues
breakingUniModel API changed in 3.0.0; old 'from_onnx' methods removed.
fix
Use the new constructor and forward method per the updated docs.
affects: >=3.0.0
deprecatedPython 3.9 support dropped in 3.18.0.
fix
Upgrade to Python 3.10+.
affects: >=3.18.0
gotchaRequires PyTorch 2.0+; older versions may cause silent errors.
fix
Ensure torch >= 2.0 is installed.
affects: all
Upgrade
Version history
3.18.2latest on PyPI · released Apr 22, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
OpenAI (training)
1
Resources

No resource links recorded.

uni-pytorch — pip install uni-pytorch · libregistry