专门针对nanopi开发版编译的pytorch安装包
在root权限下pip install pytorch_nanopi
若出现错误,使用源码包安装
源码地址 https://github.com/NocoldBob/pytorch/nano
git clone https://github.com/NocoldBob/pytorch/nano
编译需求cmake>=3.10
python setup.py build
安装后在/usr/……/torch/路径下,cp _C.…… ,_dl.…… ,修改文件名为_C.so _dl.so
并打开torch/__init__.py文件下第107行到111行代码的注释
有问题请发邮件,不定时查看,不定时解决问题
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pytorch_nanopi-0.6.9.tar.gz
(158.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytorch_nanopi-0.6.9.tar.gz.
File metadata
- Download URL: pytorch_nanopi-0.6.9.tar.gz
- Upload date:
- Size: 158.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.14.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.25.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6ac95e62b22c9ee6306a56280d3d49684a644bf2a661dd1a9ac621e3e720671
|
|
| MD5 |
5060475c860b48dbb7e53f14ed406876
|
|
| BLAKE2b-256 |
5d0ccee2e72468ddfff277e79540f12f6464b663e870bb36f224b4d3c75209ac
|
File details
Details for the file pytorch_nanopi-0.6.9-py3-none-any.whl.
File metadata
- Download URL: pytorch_nanopi-0.6.9-py3-none-any.whl
- Upload date:
- Size: 195.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.14.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.25.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e95d1aed1cd9b3c75c06c3b5518c1d7c1593ce4d4018746e34eaefb1d57b3bfe
|
|
| MD5 |
8f09b1febfb5fa3a9ac8d57a3b5d6c95
|
|
| BLAKE2b-256 |
cecbe4921892cb477795cb4bdd353fb5d5d0723400e478fddca187a96e8b5de8
|