Tiny Torch Mirror
A minimal PyTorch mirror for private remote servers with no network access.
Installation
pip install tiny-torch-mirror
Usage
Sync to Private Repository from PyTorch Index
-
Create a config file
tiny-torch-mirror config -
Edit the config file
Set themirror_rootto your private mirror root directory. -
Install this package on your private server.
# on your private server pip install tiny-torch-mirror
-
Run the sync command locally.
tiny-torch-mirror sync
Use the Private Mirror
Start the mirror server:
tiny-torch-mirror serve --path <path to your private mirror> --port 8081
Install packages from the mirror:
To install torch and torchvision with CUDA 11.8:
pip install torch torchvision --index-url http://localhost:8081/whl/cu118
Metadata
Release files for tiny-torch-mirror 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tiny_torch_mirror-0.1.3.tar.gz | 18.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tiny_torch_mirror-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.6 kB
Release files / tiny_torch_mirror-0.1.3.tar.gz
| Download URL | tiny_torch_mirror-0.1.3.tar.gz |
|---|---|
| Size | 18.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
935537529f21ab1e3326901cdad67a95c4839f4f0c17bd3fbdd4d4c2e6a6f4e2
|
|
BLAKE2b-256 checksum How to use checksums |
1c0cfbd0cc82d576f76083d4d28fed9da81476aaa754bf41b08489a4a8202564
|
| 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 Jul 4, 2025.
Transparency logRelease files / tiny_torch_mirror-0.1.3-py3-none-any.whl
| Download URL | tiny_torch_mirror-0.1.3-py3-none-any.whl |
|---|---|
| Size | 18.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c3bea3b9a5b1c462a44533860b2cc53d71af301facf3010f1282c18c079aad8
|
|
BLAKE2b-256 checksum How to use checksums |
b3862af98f3192643fc69e03a2545fa53b15c595f36d65d6f96e0b30910fa5cb
|
| 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 Jul 4, 2025.
Transparency log