Skip to content

jorgicio/pytorch-overlay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of Contents generated with DocToc

PyTorch Gentoo Overlay

This Overlay is in testing phase in order to provide the PyTorch framework and Torchvision. The ebuilds presented here are based in the work done by Alexei Chernov in his repo.

Branch renaming (Information for collaborators, MUST READ)

The default branch is now main instead of master, so all the PRs and changes you send, do it to that branch. So you should the next steps if not done before:

git checkout master
git branch -m master main
git fetch
git branch --unset-upstream
git branch -u origin/master

And that's it.

Installation

Since this repo is unregistered, it may be installed manually using its URL.

Using eselect/repository (Recommended)

Be sure of having installed the eselect-repository package.

Then, add this repo:

eselect repository add pytorch git https://github.com/jorgicio/pytorch-overlay.git

Then, you may syncronize it using commands like emerge --sync or emaint sync -r pytorch.

Using Layman

If you use Layman with the USE=git enabled (it should be by default), you can use the provided repo.xml file to do so.

layman -o https://github.com/jorgicio/pytorch-overlay/raw/master/repo.xml -f -a pytorch

Then synchronize it with layman -s pytorch, or layman -S for all repos.

Manually

Add the following lines to a file inside the /etc/portage/repos.conf directory (you can name it as you wish):

[pytorch]
location = /var/db/repos/pytorch
sync-type = git
sync-uri = https://github.com/jorgicio/pytorch-overlay.git

Then, go to the parent directory mentioned in the file above. In this case, go to /var/db/repos and do this command with git:

git clone https://github.com/jorgicio/pytorch-overlay.git pytorch

The pytorch directory will be created. Remember that everything mentioned in this section it's only done once. The repo will be synched with the other ones you have them added.

Collaboration

This repo needs collaborators. Feel free to submit issues and/or pull requests.

Thanks in advance.

About

Gentoo Overlay which provides PyTorch and friends

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages