当前位置:网站首页>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)
边栏推荐
- 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
- Semantic SLAM源码解析
- 关于ssh登录时卡顿30s左右的问题调试处理
- 关于自身的一些安排
- 华南X99平台打鸡血教程
- LeetCode_ 7_ five
- openEuler 资源利用率提升之道 01:概论
- Ways to improve the utilization of openeuler resources 01: Introduction
- Classification automatique des cellules de modules photovoltaïques par défaut dans les images de lecture électronique - notes de lecture de thèse
- Sword finger offer II 013 Sum of two-dimensional submatrix
猜你喜欢
Openeuler prize catching activities, to participate in?
RESTAPI 版本控制策略【eolink 翻译】
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
Introduction to bit operation
开源OA开发平台:合同管理使用手册
The state cyberspace Office released the measures for data exit security assessment: 100000 information provided overseas needs to be declared
转置卷积理论解释(输入输出大小分析)
Interpretation of transpose convolution theory (input-output size analysis)
【STL】vector
Detailed explanation of Flink parallelism and slot
随机推荐
时间工具类
Automatic classification of defective photovoltaic module cells in electroluminescence images-論文閱讀筆記
Nunjuks template engine
LeetCode力扣(剑指offer 36-39)36. 二叉搜索树与双向链表37. 序列化二叉树38. 字符串的排列39. 数组中出现次数超过一半的数字
力扣 2315.统计星号
[RT thread env tool installation]
华南X99平台打鸡血教程
怎么在手机上买股票开户 股票开户安全吗
R language ggplot2 visualization: use the ggecdf function of ggpubr package to visualize the grouping experience cumulative density distribution function curve, and the linetype parameter to specify t
Simulate the implementation of string class
ant desgin 多选
Cloud 组件发展升级
使用高斯Redis实现二级索引
How to buy stocks on your mobile phone and open an account? Is it safe to open an account
MSE API学习
Cloud component development and upgrading
A pot of stew, a collection of common commands of NPM and yarn cnpm
Introduction to bit operation
openEuler 资源利用率提升之道 01:概论
2022年投资哪个理财产品收益高?