当前位置:网站首页>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)边栏推荐
- How to buy bank financial products? Do you need a bank card?
- LC: string conversion integer (ATOI) + appearance sequence + longest common prefix
- RESTAPI 版本控制策略【eolink 翻译】
- 转置卷积理论解释(输入输出大小分析)
- Throughput
- CSDN语法说明
- Openeuler prize catching activities, to participate in?
- 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
- Dynamic addition of El upload upload component; El upload dynamically uploads files; El upload distinguishes which component uploads the file.
- [sword finger offer] sword finger offer II 012 The sum of left and right subarrays is equal
猜你喜欢

Welcome to the markdown editor

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

微信公众号OAuth2.0授权登录并显示用户信息

【RT-Thread env 工具安装】

【STL】vector

Kirin Xin'an with heterogeneous integration cloud financial information and innovation solutions appeared at the 15th Hunan Financial Technology Exchange Conference

ASP.NET幼儿园连锁管理系统源码

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

Chapter 9 Yunji datacanvas was rated as 36 krypton "the hard core technology enterprise most concerned by investors"

Openeuler prize catching activities, to participate in?
随机推荐
注解。。。
ASP. Net gymnasium integrated member management system source code, free sharing
vulnhub之tre1
How to cooperate among multiple threads
Ucloud is a basic cloud computing service provider
Introduction to bit operation
[sword finger offer] sword finger offer II 012 The sum of left and right subarrays is equal
MSE API学习
ASP.NET幼儿园连锁管理系统源码
A pot of stew, a collection of common commands of NPM and yarn cnpm
开源OA开发平台:合同管理使用手册
gorilla官方:golang开websocket client的示例代码
位运算介绍
Automatic classification of defective photovoltaic module cells in electroluminescence images-论文阅读笔记
Cloud component development and upgrading
LeetCode_7_5
Interpretation of transpose convolution theory (input-output size analysis)
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!!!
剑指 Offer II 013. 二维子矩阵的和
Notes...