当前位置:网站首页>Cuda版本不一致,编译apex报错
Cuda版本不一致,编译apex报错
2022-07-07 17:55:00 【番茄就要炒鸡蛋】
解决办法
注释掉setup.py代码中的第108行,cuda版本检验,这样编译就可以了
if "--cuda_ext" in sys.argv:
from torch.utils.cpp_extension import CUDAExtension
sys.argv.remove("--cuda_ext")
if torch.utils.cpp_extension.CUDA_HOME is None:
raise RuntimeError("--cuda_ext was requested, but nvcc was not found. Are you sure your environment has nvcc available? If you're installing within a container from https://hub.docker.com/r/pytorch/pytorch, only images whose names contain 'devel' will provide nvcc.")
else:
# 注释掉这句
# check_cuda_torch_binary_vs_bare_metal(torch.utils.cpp_extension.CUDA_HOME)边栏推荐
- Introduction to bit operation
- 转置卷积理论解释(输入输出大小分析)
- 【STL】vector
- Kubernetes——kubectl命令行工具用法详解
- 模拟实现string类
- ASP. Net kindergarten chain management system source code
- Equals method
- Semantic slam source code analysis
- PMP每日一练 | 考试不迷路-7.7
- Chapter 9 Yunji datacanvas was rated as 36 krypton "the hard core technology enterprise most concerned by investors"
猜你喜欢

谷歌seo外链Backlinks研究工具推荐

Simulate the implementation of string class

编译器优化那些事儿(4):归纳变量

模拟实现string类

项目经理『面试八问』,看了等于会了

关于cv2.dnn.readNetFromONNX(path)就报ERROR during processing node with 3 inputs and 1 outputs的解决过程【独家发布】

剑指 Offer II 013. 二维子矩阵的和

mock.js从对象数组中任选数据返回一个数组

Interpretation of transpose convolution theory (input-output size analysis)

九章云极DataCanvas公司摘获「第五届数字金融创新大赛」最高荣誉!
随机推荐
Nunjuks template engine
Leetcode force buckle (Sword finger offer 36-39) 36 Binary search tree and bidirectional linked list 37 Serialize binary tree 38 Arrangement of strings 39 Numbers that appear more than half of the tim
R language dplyr package select function, group_ The by function, filter function and do function obtain the third largest value of a specific numerical data column in a specified level in a specified
微信公众号OAuth2.0授权登录并显示用户信息
时间工具类
Le PGR est - il utile au travail? Comment choisir une plate - forme fiable pour économiser le cœur et la main - d'œuvre lors de la préparation de l'examen!!!
R language ggplot2 visualization: use the ggdensity function of ggpubr package to visualize the packet density graph, and use stat_ overlay_ normal_ The density function superimposes the positive dist
IP tools
毕业季|遗憾而又幸运的毕业季
A pot of stew, a collection of common commands of NPM and yarn cnpm
Some important knowledge of MySQL
Visual Studio 插件之CodeMaid自动整理代码
线性基
The strength index of specialized and new software development enterprises was released, and Kirin Xin'an was honored on the list
841. 字符串哈希
Boot 和 Cloud 的版本选型
【剑指offer】剑指 Offer II 012. 左右两边子数组的和相等
力扣 1961. 检查字符串是否为数组前缀
Cloud 组件发展升级
Is PMP beneficial to work? How to choose a reliable platform to make it easier to prepare for the exam!!!