A minimalistic PyTorch mirror for educational purposes.
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tiny_torch_mirror-0.1.3.tar.gz.
File metadata
- Download URL: tiny_torch_mirror-0.1.3.tar.gz
- Upload date:
- Size: 18.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
935537529f21ab1e3326901cdad67a95c4839f4f0c17bd3fbdd4d4c2e6a6f4e2
|
|
| MD5 |
27d865200311e3c70eadeed2fbb30c10
|
|
| BLAKE2b-256 |
1c0cfbd0cc82d576f76083d4d28fed9da81476aaa754bf41b08489a4a8202564
|
Provenance
The following attestation bundles were made for tiny_torch_mirror-0.1.3.tar.gz:
Publisher:
release.yml on luocfprime/tiny-torch-mirror
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tiny_torch_mirror-0.1.3.tar.gz -
Subject digest:
935537529f21ab1e3326901cdad67a95c4839f4f0c17bd3fbdd4d4c2e6a6f4e2 - Sigstore transparency entry: 262465177
- Sigstore integration time:
-
Permalink:
luocfprime/tiny-torch-mirror@ce100f2797f6cfa6bdf49d64bfb151474efcbffa -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/luocfprime
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ce100f2797f6cfa6bdf49d64bfb151474efcbffa -
Trigger Event:
release
-
Statement type:
File details
Details for the file tiny_torch_mirror-0.1.3-py3-none-any.whl.
File metadata
- Download URL: tiny_torch_mirror-0.1.3-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c3bea3b9a5b1c462a44533860b2cc53d71af301facf3010f1282c18c079aad8
|
|
| MD5 |
6278706b1466138eb97c6f9f50c70380
|
|
| BLAKE2b-256 |
b3862af98f3192643fc69e03a2545fa53b15c595f36d65d6f96e0b30910fa5cb
|
Provenance
The following attestation bundles were made for tiny_torch_mirror-0.1.3-py3-none-any.whl:
Publisher:
release.yml on luocfprime/tiny-torch-mirror
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tiny_torch_mirror-0.1.3-py3-none-any.whl -
Subject digest:
8c3bea3b9a5b1c462a44533860b2cc53d71af301facf3010f1282c18c079aad8 - Sigstore transparency entry: 262465181
- Sigstore integration time:
-
Permalink:
luocfprime/tiny-torch-mirror@ce100f2797f6cfa6bdf49d64bfb151474efcbffa -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/luocfprime
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ce100f2797f6cfa6bdf49d64bfb151474efcbffa -
Trigger Event:
release
-
Statement type: