You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23-6
Original file line number
Diff line number
Diff line change
@@ -7,21 +7,38 @@
7
7
8
8
---
9
9
10
-
Introduce your project here. A short summary about what its purpose and scope is.
10
+
This project provides a PyTorch Python index mirror that adds necessary strict PEP 503 format requirements permitting to use it with [Nexus Repository](https://help.sonatype.com/en/pypi-repositories.html#download--search--and-install-packages-using-pip).
Use this section (and any additional sub-sections) to explain how to use this project.
21
+
### Installation
20
22
21
-
Include:
22
-
- Installation
23
-
- Configuration
24
-
- Execution
23
+
As a [Nexus Repository](https://help.sonatype.com/en/sonatype-nexus-repository.html) admin, configure a [new PyPI proxy](https://help.sonatype.com/en/pypi-repositories.html#proxying-pypi-repositories) repository:
24
+
- define name: `pypi-pytorch` for example
25
+
- define URL for remote storage: `https://sonatype-nexus-community.github.io/pytorch-pypi/whl/`
26
+
27
+
You can also create compute platform specific proxies if necessary, like `pypi-pytorch-cu124` pointing to `https://sonatype-nexus-community.github.io/pytorch-pypi/whl/cu124/`
28
+
29
+
These PyPI proxies can also be added to your `pypi-all` group repository if you created one.
30
+
31
+
### Access With `pip`
32
+
33
+
Newly created PyPI proxies can now be used with `pip` using provided `--index-url`, like:
0 commit comments