当前位置:网站首页>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)边栏推荐
- Chapter 9 Yunji datacanvas was rated as 36 krypton "the hard core technology enterprise most concerned by investors"
- Flink并行度和Slot详解
- 9 原子操作类之18罗汉增强
- R language ggplot2 visualization: use the ggviolin function of ggpubr package to visualize the violin diagram, set the palette parameter to customize the filling color of violin diagrams at different
- Tp6 realize Commission ranking
- 841. String hash
- [sword finger offer] sword finger offer II 012 The sum of left and right subarrays is equal
- 【Confluence】JVM内存调整
- 力扣 1232.缀点成线
- Welcome to the markdown editor
猜你喜欢

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

Detailed explanation of Flink parallelism and slot

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

Redis——基本使用(key、String、List、Set 、Zset 、Hash、Geo、Bitmap、Hyperloglog、事务 )

【STL】vector

CSDN syntax description

Is PMP beneficial to work? How to choose a reliable platform to make it easier to prepare for the exam!!!

9 atomic operation class 18 Rohan enhancement

Matplotlib drawing 3D graphics

8 CAS
随机推荐
R语言dplyr包mutate_at函数和min_rank函数计算dataframe中指定数据列的排序序号值、名次值、将最大值的rank值赋值为1
Browse the purpose of point setting
CSDN语法说明
Chapter 9 Yunji datacanvas was rated as 36 krypton "the hard core technology enterprise most concerned by investors"
Specify the version of OpenCV non-standard installation
R language uses ggplot2 function to visualize the histogram distribution of counting target variables that need to build Poisson regression model, and analyzes the feasibility of building Poisson regr
Matplotlib drawing 3D graphics
R语言fpc包的dbscan函数对数据进行密度聚类分析、查看所有样本的聚类标签、table函数计算聚类簇标签与实际标签构成的二维列联表
干货分享|DevExpress v22.1原版帮助文档下载集合
R language dplyr package mutate_ At function and min_ The rank function calculates the sorting sequence number value and ranking value of the specified data column in the dataframe, and assigns the ra
Is PMP beneficial to work? How to choose a reliable platform to make it easier to prepare for the exam!!!
PMP practice once a day | don't get lost in the exam -7.7
时间工具类
剑指 Offer II 013. 二维子矩阵的和
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!!!
力扣 1232.缀点成线
torch.nn.functional.pad(input, pad, mode=‘constant‘, value=None)记录
Tp6 realize Commission ranking
J ü rgen schmidhub reviews the 25th anniversary of LSTM papers: long short term memory All computable metaverses. Hierarchical reinforcement learning (RL). Meta-RL. Abstractions in generative adversar
Make this crmeb single merchant wechat mall system popular, so easy to use!