当前位置:网站首页>CUDA versions are inconsistent, and errors are reported when compiling apex
CUDA versions are inconsistent, and errors are reported when compiling apex
2022-07-07 20:05:00 【Scrambled eggs for tomatoes】
terms of settlement
Comment out setup.py In the code 108 That's ok ,cuda Version verification , Just compile in this way
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:
# Comment out this sentence
# check_cuda_torch_binary_vs_bare_metal(torch.utils.cpp_extension.CUDA_HOME)
边栏推荐
- LeetCode力扣(剑指offer 36-39)36. 二叉搜索树与双向链表37. 序列化二叉树38. 字符串的排列39. 数组中出现次数超过一半的数字
- 让这个 CRMEB 单商户微信商城系统火起来,太好用了!
- 关于cv2.dnn.readNetFromONNX(path)就报ERROR during processing node with 3 inputs and 1 outputs的解决过程【独家发布】
- Time tools
- Navicat连接2002 - Can‘t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock‘解决
- 【剑指offer】剑指 Offer II 012. 左右两边子数组的和相等
- 力扣 1961. 检查字符串是否为数组前缀
- 剑指 Offer II 013. 二维子矩阵的和
- 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
- R language ggplot2 visualization: use the ggstripchart function of ggpubr package to visualize the dot strip plot, set the position parameter, and configure the separation degree of different grouped
猜你喜欢
论文解读(ValidUtil)《Rethinking the Setting of Semi-supervised Learning on Graphs》
LeetCode_7_5
vulnhub之tre1
开源重器!九章云极DataCanvas公司YLearn因果学习开源项目即将发布!
转置卷积理论解释(输入输出大小分析)
项目经理『面试八问』,看了等于会了
小试牛刀之NunJucks模板引擎
Open source heavy ware! Chapter 9 the open source project of ylarn causal learning of Yunji datacanvas company will be released soon!
Ways to improve the utilization of openeuler resources 01: Introduction
mock.js从对象数组中任选数据返回一个数组
随机推荐
gorilla官方:golang开websocket client的示例代码
PMP practice once a day | don't get lost in the exam -7.7
2022如何评估与选择低代码开发平台?
Automatic classification of defective photovoltaic module cells in electroluminescence images-论文阅读笔记
UCloud是基础云计算服务提供商
LeetCode_ 7_ five
力扣 599. 两个列表的最小索引总和
8 CAS
Boot 和 Cloud 的版本选型
Time tools
Nunjuks template engine
一锅乱炖,npm、yarn cnpm常用命令合集
强化学习-学习笔记8 | Q-learning
How to cooperate among multiple threads
LC:字符串转换整数 (atoi) + 外观数列 + 最长公共前缀
让这个 CRMEB 单商户微信商城系统火起来,太好用了!
Openeuler prize catching activities, to participate in?
Kubernetes——kubectl命令行工具用法详解
R语言dplyr包mutate_at函数和min_rank函数计算dataframe中指定数据列的排序序号值、名次值、将最大值的rank值赋值为1
Some important knowledge of MySQL