[arch-commits] Commit in python-pytorch/trunk (PKGBUILD test.py)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sun Jan 31 04:41:23 UTC 2021
Date: Sunday, January 31, 2021 @ 04:41:22
Author: svenstaro
Revision: 837111
upgpkg: python-pytorch 1.7.1-4: cudnn 8.1 rebuild
Modified:
python-pytorch/trunk/PKGBUILD
python-pytorch/trunk/test.py
----------+
PKGBUILD | 2 +-
test.py | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-31 04:26:47 UTC (rev 837110)
+++ PKGBUILD 2021-01-31 04:41:22 UTC (rev 837111)
@@ -6,7 +6,7 @@
_pkgname="pytorch"
pkgver=1.7.1
_pkgver=1.7.1
-pkgrel=3
+pkgrel=4
pkgdesc="Tensors and Dynamic neural networks in Python with strong GPU acceleration"
arch=('x86_64')
url="https://pytorch.org"
Modified: test.py
===================================================================
--- test.py 2021-01-31 04:26:47 UTC (rev 837110)
+++ test.py 2021-01-31 04:41:22 UTC (rev 837111)
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
import torch
d = torch.device('cuda')
More information about the arch-commits
mailing list