Skip to content

Latest commit

 

History

History
64 lines (43 loc) · 2.93 KB

README.md

File metadata and controls

64 lines (43 loc) · 2.93 KB

Sonatype PyTorch PyPI Improved Mirror

shield_gh-workflow-test shield_license


This project provides a PyTorch Python index mirror that adds necessary strict PEP 503 format requirements permitting to use it with Nexus Repository.

Usage

Installation

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.

Access With pip

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

Development

See CONTRIBUTING.md for details.

The Fine Print

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!