Table of Contents generated with DocToc
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.
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.
Since this repo is unregistered, it may be installed manually using its URL.
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
.
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.
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.
This repo needs collaborators. Feel free to submit issues and/or pull requests.
Thanks in advance.