当前位置:网站首页>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)边栏推荐
- 多个线程之间如何协同
- tp6 实现佣金排行榜
- Tp6 realize Commission ranking
- 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
- 线性基
- 841. 字符串哈希
- 841. String hash
- 2022如何评估与选择低代码开发平台?
- R语言dplyr包mutate_at函数和min_rank函数计算dataframe中指定数据列的排序序号值、名次值、将最大值的rank值赋值为1
- Mysql, sqlserver Oracle database connection mode
猜你喜欢

LeetCode_ 7_ five

The state cyberspace Office released the measures for data exit security assessment: 100000 information provided overseas needs to be declared

使用高斯Redis实现二级索引

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

Implement secondary index with Gaussian redis

Automatic classification of defective photovoltaic module cells in electroluminescence images-论文阅读笔记

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

Flink并行度和Slot详解

AD域组策略管理

九章云极DataCanvas公司获评36氪「最受投资人关注的硬核科技企业」
随机推荐
R语言ggplot2可视化:使用ggpubr包的ggecdf函数可视化分组经验累积密度分布函数曲线、linetype参数指定不同分组曲线的线型
华南X99平台打鸡血教程
ASP. Net kindergarten chain management system source code
openEuler 资源利用率提升之道 01:概论
让这个 CRMEB 单商户微信商城系统火起来,太好用了!
Boot 和 Cloud 的版本选型
vulnhub之Funfox2
The state cyberspace Office released the measures for data exit security assessment: 100000 information provided overseas needs to be declared
力扣 1232.缀点成线
The project manager's "eight interview questions" is equal to a meeting
pom.xml 配置文件标签:dependencies 和 dependencyManagement 区别
Semantic slam source code analysis
【STL】vector
Redis——基本使用(key、String、List、Set 、Zset 、Hash、Geo、Bitmap、Hyperloglog、事务 )
LeetCode力扣(剑指offer 36-39)36. 二叉搜索树与双向链表37. 序列化二叉树38. 字符串的排列39. 数组中出现次数超过一半的数字
【STL】vector
力扣 1037.有效的回旋镖
[sword finger offer] sword finger offer II 012 The sum of left and right subarrays is equal
力扣 2315.统计星号
Matplotlib drawing 3D graphics