This project provides a PyTorch Python index mirror that adds necessary strict PEP 503 format requirements permitting to use it with Nexus Repository.
As a Nexus Repository admin, configure a new PyPI proxy repository:
- define name:
pypi-pytorch
for example - define URL for remote storage:
https://sonatype-nexus-community.github.io/pytorch-pypi/whl/
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/
These PyPI proxies can also be added to your pypi-all
group repository if you created one.
Newly created PyPI proxies can now be used with pip
using provided --index-url
, like:
pip3 install pytorch+cu124 --index-url http://localhost:8081/repository/pypi-pytorch/simple
or
pip3 install pytorch --index-url http://localhost:8081/repository/pypi-pytorch-cu124/simple
See CONTRIBUTING.md for details.
Remember:
This project is part of the Sonatype Nexus Community organization, which is not officially supported by Sonatype. Please review the latest pull requests, issues, and commits to understand this project's readiness for contribution and use.
- File suggestions and requests on this repo through GitHub Issues, so that the community can pitch in
- Use or contribute to this project according to your organization's policies and your own risk tolerance
- Don't file Sonatype support tickets related to this project— it won't reach the right people that way
Last but not least of all - have fun!