• 大小: 2.23MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-01-08
  • 语言: 其他
  • 标签: PyTorch  

资源简介

近来由于网络的问题,从GitHub上下载的pytorch源码文件,可能缺少CMakeList.txt,导致源码安装不能成功。可在此处下载我于8月30日下载的可以成功编译的源码。

资源截图

代码片段和文件信息

from setuptools import setup Extension distutils Command find_packages
import setuptools.command.build_ext
import setuptools.command.install
import setuptools.command.develop
import setuptools.command.build_py
import distutils.unixccompiler
import distutils.command.build
import distutils.command.clean
import platform
import subprocess
import shutil
import sys
import os

from tools.setup_helpers.env import check_env_flag
from tools.setup_helpers.cuda import WITH_CUDA CUDA_HOME
from tools.setup_helpers.cudnn import WITH_CUDNN CUDNN_LIB_DIR CUDNN_INCLUDE_DIR
from tools.setup_helpers.split_types import split_types
DEBUG = check_env_flag(‘DEBUG‘)
WITH_DISTRIBUTED = not check_env_flag(‘NO_DISTRIBUTED‘)
WITH_DISTRIBUTED_MW = WITH_DISTRIBUTED and check_env_flag(‘WITH_DISTRIBUTED_MW‘)
WITH_N

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-08-29 15:48  pytorch-master\
     文件         860  2017-08-29 15:48  pytorch-master\.gitignore
     文件        1080  2017-08-29 15:48  pytorch-master\.travis.yml
     文件        6121  2017-08-29 15:48  pytorch-master\CONTRIBUTING.md
     文件        1378  2017-08-29 15:48  pytorch-master\Dockerfile
     文件        2211  2017-08-29 15:48  pytorch-master\LICENSE
     文件       11663  2017-08-29 15:48  pytorch-master\README.md
     目录           0  2017-08-29 15:48  pytorch-master\cmake\
     目录           0  2017-08-29 15:48  pytorch-master\cmake\FindCUDA\
     文件       80816  2017-08-29 15:48  pytorch-master\cmake\FindCUDA\FindCUDA.cmake
     目录           0  2017-08-29 15:48  pytorch-master\cmake\FindCUDA\FindCUDA\
     文件        3933  2017-08-29 15:48  pytorch-master\cmake\FindCUDA\FindCUDA\make2cmake.cmake
     文件        3441  2017-08-29 15:48  pytorch-master\cmake\FindCUDA\FindCUDA\parse_cubin.cmake
     文件       11326  2017-08-29 15:48  pytorch-master\cmake\FindCUDA\FindCUDA\run_nvcc.cmake
     文件        7800  2017-08-29 15:48  pytorch-master\cmake\FindCUDA\FindCUDA\select_compute_arch.cmake
     目录           0  2017-08-29 15:48  pytorch-master\docs\
     文件        1041  2017-08-29 15:48  pytorch-master\docs\Makefile
     文件         779  2017-08-29 15:48  pytorch-master\docs\make.bat
     文件         105  2017-08-29 15:48  pytorch-master\docs\requirements.txt
     目录           0  2017-08-29 15:48  pytorch-master\docs\source\
     目录           0  2017-08-29 15:48  pytorch-master\docs\source\_static\
     目录           0  2017-08-29 15:48  pytorch-master\docs\source\_static\css\
     文件        2303  2017-08-29 15:48  pytorch-master\docs\source\_static\css\pytorch_theme.css
     目录           0  2017-08-29 15:48  pytorch-master\docs\source\_static\img\
     文件      264025  2017-08-29 15:48  pytorch-master\docs\source\_static\img\dynamic_graph.gif
     文件       27763  2017-08-29 15:48  pytorch-master\docs\source\_static\img\pytorch-logo-dark.png
     文件        1745  2017-08-29 15:48  pytorch-master\docs\source\_static\img\pytorch-logo-dark.svg
     文件        1010  2017-08-29 15:48  pytorch-master\docs\source\_static\img\pytorch-logo-flame.png
     文件        1492  2017-08-29 15:48  pytorch-master\docs\source\_static\img\pytorch-logo-flame.svg
     文件       18944  2017-08-29 15:48  pytorch-master\docs\source\_static\img\tensor_illustration.png
     文件        1761  2017-08-29 15:48  pytorch-master\docs\source\autograd.rst
............此处省略1626个文件信息

评论

共有 条评论