Search Criteria
Package Details: python-pytorch-git 1.3.1.r22820.1350b99de4-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/python-pytorch-git.git (read-only, click to copy) |
---|---|
Package Base: | python-pytorch-git |
Description: | Tensors and Dynamic neural networks in Python with strong GPU acceleration |
Upstream URL: | https://pytorch.org |
Licenses: | BSD |
Submitter: | zsrkmyn |
Maintainer: | None |
Last Packager: | hottea |
Votes: | 2 |
Popularity: | 0.000000 |
First Submitted: | 2017-03-15 20:57 (UTC) |
Last Updated: | 2019-11-28 13:10 (UTC) |
Dependencies (24)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-ffplayoutAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-obsAUR, ffmpeg-libfdk_aacAUR)
- gflags (gflags-gitAUR)
- google-glog (glog-gitAUR)
- leveldb (leveldb-gitAUR)
- lmdb (lumosqlAUR, lmdb-gitAUR)
- opencv (opencv-cuda)
- openmp
- protobuf (protobuf-gitAUR)
- pybind11 (pybind11-gitAUR)
- python-futureAUR
- python-numpy (python-numpy-flameAUR, python-numpy-gitAUR, python-numpy-mkl-binAUR, python-numpy-mkl-tbbAUR, python-numpy-mklAUR, python-numpy1AUR)
- python-yaml (python-yaml-gitAUR)
- qt5-base (qt5-base-gitAUR, qt5-base-headlessAUR)
- zeromq (zeromq-gitAUR)
- cmake (cmake-gitAUR) (make)
- cuda (cuda11.1AUR, cuda-12.2AUR, cuda12.0AUR, cuda11.4AUR, cuda11.4-versionedAUR, cuda12.0-versionedAUR) (make)
- cudnn (make)
- doxygen (doxygen-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- magma (magma-cuda) (make)
- nccl (nccl-gitAUR) (make)
- python-numpy (python-numpy-flameAUR, python-numpy-gitAUR, python-numpy-mkl-binAUR, python-numpy-mkl-tbbAUR, python-numpy-mklAUR, python-numpy1AUR) (make)
- python-setuptools (make)
- python-yaml (python-yaml-gitAUR) (make)
Latest Comments
1 2 3 Next › Last »
GregTheMadMonk commented on 2023-04-03 13:38 (UTC)
I'm trying to build it with
makepkg
and sometimes I getThe file is present in the filesystem. Did anyone else have this problem? There's a single unresolved github issue mentioning it and that's all I could find online.
dreieck commented on 2023-03-18 09:21 (UTC)
python-sympy
seems to be needed to be added as dependency, since recently.See also:
python -c 'import torch'
otherwise most probably would fail with:Regards!
belgium commented on 2022-05-16 14:20 (UTC)
Since a few days the git clone fails:
fatal: bad object refs/remotes/origin/clee2000/ignore-shard-1
trougnouf commented on 2021-12-20 21:38 (UTC) (edited on 2021-12-20 21:42 (UTC) by trougnouf)
I can't install and I don't understand how to resolve the conflict.
edit: removing python-pytorch-cuda first with
sudo pacman -Rd --nodeps python-pytorch-cuda
did it.jiangjiechu commented on 2021-07-01 08:14 (UTC)
@iago-lito Actually I didn't build pytorch from this aur but from the vallina source from github. As for the TORCH_CUDA_ARCH_LIST,the cmakefile can automatically detec,so remove this line and let the program decide. There might be another reason for the slow compiling issue. In Aten submodule a CMakeFile creates tons of ".AVX.cpp..AVX.cpp" file recursively(almost 40,000+),which not only slows down the build, but also yeilds multi-declaration error at link time. You have to carefully remove all the duplicates of these files in Aten folder and caffe2 folder.
iago-lito commented on 2021-06-30 09:11 (UTC)
@jiangjiechu Thank you :) It does compile now with
CC=gcc-10 CXX=g++-10 yay -S --editmenu python-pytorch-git
. Obviously it takes a very long time.. too long yesterday before I actually had to go home. I read the following line from the PKGBUILD:.. so I guess I could speedup the speedup the process by only keeping the good item in the above list, but how do I know which one to keep?
jiangjiechu commented on 2021-06-29 08:55 (UTC)
@iago-lito, seems that gcc 11.1.0 changes the implementation of _mm_storeu_si(),to change to gcc-10, simply use
CC=gcc-10 CXX=g++-10 python setup.py install
can build.iago-lito commented on 2021-06-29 08:22 (UTC)
@jiangjiechu Well, my
gcc --version
yieldsgcc (GCC) 11.1.0
. But I do have gcc 10 installed andgcc-10 --version
yieldsgcc-10 (Arch Linux 10.2.0-3) 10.2.0
. Do you think the package is invoking the wrong compiler? If yes, is that a packaging bug? How can I work around it?jiangjiechu commented on 2021-06-25 16:20 (UTC)
The problem is incompatibility of compiler gcc with XNNPACK,use gcc-10 can solve
iago-lito commented on 2021-06-17 13:51 (UTC)
Build failed today after
yay -S --needed python-pytorch-cuda-git
with1 2 3 Next › Last »